[ { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1970273107290268 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10492532700300217 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": 0.19298601150512695 }, "else": { "operation": "boost", "score": 0.19516006112098694 } }, "else": { "operation": "boost", "score": 0.19164785742759705 } } } }, "else": { "operation": "boost", "score": 0.006307594478130341 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19869807362556458 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14942441880702972 }, "else": { "operation": "boost", "score": 0.1965150088071823 } }, "else": { "operation": "boost", "score": 0.15890617668628693 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.18952670693397522 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1604052633047104 }, "else": { "operation": "boost", "score": 0.17782676219940186 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.18670964241027832 }, "else": { "operation": "boost", "score": 0.14165668189525604 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17932546138763428 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09486537426710129 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.16269299387931824 }, "else": { "operation": "boost", "score": 0.06480171531438828 } } }, "else": { "operation": "boost", "score": -8.339667692780495e-05 } }, "else": { "operation": "boost", "score": -0.13945826888084412 } }, "else": { "operation": "boost", "score": 0.13875418901443481 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.17618303000926971 }, "else": { "operation": "boost", "score": 0.09861121326684952 } }, "else": { "operation": "boost", "score": -0.04543353617191315 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19539889693260193 }, "else": { "operation": "boost", "score": 0.15436846017837524 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.15700146555900574 }, "else": { "operation": "boost", "score": 0.19722077250480652 } }, "else": { "operation": "boost", "score": 0.04461604356765747 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008813080377876759 }, "else": { "operation": "boost", "score": -0.19911359250545502 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19370104372501373 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1969956010580063 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13489769399166107 }, "else": { "operation": "boost", "score": 0.1837356984615326 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1838480830192566 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10698114335536957 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.1656939536333084 }, "else": { "operation": "boost", "score": 0.14506708085536957 } } } }, "else": { "operation": "boost", "score": 0.06330600380897522 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14596906304359436 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.19920119643211365 }, "else": { "operation": "boost", "score": 0.1372806280851364 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.14633552730083466 }, "else": { "operation": "boost", "score": 0.07951510697603226 } }, "else": { "operation": "boost", "score": 0.03787053003907204 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06573343276977539 }, "else": { "operation": "boost", "score": -0.048965923488140106 } } } }, "else": { "operation": "boost", "score": -0.1932513415813446 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.19761313498020172 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1834273636341095 }, "else": { "operation": "boost", "score": 0.1514042168855667 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.20000000298023224 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.18605412542819977 }, "else": { "operation": "boost", "score": 0.15973368287086487 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.16046667098999023 }, "else": { "operation": "boost", "score": 0.09177519381046295 } }, "else": { "operation": "boost", "score": 0.06863135099411011 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.19306901097297668 }, "else": { "operation": "boost", "score": 0.18478761613368988 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20597.0, "then": { "operation": "boost", "score": 0.19419915974140167 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.18616393208503723 }, "else": { "operation": "boost", "score": 0.1020292416214943 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.1800059676170349 }, "else": { "operation": "boost", "score": 0.19942399859428406 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.19034187495708466 }, "else": { "operation": "boost", "score": 0.15801025927066803 } } }, "else": { "operation": "boost", "score": 0.17943941056728363 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.19471041858196259 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17364506423473358 }, "else": { "operation": "boost", "score": 0.18847665190696716 } }, "else": { "operation": "boost", "score": 0.10526332259178162 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20000000298023224 }, "else": { "operation": "boost", "score": 0.18978017568588257 } }, "else": { "operation": "boost", "score": 0.0991196259856224 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "boost", "score": 0.19570596516132355 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1939573884010315 }, "else": { "operation": "boost", "score": 0.18379583954811096 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.18159659206867218 }, "else": { "operation": "boost", "score": 0.11501937359571457 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1647741198539734 }, "else": { "operation": "boost", "score": 0.18153995275497437 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1247122511267662 }, "else": { "operation": "boost", "score": 0.15734350681304932 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.196611225605011 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108817.5, "then": { "operation": "boost", "score": 0.1923811435699463 }, "else": { "operation": "boost", "score": 0.17330411076545715 } } }, "else": { "operation": "boost", "score": 0.11955298483371735 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.1935829222202301 }, "else": { "operation": "boost", "score": 0.09394174814224243 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.19089017808437347 }, "else": { "operation": "boost", "score": 0.039421748369932175 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": 0.17443816363811493 }, "else": { "operation": "boost", "score": 0.1975041776895523 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059975720942020416 }, "else": { "operation": "boost", "score": 0.16343006491661072 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.17903363704681396 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.09564231336116791 }, "else": { "operation": "boost", "score": 0.17966283857822418 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1922399252653122 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20509.0, "then": { "operation": "boost", "score": 0.1600474864244461 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.036370277404785156 }, "else": { "operation": "boost", "score": 0.0436660572886467 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.1444838047027588 }, "else": { "operation": "boost", "score": 0.0826253741979599 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2615.5, "then": { "operation": "boost", "score": 0.14758464694023132 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.015689551830291748 }, "else": { "operation": "boost", "score": 0.14435838162899017 } }, "else": { "operation": "boost", "score": -0.12128043919801712 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 673.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21492.0, "then": { "operation": "boost", "score": 0.17493310570716858 }, "else": { "operation": "boost", "score": 0.12352735549211502 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.09618733078241348 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.10752751678228378 }, "else": { "operation": "boost", "score": -0.035924121737480164 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.07294262945652008 }, "else": { "operation": "boost", "score": -0.15115617215633392 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.14826877415180206 }, "else": { "operation": "boost", "score": 0.01976003311574459 } }, "else": { "operation": "boost", "score": -0.06604892760515213 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08097416162490845 }, "else": { "operation": "boost", "score": 0.058513566851615906 } }, "else": { "operation": "boost", "score": -0.17401087284088135 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1547447293996811 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16864584386348724 }, "else": { "operation": "boost", "score": 0.08100750297307968 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.07934795320034027 }, "else": { "operation": "boost", "score": 0.04381459951400757 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17080119252204895 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.16884683072566986 }, "else": { "operation": "boost", "score": 0.16965043544769287 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13122344017028809 }, "else": { "operation": "boost", "score": 0.16857142746448517 } } } }, "else": { "operation": "boost", "score": 0.02058301866054535 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.1713443547487259 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1531279981136322 }, "else": { "operation": "boost", "score": 0.1707134246826172 } }, "else": { "operation": "boost", "score": 0.15209516882896423 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.16704440116882324 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15127478539943695 }, "else": { "operation": "boost", "score": 0.16340629756450653 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.16303226351737976 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16553179919719696 }, "else": { "operation": "boost", "score": 0.13720722496509552 } }, "else": { "operation": "boost", "score": -0.044721461832523346 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.14694420993328094 }, "else": { "operation": "boost", "score": 0.1044926792383194 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16929800808429718 }, "else": { "operation": "boost", "score": 0.13251914083957672 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.15543821454048157 }, "else": { "operation": "boost", "score": 0.16909195482730865 } }, "else": { "operation": "boost", "score": 0.03577881306409836 } }, "else": { "operation": "boost", "score": -0.09946514666080475 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1698521226644516 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16949501633644104 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.16630683839321136 }, "else": { "operation": "boost", "score": 0.15487730503082275 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16542880237102509 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12245187908411026 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.15743094682693481 }, "else": { "operation": "boost", "score": 0.14504404366016388 } } } }, "else": { "operation": "boost", "score": 0.08147435635328293 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.16072402894496918 }, "else": { "operation": "boost", "score": 0.151018425822258 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.16968144476413727 }, "else": { "operation": "boost", "score": 0.14149019122123718 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.1477314680814743 }, "else": { "operation": "boost", "score": 0.10128161311149597 } }, "else": { "operation": "boost", "score": 0.04533401504158974 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08636608719825745 }, "else": { "operation": "boost", "score": -0.07798636704683304 } } } }, "else": { "operation": "boost", "score": -0.16870714724063873 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.17045937478542328 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16632699966430664 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.16779406368732452 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6450.5, "then": { "operation": "boost", "score": 0.16552692651748657 }, "else": { "operation": "boost", "score": 0.152414470911026 } } }, "else": { "operation": "boost", "score": 0.10557645559310913 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.1562318503856659 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14936451613903046 }, "else": { "operation": "boost", "score": 0.08604030311107635 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.1706983745098114 }, "else": { "operation": "boost", "score": 0.16732017695903778 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.1682843267917633 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5349.5, "then": { "operation": "boost", "score": 0.1694512814283371 }, "else": { "operation": "boost", "score": 0.1671976000070572 } }, "else": { "operation": "boost", "score": 0.17154660820960999 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16449801623821259 }, "else": { "operation": "boost", "score": 0.13886868953704834 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16352130472660065 }, "else": { "operation": "boost", "score": 0.17276112735271454 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15898099541664124 }, "else": { "operation": "boost", "score": 0.16471685469150543 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.175074964761734 }, "else": { "operation": "boost", "score": 0.16702626645565033 } }, "else": { "operation": "boost", "score": 0.15169982612133026 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.16357260942459106 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.1711229532957077 }, "else": { "operation": "boost", "score": 0.1692265123128891 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.17147164046764374 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.16860151290893555 }, "else": { "operation": "boost", "score": 0.15392252802848816 } }, "else": { "operation": "boost", "score": 0.1560467630624771 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.16579733788967133 }, "else": { "operation": "boost", "score": 0.04777759313583374 } }, "else": { "operation": "boost", "score": 0.12190522253513336 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.1604202538728714 }, "else": { "operation": "boost", "score": 0.16888529062271118 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.1607930213212967 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1307990849018097 }, "else": { "operation": "boost", "score": 0.16417934000492096 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13161303102970123 }, "else": { "operation": "boost", "score": 0.14982688426971436 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1725209802389145 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108817.5, "then": { "operation": "boost", "score": 0.16865934431552887 }, "else": { "operation": "boost", "score": 0.1616566777229309 } } }, "else": { "operation": "boost", "score": 0.12199915200471878 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.17000022530555725 }, "else": { "operation": "boost", "score": 0.10624748468399048 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.16653694212436676 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09417004138231277 }, "else": { "operation": "boost", "score": -0.02576316148042679 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.16499853134155273 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06868483871221542 }, "else": { "operation": "boost", "score": 0.15608295798301697 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.1651707887649536 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11021314561367035 }, "else": { "operation": "boost", "score": 0.1693732887506485 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1689857840538025 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20509.0, "then": { "operation": "boost", "score": 0.15500111877918243 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.15263903141021729 }, "else": { "operation": "boost", "score": 0.17775259912014008 } }, "else": { "operation": "boost", "score": -0.0015365395229309797 } }, "else": { "operation": "boost", "score": 0.014164520427584648 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.1448994129896164 }, "else": { "operation": "boost", "score": 0.0861087366938591 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2615.5, "then": { "operation": "boost", "score": 0.1492609828710556 }, "else": { "operation": "boost", "score": 0.010207350365817547 } }, "else": { "operation": "boost", "score": 0.14791369438171387 } }, "else": { "operation": "boost", "score": -0.13928842544555664 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 670.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14530658721923828 }, "else": { "operation": "boost", "score": -0.11045386642217636 } }, "else": { "operation": "boost", "score": -0.15785080194473267 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.15312351286411285 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 673.5, "then": { "operation": "boost", "score": 0.1169862225651741 }, "else": { "operation": "boost", "score": 0.028882766142487526 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12494514882564545 }, "else": { "operation": "boost", "score": -0.10753640532493591 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05892568081617355 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": -0.09174440056085587 }, "else": { "operation": "boost", "score": -0.16126444935798645 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1503359079360962 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15963847935199738 }, "else": { "operation": "boost", "score": 0.09925279021263123 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.10569842904806137 }, "else": { "operation": "boost", "score": 0.05864229425787926 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15229535102844238 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.15046553313732147 }, "else": { "operation": "boost", "score": 0.15126243233680725 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11232098937034607 }, "else": { "operation": "boost", "score": 0.1502094715833664 } } } }, "else": { "operation": "boost", "score": 0.0189053937792778 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15301726758480072 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1332457959651947 }, "else": { "operation": "boost", "score": 0.15242359042167664 } }, "else": { "operation": "boost", "score": 0.13365139067173004 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1485733985900879 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13270336389541626 }, "else": { "operation": "boost", "score": 0.14494916796684265 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.14500021934509277 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14674684405326843 }, "else": { "operation": "boost", "score": 0.12220322340726852 } }, "else": { "operation": "boost", "score": -0.04138435050845146 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.1292455792427063 }, "else": { "operation": "boost", "score": 0.09050043672323227 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1504640132188797 }, "else": { "operation": "boost", "score": 0.11469417065382004 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.14173327386379242 }, "else": { "operation": "boost", "score": 0.15040287375450134 } }, "else": { "operation": "boost", "score": 0.02203204482793808 } }, "else": { "operation": "boost", "score": -0.09102858603000641 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1516505777835846 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15074218809604645 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.14791250228881836 }, "else": { "operation": "boost", "score": 0.13627324998378754 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14650315046310425 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10487604886293411 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.13914361596107483 }, "else": { "operation": "boost", "score": 0.12677161395549774 } } } }, "else": { "operation": "boost", "score": 0.06974995136260986 } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1413843184709549 }, "else": { "operation": "boost", "score": 0.1378934383392334 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.15090744197368622 }, "else": { "operation": "boost", "score": 0.1250816136598587 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.13016828894615173 }, "else": { "operation": "boost", "score": 0.0906544104218483 } }, "else": { "operation": "boost", "score": 0.04241118207573891 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07573500275611877 }, "else": { "operation": "boost", "score": -0.06677867472171783 } } } }, "else": { "operation": "boost", "score": -0.14995400607585907 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.15215343236923218 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14859846234321594 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.1486622542142868 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6450.5, "then": { "operation": "boost", "score": 0.14664432406425476 }, "else": { "operation": "boost", "score": 0.1341649442911148 } } }, "else": { "operation": "boost", "score": 0.09247835725545883 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.13767579197883606 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13211779296398163 }, "else": { "operation": "boost", "score": 0.07251094281673431 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.1516115516424179 }, "else": { "operation": "boost", "score": 0.14835670590400696 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.14929066598415375 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5349.5, "then": { "operation": "boost", "score": 0.15047454833984375 }, "else": { "operation": "boost", "score": 0.14815135300159454 } }, "else": { "operation": "boost", "score": 0.15395553410053253 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14545537531375885 }, "else": { "operation": "boost", "score": 0.12058647722005844 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14671483635902405 }, "else": { "operation": "boost", "score": 0.15495337545871735 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1409185230731964 }, "else": { "operation": "boost", "score": 0.1464795470237732 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.14781226217746735 }, "else": { "operation": "boost", "score": 0.13484029471874237 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.144512340426445 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.15244720876216888 }, "else": { "operation": "boost", "score": 0.1500474214553833 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.151300311088562 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.15012964606285095 }, "else": { "operation": "boost", "score": 0.1365198940038681 } }, "else": { "operation": "boost", "score": 0.13810108602046967 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.14680303633213043 }, "else": { "operation": "boost", "score": 0.021743804216384888 } }, "else": { "operation": "boost", "score": 0.10420667380094528 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.14176741242408752 }, "else": { "operation": "boost", "score": 0.15041328966617584 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.14222349226474762 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11362037062644958 }, "else": { "operation": "boost", "score": 0.1455935537815094 } }, "else": { "operation": "boost", "score": 0.12745007872581482 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.15508578717708588 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108817.5, "then": { "operation": "boost", "score": 0.1506611406803131 }, "else": { "operation": "boost", "score": 0.14352184534072876 } } }, "else": { "operation": "boost", "score": 0.10249080508947372 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.15202684700489044 }, "else": { "operation": "boost", "score": 0.08953730762004852 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.14768977463245392 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.08673255890607834 }, "else": { "operation": "boost", "score": -0.028328537940979004 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.1471627652645111 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05823113024234772 }, "else": { "operation": "boost", "score": 0.13854600489139557 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.14814265072345734 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.09703253954648972 }, "else": { "operation": "boost", "score": 0.15294736623764038 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.15033230185508728 }, "else": { "operation": "boost", "score": -0.05343735218048096 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.005734036210924387 }, "else": { "operation": "boost", "score": 0.09584422409534454 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1471850723028183 }, "else": { "operation": "boost", "score": 0.1287938803434372 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20509.0, "then": { "operation": "boost", "score": 0.1397043913602829 }, "else": { "operation": "boost", "score": 0.07543952763080597 } }, "else": { "operation": "boost", "score": 0.15282219648361206 } }, "else": { "operation": "boost", "score": 0.006239415146410465 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2615.5, "then": { "operation": "boost", "score": 0.13125552237033844 }, "else": { "operation": "boost", "score": 0.0067842998541891575 } }, "else": { "operation": "boost", "score": 0.12934809923171997 } }, "else": { "operation": "boost", "score": -0.12101104110479355 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 673.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21492.0, "then": { "operation": "boost", "score": 0.14635606110095978 }, "else": { "operation": "boost", "score": 0.1106741651892662 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0789332166314125 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.10488138347864151 }, "else": { "operation": "boost", "score": -0.056663040071725845 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.14052613079547882 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.13231100142002106 }, "else": { "operation": "boost", "score": 0.026040226221084595 } }, "else": { "operation": "boost", "score": -0.07909336686134338 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05377653241157532 }, "else": { "operation": "boost", "score": -0.14198435842990875 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12804220616817474 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13851292431354523 }, "else": { "operation": "boost", "score": 0.07915130257606506 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.08026197552680969 }, "else": { "operation": "boost", "score": 0.046585436910390854 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14027617871761322 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1384020298719406 }, "else": { "operation": "boost", "score": 0.1392662674188614 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09687822312116623 }, "else": { "operation": "boost", "score": 0.13809612393379211 } } } }, "else": { "operation": "boost", "score": 0.017146291211247444 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.14106890559196472 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12053101509809494 }, "else": { "operation": "boost", "score": 0.14043724536895752 } }, "else": { "operation": "boost", "score": 0.12059909105300903 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.136396124958992 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1200137659907341 }, "else": { "operation": "boost", "score": 0.13253413140773773 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.13259655237197876 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13415446877479553 }, "else": { "operation": "boost", "score": 0.10936389118432999 } }, "else": { "operation": "boost", "score": -0.03606373816728592 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.11651987582445145 }, "else": { "operation": "boost", "score": 0.07897063344717026 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1381164938211441 }, "else": { "operation": "boost", "score": 0.10189694166183472 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.13304990530014038 }, "else": { "operation": "boost", "score": 0.1381932944059372 } }, "else": { "operation": "boost", "score": 0.02088886871933937 } }, "else": { "operation": "boost", "score": -0.08323707431554794 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13949863612651825 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13851186633110046 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.13546068966388702 }, "else": { "operation": "boost", "score": 0.12333247810602188 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13379442691802979 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0928204357624054 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.12639573216438293 }, "else": { "operation": "boost", "score": 0.11347981542348862 } } } }, "else": { "operation": "boost", "score": 0.0601702556014061 } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12793539464473724 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.1396014243364334 }, "else": { "operation": "boost", "score": 0.08910182863473892 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.11761044710874557 }, "else": { "operation": "boost", "score": 0.08181355893611908 } }, "else": { "operation": "boost", "score": 0.03722731024026871 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06741133332252502 }, "else": { "operation": "boost", "score": -0.058771226555109024 } } } }, "else": { "operation": "boost", "score": -0.13776852190494537 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.14038771390914917 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13692551851272583 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.1364395171403885 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6450.5, "then": { "operation": "boost", "score": 0.1339026838541031 }, "else": { "operation": "boost", "score": 0.12116461247205734 } } }, "else": { "operation": "boost", "score": 0.08089909702539444 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.12444785982370377 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11961252987384796 }, "else": { "operation": "boost", "score": 0.06314817816019058 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.13902103900909424 }, "else": { "operation": "boost", "score": 0.13570816814899445 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.13682542741298676 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5930.0, "then": { "operation": "boost", "score": 0.13807246088981628 }, "else": { "operation": "boost", "score": 0.13554522395133972 } }, "else": { "operation": "boost", "score": 0.14199858903884888 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13256163895130157 }, "else": { "operation": "boost", "score": 0.10716212540864944 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13550786674022675 }, "else": { "operation": "boost", "score": 0.143375962972641 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12846247851848602 }, "else": { "operation": "boost", "score": 0.1341373324394226 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.13521887362003326 }, "else": { "operation": "boost", "score": 0.12205123901367188 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.13127586245536804 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.1401970386505127 }, "else": { "operation": "boost", "score": 0.13723386824131012 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.13811492919921875 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.13786378502845764 }, "else": { "operation": "boost", "score": 0.12508316338062286 } }, "else": { "operation": "boost", "score": 0.12529897689819336 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.13420186936855316 }, "else": { "operation": "boost", "score": 0.018928291276097298 } }, "else": { "operation": "boost", "score": 0.09215444326400757 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.12899604439735413 }, "else": { "operation": "boost", "score": 0.13794782757759094 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.12928789854049683 }, "else": { "operation": "boost", "score": 0.11798160523176193 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.14349539577960968 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108817.5, "then": { "operation": "boost", "score": 0.13870957493782043 }, "else": { "operation": "boost", "score": 0.1312221884727478 } } }, "else": { "operation": "boost", "score": 0.09002068638801575 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.14022508263587952 }, "else": { "operation": "boost", "score": 0.0798695757985115 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1352328360080719 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0757773369550705 }, "else": { "operation": "boost", "score": -0.028413616120815277 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.134999617934227 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05297345295548439 }, "else": { "operation": "boost", "score": 0.1259843409061432 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1405000239610672 }, "else": { "operation": "boost", "score": 0.11944756656885147 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.07254661619663239 }, "else": { "operation": "boost", "score": 0.13354851305484772 } }, "else": { "operation": "boost", "score": 0.14159318804740906 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.13521228730678558 }, "else": { "operation": "boost", "score": -0.05175580084323883 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": -0.00013325239706318825 }, "else": { "operation": "boost", "score": 0.08398263901472092 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13461798429489136 }, "else": { "operation": "boost", "score": 0.11726795136928558 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.09588909894227982 }, "else": { "operation": "boost", "score": 0.13960492610931396 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1457492709159851 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0016738876001909375 }, "else": { "operation": "boost", "score": 0.06424921751022339 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2615.5, "then": { "operation": "boost", "score": 0.1198052391409874 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.005204482469707727 }, "else": { "operation": "boost", "score": 0.11521003395318985 } } }, "else": { "operation": "boost", "score": -0.10744839906692505 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 673.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21492.0, "then": { "operation": "boost", "score": 0.13387064635753632 }, "else": { "operation": "boost", "score": 0.09868115186691284 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.13320574164390564 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.07225030660629272 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.090534508228302 }, "else": { "operation": "boost", "score": -0.04981289058923721 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.11717651039361954 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11967655271291733 }, "else": { "operation": "boost", "score": 0.024068892002105713 } }, "else": { "operation": "boost", "score": -0.06922228634357452 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047991134226322174 }, "else": { "operation": "boost", "score": -0.1375555396080017 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11524554342031479 }, "else": { "operation": "boost", "score": 0.07563339918851852 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.06926216185092926 }, "else": { "operation": "boost", "score": 0.03923378139734268 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13218621909618378 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1300591379404068 }, "else": { "operation": "boost", "score": 0.130961611866951 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0848785787820816 }, "else": { "operation": "boost", "score": 0.12964262068271637 } } } }, "else": { "operation": "boost", "score": 0.01475172396749258 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13273310661315918 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11011315137147903 }, "else": { "operation": "boost", "score": 0.1320129930973053 } }, "else": { "operation": "boost", "score": 0.11145352572202682 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1277197301387787 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11018656194210052 }, "else": { "operation": "boost", "score": 0.12349254637956619 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.12354519218206406 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12568232417106628 }, "else": { "operation": "boost", "score": 0.09922802448272705 } }, "else": { "operation": "boost", "score": -0.029426006600260735 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10598810017108917 }, "else": { "operation": "boost", "score": 0.06944558024406433 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12928181886672974 }, "else": { "operation": "boost", "score": 0.09035993367433548 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.12008111923933029 }, "else": { "operation": "boost", "score": 0.12961725890636444 } }, "else": { "operation": "boost", "score": 0.019855936989188194 } }, "else": { "operation": "boost", "score": -0.08033233880996704 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13110211491584778 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13009746372699738 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.12667934596538544 }, "else": { "operation": "boost", "score": 0.1134251058101654 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12500230967998505 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08279073983430862 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.11692527681589127 }, "else": { "operation": "boost", "score": 0.10297778248786926 } } } }, "else": { "operation": "boost", "score": 0.05169079452753067 } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1198098435997963 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.13099399209022522 }, "else": { "operation": "boost", "score": 0.07936863601207733 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10729032009840012 }, "else": { "operation": "boost", "score": 0.07453133910894394 } }, "else": { "operation": "boost", "score": 0.03326258808374405 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06102824956178665 }, "else": { "operation": "boost", "score": -0.05188321694731712 } } } }, "else": { "operation": "boost", "score": -0.12925612926483154 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.13216887414455414 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12822479009628296 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.12790387868881226 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6450.5, "then": { "operation": "boost", "score": 0.12466850876808167 }, "else": { "operation": "boost", "score": 0.11101918667554855 } } }, "else": { "operation": "boost", "score": 0.07258813083171844 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.11490809172391891 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11103085428476334 }, "else": { "operation": "boost", "score": 0.053574319928884506 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.12733213603496552 }, "else": { "operation": "boost", "score": 0.13225343823432922 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.12807393074035645 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5930.0, "then": { "operation": "boost", "score": 0.12938199937343597 }, "else": { "operation": "boost", "score": 0.12648600339889526 } }, "else": { "operation": "boost", "score": 0.1334737092256546 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12310579419136047 }, "else": { "operation": "boost", "score": 0.09634672850370407 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "boost", "score": 0.13390423357486725 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11906753480434418 }, "else": { "operation": "boost", "score": 0.12506374716758728 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.1261405348777771 }, "else": { "operation": "boost", "score": 0.11235614120960236 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.1215856671333313 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.13146726787090302 }, "else": { "operation": "boost", "score": 0.1279810667037964 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1289408951997757 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.12905703485012054 }, "else": { "operation": "boost", "score": 0.11523205041885376 } }, "else": { "operation": "boost", "score": 0.11542798578739166 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12516458332538605 }, "else": { "operation": "boost", "score": -0.22471219301223755 } }, "else": { "operation": "boost", "score": 0.0817975178360939 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.11950986087322235 }, "else": { "operation": "boost", "score": 0.1290421485900879 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.1202448382973671 }, "else": { "operation": "boost", "score": 0.10796602070331573 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13991065323352814 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281590.5, "then": { "operation": "boost", "score": 0.13269546627998352 }, "else": { "operation": "boost", "score": 0.12681595981121063 } } }, "else": { "operation": "boost", "score": 0.07883468270301819 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.1319267302751541 }, "else": { "operation": "boost", "score": 0.07471520453691483 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1261170506477356 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.06578359007835388 }, "else": { "operation": "boost", "score": -0.024922605603933334 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.12601648271083832 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.046420253813266754 }, "else": { "operation": "boost", "score": 0.11612967401742935 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.131972536444664 }, "else": { "operation": "boost", "score": 0.10966937243938446 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.06688376516103745 }, "else": { "operation": "boost", "score": 0.12494406849145889 } }, "else": { "operation": "boost", "score": 0.13345526158809662 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.12381131947040558 }, "else": { "operation": "boost", "score": -0.04847811162471771 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.010963642038404942 }, "else": { "operation": "boost", "score": 0.07378796488046646 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12507084012031555 }, "else": { "operation": "boost", "score": 0.10816715657711029 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.08461324870586395 }, "else": { "operation": "boost", "score": 0.12783223390579224 } }, "else": { "operation": "boost", "score": 0.000680825556628406 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2615.5, "then": { "operation": "boost", "score": 0.11546836793422699 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0021524596959352493 }, "else": { "operation": "boost", "score": 0.09921697527170181 } }, "else": { "operation": "boost", "score": -0.09852996468544006 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 673.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21492.0, "then": { "operation": "boost", "score": 0.1248442754149437 }, "else": { "operation": "boost", "score": 0.08869346976280212 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12601225078105927 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.0649673193693161 }, "else": { "operation": "boost", "score": -0.03535696119070053 } }, "else": { "operation": "boost", "score": -0.06717780977487564 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.10738255828619003 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10966802388429642 }, "else": { "operation": "boost", "score": 0.020388251170516014 } }, "else": { "operation": "boost", "score": -0.0613226443529129 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.061059415340423584 }, "else": { "operation": "boost", "score": 0.048817507922649384 } }, "else": { "operation": "boost", "score": -0.12901060283184052 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10512399673461914 }, "else": { "operation": "boost", "score": 0.06604607403278351 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0604998841881752 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1009465679526329 }, "else": { "operation": "boost", "score": 0.0292171873152256 } }, "else": { "operation": "boost", "score": -0.0039026245940476656 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12633147835731506 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12394796311855316 }, "else": { "operation": "boost", "score": 0.12492799013853073 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07567253708839417 }, "else": { "operation": "boost", "score": 0.12337252497673035 } } } }, "else": { "operation": "boost", "score": 0.013267513364553452 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12677042186260223 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10176095366477966 }, "else": { "operation": "boost", "score": 0.12587934732437134 } }, "else": { "operation": "boost", "score": 0.10269111394882202 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.12684358656406403 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": 0.041670821607112885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1274237185716629 }, "else": { "operation": "boost", "score": 0.1122320368885994 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.12133148312568665 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10152636468410492 }, "else": { "operation": "boost", "score": 0.11664862185716629 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.11661208420991898 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11904612928628922 }, "else": { "operation": "boost", "score": 0.09026645869016647 } }, "else": { "operation": "boost", "score": -0.02601718157529831 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09825242310762405 }, "else": { "operation": "boost", "score": 0.061413273215293884 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12301783263683319 }, "else": { "operation": "boost", "score": 0.08187846094369888 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.11843422800302505 }, "else": { "operation": "boost", "score": 0.123448446393013 } }, "else": { "operation": "boost", "score": 0.019841529428958893 } }, "else": { "operation": "boost", "score": -0.07612906396389008 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12502261996269226 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11629904806613922 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11815059930086136 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07377047091722488 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.10921084880828857 }, "else": { "operation": "boost", "score": 0.09456247836351395 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1128898486495018 }, "else": { "operation": "boost", "score": 0.022949177771806717 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11258705705404282 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.1242576539516449 }, "else": { "operation": "boost", "score": 0.07118076831102371 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09961062669754028 }, "else": { "operation": "boost", "score": 0.06876885890960693 } }, "else": { "operation": "boost", "score": 0.03006095066666603 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05509134382009506 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.16989587247371674 }, "else": { "operation": "boost", "score": 0.052775271236896515 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1448560357093811 }, "else": { "operation": "boost", "score": 0.06055036187171936 } } }, "else": { "operation": "boost", "score": -0.06090119853615761 } } } } }, "else": { "operation": "boost", "score": -0.12311381846666336 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.12637147307395935 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1219838336110115 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.1219232901930809 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6450.5, "then": { "operation": "boost", "score": 0.11768489331007004 }, "else": { "operation": "boost", "score": 0.10296797752380371 } } }, "else": { "operation": "boost", "score": 0.0658111572265625 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.10691967606544495 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10321896523237228 }, "else": { "operation": "boost", "score": 0.046348053961992264 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.1206311360001564 }, "else": { "operation": "boost", "score": 0.12598246335983276 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.12161250412464142 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.12167051434516907 }, "else": { "operation": "boost", "score": 0.12727753818035126 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11597698926925659 }, "else": { "operation": "boost", "score": 0.09116452932357788 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "boost", "score": 0.1271876096725464 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.11950811743736267 }, "else": { "operation": "boost", "score": 0.10037854313850403 } }, "else": { "operation": "boost", "score": 0.10889916121959686 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11929851770401001 }, "else": { "operation": "boost", "score": 0.10453781485557556 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.12131305038928986 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.12514518201351166 }, "else": { "operation": "boost", "score": 0.12112551927566528 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09808104485273361 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.12197421491146088 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.12216728180646896 }, "else": { "operation": "boost", "score": 0.10919875651597977 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11849427968263626 }, "else": { "operation": "boost", "score": -0.197727233171463 } }, "else": { "operation": "boost", "score": 0.06253930181264877 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.11189378798007965 }, "else": { "operation": "boost", "score": 0.1226276233792305 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.1128840520977974 }, "else": { "operation": "boost", "score": 0.09966325014829636 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20775.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1310049146413803 }, "else": { "operation": "boost", "score": 0.11830742657184601 } }, "else": { "operation": "boost", "score": 0.10937154293060303 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1220708116889 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57410.0, "then": { "operation": "boost", "score": 0.100596584379673 }, "else": { "operation": "boost", "score": 0.06327199935913086 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.09518218040466309 }, "else": { "operation": "boost", "score": -0.005176777485758066 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1247379332780838 }, "else": { "operation": "boost", "score": 0.10344748944044113 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.13672983646392822 }, "else": { "operation": "boost", "score": 0.06468965113162994 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.11538015305995941 }, "else": { "operation": "boost", "score": -0.04686686396598816 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.007898946292698383 }, "else": { "operation": "boost", "score": 0.06585148721933365 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11828798055648804 }, "else": { "operation": "boost", "score": 0.10010846704244614 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13263936340808868 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.07188466936349869 }, "else": { "operation": "boost", "score": 0.015538726933300495 } }, "else": { "operation": "boost", "score": 0.05712578445672989 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2580.0, "then": { "operation": "boost", "score": 0.09531768411397934 }, "else": { "operation": "boost", "score": -0.005003747530281544 } }, "else": { "operation": "boost", "score": 0.0917908325791359 } }, "else": { "operation": "boost", "score": -0.09242434799671173 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.09577184915542603 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.10478129237890244 }, "else": { "operation": "boost", "score": 0.053068507462739944 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.09917016327381134 }, "else": { "operation": "boost", "score": 0.005759749095886946 } }, "else": { "operation": "boost", "score": -0.053000837564468384 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2401.5, "then": { "operation": "boost", "score": 0.09073173999786377 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04615847393870354 }, "else": { "operation": "boost", "score": -0.05616729333996773 } } }, "else": { "operation": "boost", "score": -0.12005627155303955 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09626113623380661 }, "else": { "operation": "boost", "score": 0.058409433811903 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03323188051581383 }, "else": { "operation": "boost", "score": 0.09230829775333405 } }, "else": { "operation": "boost", "score": 0.012622897513210773 } }, "else": { "operation": "boost", "score": -0.03867683932185173 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12200726568698883 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11935454607009888 }, "else": { "operation": "boost", "score": 0.12038695812225342 } }, "else": { "operation": "boost", "score": 0.11853868514299393 } } }, "else": { "operation": "boost", "score": 0.012289801612496376 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12219524383544922 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09497188031673431 }, "else": { "operation": "boost", "score": 0.12106719613075256 } }, "else": { "operation": "boost", "score": 0.09548179060220718 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.12231266498565674 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": 0.037479568272829056 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.12213660776615143 }, "else": { "operation": "boost", "score": 0.10691746324300766 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11629190295934677 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09452306479215622 }, "else": { "operation": "boost", "score": 0.11093226075172424 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.11093156784772873 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11383268237113953 }, "else": { "operation": "boost", "score": 0.08322066813707352 } }, "else": { "operation": "boost", "score": -0.020818689838051796 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09124597162008286 }, "else": { "operation": "boost", "score": 0.05498604476451874 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11818340420722961 }, "else": { "operation": "boost", "score": 0.07542522996664047 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.10939878225326538 }, "else": { "operation": "boost", "score": 0.11877691000699997 } }, "else": { "operation": "boost", "score": 0.0189349427819252 } }, "else": { "operation": "boost", "score": -0.07179585844278336 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.11213543266057968 }, "else": { "operation": "boost", "score": 0.10715899616479874 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11461447179317474 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.048782337456941605 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.11434587836265564 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11294608563184738 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.09520072489976883 }, "else": { "operation": "boost", "score": 0.054265812039375305 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.11917995661497116 }, "else": { "operation": "boost", "score": 0.06454640626907349 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06716262549161911 }, "else": { "operation": "boost", "score": 0.027010638266801834 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1209210529923439 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10842875391244888 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.08734987676143646 }, "else": { "operation": "boost", "score": 0.023448312655091286 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05050477012991905 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.15410876274108887 }, "else": { "operation": "boost", "score": 0.04789343848824501 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.139354407787323 }, "else": { "operation": "boost", "score": 0.06412170082330704 } } }, "else": { "operation": "boost", "score": -0.05446433648467064 } } } } }, "else": { "operation": "boost", "score": -0.1185428723692894 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.12192479521036148 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1164829358458519 }, "else": { "operation": "boost", "score": 0.09763405472040176 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.1176115870475769 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11300400644540787 }, "else": { "operation": "boost", "score": 0.09955451637506485 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08507206290960312 }, "else": { "operation": "boost", "score": 0.03734089434146881 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.11526037752628326 }, "else": { "operation": "boost", "score": 0.12129069864749908 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.11669336259365082 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2876.0, "then": { "operation": "boost", "score": 0.11918322741985321 }, "else": { "operation": "boost", "score": 0.1180632933974266 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1101066917181015 }, "else": { "operation": "boost", "score": 0.08356772363185883 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "boost", "score": 0.12212371081113815 }, "else": { "operation": "boost", "score": 0.11085257679224014 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11392194777727127 }, "else": { "operation": "boost", "score": 0.09821224957704544 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.12100794166326523 }, "else": { "operation": "boost", "score": 0.10767804831266403 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09175629168748856 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.11664564907550812 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11699502915143967 }, "else": { "operation": "boost", "score": 0.102376788854599 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11318471282720566 }, "else": { "operation": "boost", "score": -0.18433918058872223 } }, "else": { "operation": "boost", "score": 0.05461925268173218 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09493549913167953 }, "else": { "operation": "boost", "score": 0.11477108299732208 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10699354857206345 }, "else": { "operation": "boost", "score": 0.09268879890441895 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20775.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13171100616455078 }, "else": { "operation": "boost", "score": 0.11454898864030838 } }, "else": { "operation": "boost", "score": 0.10246049612760544 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11670512706041336 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232885.0, "then": { "operation": "boost", "score": 0.06042105332016945 }, "else": { "operation": "boost", "score": 0.11842267215251923 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03912288323044777 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "boost", "score": 0.10602197796106339 }, "else": { "operation": "boost", "score": 0.0891069695353508 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.09381265193223953 }, "else": { "operation": "boost", "score": -0.0013135613407939672 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.12096944451332092 }, "else": { "operation": "boost", "score": 0.09484327584505081 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.13361084461212158 }, "else": { "operation": "boost", "score": 0.0729563981294632 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 809.5, "then": { "operation": "boost", "score": 0.11483436077833176 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08736086636781693 }, "else": { "operation": "boost", "score": -0.053400669246912 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11804854869842529 }, "else": { "operation": "boost", "score": 0.08605583012104034 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.010585331358015537 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1148306354880333 }, "else": { "operation": "boost", "score": 0.0658392459154129 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10808639228343964 }, "else": { "operation": "boost", "score": -0.041714493185281754 } }, "else": { "operation": "boost", "score": 0.029358793050050735 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11254339665174484 }, "else": { "operation": "boost", "score": 0.0940069928765297 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.09432626515626907 }, "else": { "operation": "boost", "score": 0.12490229308605194 } }, "else": { "operation": "boost", "score": -0.015131774358451366 } }, "else": { "operation": "boost", "score": -0.006745863705873489 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0009990063263103366 }, "else": { "operation": "boost", "score": 0.08536478877067566 } }, "else": { "operation": "boost", "score": -0.08499255031347275 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0918155387043953 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "boost", "score": 0.06300879269838333 }, "else": { "operation": "boost", "score": -0.04978378117084503 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2401.5, "then": { "operation": "boost", "score": 0.08532412350177765 }, "else": { "operation": "boost", "score": -0.03576504439115524 } }, "else": { "operation": "boost", "score": -0.11611585319042206 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06953218579292297 }, "else": { "operation": "boost", "score": -0.005396819673478603 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06824968755245209 }, "else": { "operation": "boost", "score": -0.05275452509522438 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11875754594802856 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09141149371862411 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11583173274993896 }, "else": { "operation": "boost", "score": 0.11689451336860657 } }, "else": { "operation": "boost", "score": 0.11472802609205246 } } } }, "else": { "operation": "boost", "score": 0.011305419728159904 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11873926967382431 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.11662090569734573 }, "else": { "operation": "boost", "score": 0.08890262991189957 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.11879107356071472 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": 0.032140545547008514 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11775520443916321 }, "else": { "operation": "boost", "score": 0.10024236142635345 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11219702661037445 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08815775066614151 }, "else": { "operation": "boost", "score": 0.10621825605630875 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.1060892716050148 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10946986824274063 }, "else": { "operation": "boost", "score": 0.0769311785697937 } }, "else": { "operation": "boost", "score": -0.01868138462305069 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08528122305870056 }, "else": { "operation": "boost", "score": 0.04834944009780884 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11436542123556137 }, "else": { "operation": "boost", "score": 0.06798683851957321 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1012706309556961 }, "else": { "operation": "boost", "score": 0.11499027162790298 } }, "else": { "operation": "boost", "score": 0.017961274832487106 } }, "else": { "operation": "boost", "score": -0.06647530943155289 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.10743233561515808 }, "else": { "operation": "boost", "score": 0.10171238332986832 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11038874834775925 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04241855442523956 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10984078794717789 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10853725671768188 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0896000862121582 }, "else": { "operation": "boost", "score": 0.05089675635099411 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.11497634649276733 }, "else": { "operation": "boost", "score": 0.060432568192481995 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06211823597550392 }, "else": { "operation": "boost", "score": 0.024755064398050308 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11739140003919601 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10316433757543564 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.08062005788087845 }, "else": { "operation": "boost", "score": 0.020855357870459557 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04503646120429039 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.14247189462184906 }, "else": { "operation": "boost", "score": 0.010265559889376163 } }, "else": { "operation": "boost", "score": -0.00970158725976944 } }, "else": { "operation": "boost", "score": -0.05700121819972992 } } } } }, "else": { "operation": "boost", "score": -0.11501043289899826 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.11866112053394318 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11224037408828735 }, "else": { "operation": "boost", "score": 0.09252406656742096 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.11405528336763382 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10851357877254486 }, "else": { "operation": "boost", "score": 0.09368475526571274 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0009452869999222457 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08966568112373352 }, "else": { "operation": "boost", "score": 0.05284883454442024 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1143830195069313 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.11277537047863007 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2876.0, "then": { "operation": "boost", "score": 0.11522064357995987 }, "else": { "operation": "boost", "score": 0.11365600675344467 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1055036261677742 }, "else": { "operation": "boost", "score": 0.0770397037267685 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "boost", "score": 0.11826707422733307 }, "else": { "operation": "boost", "score": 0.1060887798666954 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.10961083322763443 }, "else": { "operation": "boost", "score": 0.09205096960067749 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11723780632019043 }, "else": { "operation": "boost", "score": 0.10203713923692703 } }, "else": { "operation": "boost", "score": 0.10318810492753983 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10808912664651871 }, "else": { "operation": "boost", "score": 0.04769017547369003 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08854340761899948 }, "else": { "operation": "boost", "score": 0.11043140292167664 } }, "else": { "operation": "boost", "score": 0.08810285478830338 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20775.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.023185523226857185 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "boost", "score": 0.13595525920391083 }, "else": { "operation": "boost", "score": 0.11386752873659134 } } }, "else": { "operation": "boost", "score": 0.11031404882669449 } }, "else": { "operation": "boost", "score": 0.09561421722173691 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11251743137836456 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232885.0, "then": { "operation": "boost", "score": 0.05158914625644684 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": 0.10770054161548615 }, "else": { "operation": "boost", "score": 0.12250697612762451 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03221891447901726 }, "else": { "operation": "boost", "score": 0.08925529569387436 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.08635824918746948 }, "else": { "operation": "boost", "score": -7.469265983672813e-05 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.11743985116481781 }, "else": { "operation": "boost", "score": 0.0892573744058609 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12662257254123688 }, "else": { "operation": "boost", "score": 0.07183738052845001 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09103723615407944 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 782.0, "then": { "operation": "boost", "score": 0.10434840619564056 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.018843552097678185 }, "else": { "operation": "boost", "score": -0.07261008769273758 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11643993854522705 }, "else": { "operation": "boost", "score": 0.0836709588766098 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.017550913617014885 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11096393316984177 }, "else": { "operation": "boost", "score": 0.059674911201000214 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06651464104652405 }, "else": { "operation": "boost", "score": -0.01096459198743105 } }, "else": { "operation": "boost", "score": 0.00837669800966978 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10773701220750809 }, "else": { "operation": "boost", "score": 0.08850919455289841 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12409932166337967 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.06567926704883575 }, "else": { "operation": "boost", "score": 0.011183121241629124 } }, "else": { "operation": "boost", "score": 0.049766071140766144 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.003465155838057399 }, "else": { "operation": "boost", "score": 0.07567574083805084 } }, "else": { "operation": "boost", "score": -0.07826213538646698 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 328.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0674118921160698 }, "else": { "operation": "boost", "score": -0.039909571409225464 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1107359379529953 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08222733438014984 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.03070029616355896 }, "else": { "operation": "boost", "score": -0.04431630298495293 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03226667270064354 }, "else": { "operation": "boost", "score": -0.11559450626373291 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06400088965892792 }, "else": { "operation": "boost", "score": -0.004730020184069872 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1184224858880043 }, "else": { "operation": "boost", "score": 0.039144642651081085 } }, "else": { "operation": "boost", "score": -0.048218775540590286 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11622261255979538 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08490672707557678 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11301549524068832 }, "else": { "operation": "boost", "score": 0.11416026949882507 } }, "else": { "operation": "boost", "score": 0.11154477298259735 } } } }, "else": { "operation": "boost", "score": 0.009700912050902843 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11610662937164307 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.061868198215961456 }, "else": { "operation": "boost", "score": 0.11309314519166946 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.1160721406340599 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": 0.0283666905015707 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11413650959730148 }, "else": { "operation": "boost", "score": 0.09358306229114532 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10891495645046234 }, "else": { "operation": "boost", "score": 0.09997715801000595 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10175447165966034 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1062440276145935 }, "else": { "operation": "boost", "score": 0.07079628854990005 } }, "else": { "operation": "boost", "score": -0.01504459697753191 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07972396165132523 }, "else": { "operation": "boost", "score": 0.04335322231054306 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.11158299446105957 }, "else": { "operation": "boost", "score": 0.06159818172454834 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.0964498519897461 }, "else": { "operation": "boost", "score": 0.11217091977596283 } }, "else": { "operation": "boost", "score": 0.017924780026078224 } }, "else": { "operation": "boost", "score": -0.06265988200902939 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.10322580486536026 }, "else": { "operation": "boost", "score": 0.09722563624382019 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11123615503311157 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10489145666360855 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10836010426282883 }, "else": { "operation": "boost", "score": 0.08440050482749939 } }, "else": { "operation": "boost", "score": 0.06347216665744781 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10598009079694748 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.07921449095010757 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0905829519033432 }, "else": { "operation": "boost", "score": -0.02728566899895668 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.054676514118909836 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11229630559682846 }, "else": { "operation": "boost", "score": 0.030954236164689064 } }, "else": { "operation": "boost", "score": 0.017367146909236908 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1143074780702591 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09866443276405334 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.07467237114906311 }, "else": { "operation": "boost", "score": 0.018281370401382446 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07240574806928635 }, "else": { "operation": "boost", "score": -0.09906323999166489 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.13417595624923706 }, "else": { "operation": "boost", "score": 0.059732913970947266 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002790498547255993 }, "else": { "operation": "boost", "score": 0.12675103545188904 } }, "else": { "operation": "boost", "score": -0.015689874067902565 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05581405386328697 }, "else": { "operation": "boost", "score": -0.014679930172860622 } } } }, "else": { "operation": "boost", "score": -0.06267209351062775 } } } } }, "else": { "operation": "boost", "score": -0.1120966300368309 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.1162441223859787 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1084330826997757 }, "else": { "operation": "boost", "score": 0.0868542268872261 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.11154373735189438 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1046171560883522 }, "else": { "operation": "boost", "score": 0.0880219116806984 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07405000925064087 }, "else": { "operation": "boost", "score": 0.02793951705098152 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11112851649522781 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.11250010877847672 }, "else": { "operation": "boost", "score": 0.06752335280179977 } }, "else": { "operation": "boost", "score": 0.11282245069742203 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10881774127483368 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10575203597545624 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.10512237995862961 }, "else": { "operation": "boost", "score": 0.05293648689985275 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10547604411840439 }, "else": { "operation": "boost", "score": 0.09338921308517456 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.09562668949365616 }, "else": { "operation": "boost", "score": 0.11371488869190216 } }, "else": { "operation": "boost", "score": 0.10349558293819427 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.10517904907464981 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1039481982588768 }, "else": { "operation": "boost", "score": 0.045262016355991364 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10252160578966141 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.1031741127371788 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10292874276638031 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11825152486562729 }, "else": { "operation": "boost", "score": 0.08607320487499237 } }, "else": { "operation": "boost", "score": 0.04086792469024658 } } } }, "else": { "operation": "boost", "score": 0.08039990812540054 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18585.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.016738926991820335 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "boost", "score": 0.133000910282135 }, "else": { "operation": "boost", "score": 0.11109252274036407 } } }, "else": { "operation": "boost", "score": 0.10661464929580688 } }, "else": { "operation": "boost", "score": 0.08798039704561234 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1090693548321724 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10912179201841354 }, "else": { "operation": "boost", "score": 0.06925846636295319 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.0793924406170845 }, "else": { "operation": "boost", "score": -0.0011934232898056507 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.11368228495121002 }, "else": { "operation": "boost", "score": 0.08380730450153351 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11972648650407791 }, "else": { "operation": "boost", "score": 0.07141368836164474 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0830330178141594 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 800.5, "then": { "operation": "boost", "score": 0.10765106230974197 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07407286018133163 }, "else": { "operation": "boost", "score": -0.0026584379374980927 } } }, "else": { "operation": "boost", "score": -0.06372235715389252 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11385874450206757 }, "else": { "operation": "boost", "score": 0.08262083679437637 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.01860024221241474 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10707052052021027 }, "else": { "operation": "boost", "score": 0.05722584202885628 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.09861452132463455 }, "else": { "operation": "boost", "score": -0.04150616005063057 } }, "else": { "operation": "boost", "score": 0.02310517244040966 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10392892360687256 }, "else": { "operation": "boost", "score": 0.0834164023399353 } } }, "else": { "operation": "boost", "score": 0.00021914299577474594 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 704.5, "then": { "operation": "boost", "score": 0.07630355656147003 }, "else": { "operation": "boost", "score": -0.051254455000162125 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 328.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0627601370215416 }, "else": { "operation": "boost", "score": -0.03490583598613739 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": -0.07290451973676682 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029584020376205444 }, "else": { "operation": "boost", "score": -0.1125863716006279 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1155393049120903 }, "else": { "operation": "boost", "score": 0.03608322516083717 } }, "else": { "operation": "boost", "score": -0.02406221628189087 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11430513858795166 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07946090400218964 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11065909266471863 }, "else": { "operation": "boost", "score": 0.11190256476402283 } }, "else": { "operation": "boost", "score": 0.10888456553220749 } } } }, "else": { "operation": "boost", "score": 0.009753049351274967 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11392705142498016 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05768797919154167 }, "else": { "operation": "boost", "score": 0.11019829660654068 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.11386457085609436 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": 0.026080220937728882 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11130587011575699 }, "else": { "operation": "boost", "score": 0.08844324946403503 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1060781478881836 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.08924910426139832 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07675500959157944 }, "else": { "operation": "boost", "score": 0.09952612221240997 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10958206653594971 }, "else": { "operation": "boost", "score": 0.09466202557086945 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11675655096769333 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0685330182313919 }, "else": { "operation": "boost", "score": 0.036798905581235886 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1050766259431839 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08203447610139847 }, "else": { "operation": "boost", "score": 0.014852204360067844 } }, "else": { "operation": "boost", "score": -0.1357751488685608 } }, "else": { "operation": "boost", "score": 0.06925924122333527 } } }, "else": { "operation": "boost", "score": 0.00621330551803112 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.10641128569841385 }, "else": { "operation": "boost", "score": 0.01428006961941719 } }, "else": { "operation": "boost", "score": -0.11162908375263214 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10231655836105347 }, "else": { "operation": "boost", "score": 0.091588094830513 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09552031010389328 }, "else": { "operation": "boost", "score": 0.04014963656663895 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10823880881071091 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10206498205661774 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10540197044610977 }, "else": { "operation": "boost", "score": 0.07907576113939285 } }, "else": { "operation": "boost", "score": 0.0626433864235878 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006869764998555183 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09901988506317139 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1294819861650467 }, "else": { "operation": "boost", "score": 0.0807945653796196 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08950041234493256 }, "else": { "operation": "boost", "score": 0.04058697447180748 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06578367203474045 }, "else": { "operation": "boost", "score": 0.03452669829130173 } }, "else": { "operation": "boost", "score": -0.050740569829940796 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11208412051200867 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0038880787324160337 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.08831929415464401 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09719330072402954 }, "else": { "operation": "boost", "score": 0.05288698151707649 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06890672445297241 }, "else": { "operation": "boost", "score": -0.11367207765579224 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1272536963224411 }, "else": { "operation": "boost", "score": 0.061460502445697784 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04334687441587448 }, "else": { "operation": "boost", "score": 0.02266213856637478 } } }, "else": { "operation": "boost", "score": -0.0617765448987484 } } } } }, "else": { "operation": "boost", "score": -0.10968128591775894 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.11450736224651337 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10749109834432602 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.10945164412260056 }, "else": { "operation": "boost", "score": 0.08984068781137466 } }, "else": { "operation": "boost", "score": 0.044679801911115646 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08299500495195389 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.08374501764774323 }, "else": { "operation": "boost", "score": 0.02797657996416092 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.10043582320213318 }, "else": { "operation": "boost", "score": 0.11123453080654144 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "boost", "score": 0.10783354192972183 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.1060125008225441 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10230270773172379 }, "else": { "operation": "boost", "score": 0.0614229179918766 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10156642645597458 }, "else": { "operation": "boost", "score": 0.08890587091445923 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1090412512421608 }, "else": { "operation": "boost", "score": 0.0803273543715477 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08290252834558487 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.10439250618219376 }, "else": { "operation": "boost", "score": 0.09664366394281387 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.1008056253194809 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10183198750019073 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.06668078154325485 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13770084083080292 }, "else": { "operation": "boost", "score": 0.08672243356704712 } } }, "else": { "operation": "boost", "score": 0.001502872328273952 } } } }, "else": { "operation": "boost", "score": 0.07429377734661102 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18585.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.013410818763077259 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "boost", "score": 0.1306021362543106 }, "else": { "operation": "boost", "score": 0.10872294008731842 } } }, "else": { "operation": "boost", "score": 0.10328451544046402 } }, "else": { "operation": "boost", "score": 0.08347876369953156 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10622762888669968 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.1054917424917221 }, "else": { "operation": "boost", "score": 0.0659128874540329 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.07372178137302399 }, "else": { "operation": "boost", "score": -0.0006972107803449035 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.107003353536129 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11313112080097198 }, "else": { "operation": "boost", "score": 0.06824296712875366 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160.5, "then": { "operation": "boost", "score": 0.08917273581027985 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07365833222866058 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.018718749284744263 }, "else": { "operation": "boost", "score": -0.06096794828772545 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10968664288520813 }, "else": { "operation": "boost", "score": 0.07967337220907211 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0949343666434288 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0118778757750988 }, "else": { "operation": "boost", "score": 0.051889970898628235 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.04769543185830116 }, "else": { "operation": "boost", "score": 0.014834370464086533 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.039892133325338364 }, "else": { "operation": "boost", "score": 0.102329783141613 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.004898638930171728 }, "else": { "operation": "boost", "score": -0.05365622043609619 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 328.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05762016773223877 }, "else": { "operation": "boost", "score": -0.0320189967751503 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02609551139175892 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": -0.07365848869085312 }, "else": { "operation": "boost", "score": -0.1101599857211113 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11454739421606064 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029615288600325584 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.060269929468631744 }, "else": { "operation": "boost", "score": -0.004655881319195032 } } } }, "else": { "operation": "boost", "score": -0.030893277376890182 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11272518336772919 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0717880055308342 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10868818312883377 }, "else": { "operation": "boost", "score": 0.10999232530593872 } }, "else": { "operation": "boost", "score": 0.10645624995231628 } } } }, "else": { "operation": "boost", "score": 0.008864154107868671 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11212217062711716 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10863076150417328 }, "else": { "operation": "boost", "score": 0.07126577198505402 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.11200720816850662 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10445360839366913 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": -0.0344865620136261 }, "else": { "operation": "boost", "score": 0.08353859186172485 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10340819507837296 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.08478569984436035 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11143869906663895 }, "else": { "operation": "boost", "score": 0.09221696108579636 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10682743787765503 }, "else": { "operation": "boost", "score": 0.09039555490016937 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09975612908601761 }, "else": { "operation": "boost", "score": 0.06044412776827812 } }, "else": { "operation": "boost", "score": 0.028087567538022995 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07178671658039093 }, "else": { "operation": "boost", "score": 0.0321175679564476 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.10341809689998627 }, "else": { "operation": "boost", "score": 0.014873840846121311 } }, "else": { "operation": "boost", "score": -0.10566776245832443 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10385134071111679 }, "else": { "operation": "boost", "score": 0.07931246608495712 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.09154534339904785 }, "else": { "operation": "boost", "score": 0.010023502632975578 } }, "else": { "operation": "boost", "score": 0.029872991144657135 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10550480335950851 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09778542816638947 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08050299435853958 }, "else": { "operation": "boost", "score": 0.05794383957982063 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006409863941371441 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09546016901731491 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1422143131494522 }, "else": { "operation": "boost", "score": 0.0945146456360817 } }, "else": { "operation": "boost", "score": 0.0641285628080368 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0613538883626461 }, "else": { "operation": "boost", "score": 0.03098118305206299 } }, "else": { "operation": "boost", "score": -0.05487443134188652 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11023149639368057 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.002292738063260913 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.08357780426740646 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09363672137260437 }, "else": { "operation": "boost", "score": 0.04757379740476608 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0269073024392128 }, "else": { "operation": "boost", "score": -0.1277645379304886 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.12209545075893402 }, "else": { "operation": "boost", "score": 0.06033444404602051 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0397360622882843 }, "else": { "operation": "boost", "score": 0.021838398650288582 } } }, "else": { "operation": "boost", "score": -0.057586438953876495 } } } } }, "else": { "operation": "boost", "score": -0.10772937536239624 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.11302406340837479 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10516422986984253 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.10813603550195694 }, "else": { "operation": "boost", "score": 0.08673278242349625 } }, "else": { "operation": "boost", "score": 0.043038249015808105 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07977598905563354 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07872946560382843 }, "else": { "operation": "boost", "score": 0.025403501465916634 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09716806560754776 }, "else": { "operation": "boost", "score": 0.10893315076828003 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "boost", "score": 0.1052030399441719 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10364969819784164 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.09929127246141434 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03150058165192604 }, "else": { "operation": "boost", "score": 0.0949033722281456 } } }, "else": { "operation": "boost", "score": 0.0955369621515274 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1063150018453598 }, "else": { "operation": "boost", "score": 0.07423285394906998 } }, "else": { "operation": "boost", "score": 0.09277079254388809 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.09750732034444809 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09891026467084885 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.060881201177835464 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.1288270801305771 }, "else": { "operation": "boost", "score": 0.08530456572771072 } } }, "else": { "operation": "boost", "score": -0.001991261262446642 } } } }, "else": { "operation": "boost", "score": 0.06929711252450943 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15904.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.027602175250649452 }, "else": { "operation": "boost", "score": 0.12820766866207123 } }, "else": { "operation": "boost", "score": 0.10490443557500839 } }, "else": { "operation": "boost", "score": 0.10017193853855133 } }, "else": { "operation": "boost", "score": 0.07893253117799759 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10261329263448715 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.11120492219924927 }, "else": { "operation": "boost", "score": 0.08591532707214355 } }, "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": "boost", "score": 0.06915208697319031 }, "else": { "operation": "boost", "score": 0.1157560646533966 } }, "else": { "operation": "boost", "score": 0.00977353099733591 } }, "else": { "operation": "boost", "score": 0.07193787395954132 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.06615544855594635 }, "else": { "operation": "boost", "score": -0.0027607118245214224 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10779207944869995 }, "else": { "operation": "boost", "score": 0.07833915203809738 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10893741250038147 }, "else": { "operation": "boost", "score": 0.06403456628322601 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 156.5, "then": { "operation": "boost", "score": 0.08927732706069946 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.018085381016135216 }, "else": { "operation": "boost", "score": 0.07436498254537582 } } }, "else": { "operation": "boost", "score": 0.09568463265895844 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10255438089370728 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03029419109225273 }, "else": { "operation": "boost", "score": 0.06469162553548813 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06476689875125885 }, "else": { "operation": "boost", "score": -0.012644424103200436 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.026118911802768707 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 249.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.06704962253570557 }, "else": { "operation": "boost", "score": 0.11505196243524551 } }, "else": { "operation": "boost", "score": 7.695138629060239e-05 } }, "else": { "operation": "boost", "score": -0.04985201731324196 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 328.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.044934190809726715 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.025505777448415756 }, "else": { "operation": "boost", "score": 0.07796205580234528 } }, "else": { "operation": "boost", "score": -0.026969511061906815 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04454370215535164 }, "else": { "operation": "boost", "score": -0.03514175862073898 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": -0.06978398561477661 }, "else": { "operation": "boost", "score": -0.10787810385227203 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10875918716192245 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019568990916013718 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.003277688752859831 }, "else": { "operation": "boost", "score": 0.06134309247136116 } } } }, "else": { "operation": "boost", "score": -0.02648966573178768 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11138951778411865 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06472498923540115 }, "else": { "operation": "boost", "score": 0.10650491714477539 } } }, "else": { "operation": "boost", "score": 0.008406274020671844 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11072034388780594 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.043018776923418045 }, "else": { "operation": "boost", "score": 0.10572925955057144 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.11039459705352783 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1014917865395546 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": -0.03269942104816437 }, "else": { "operation": "boost", "score": 0.07869399338960648 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 39.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10135096311569214 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.07979966700077057 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06717807799577713 }, "else": { "operation": "boost", "score": 0.09286525100469589 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10489346086978912 }, "else": { "operation": "boost", "score": 0.08704851567745209 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11222179234027863 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06718665361404419 }, "else": { "operation": "boost", "score": 0.03659534081816673 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10004030168056488 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07560564577579498 }, "else": { "operation": "boost", "score": 0.005823640618473291 } }, "else": { "operation": "boost", "score": -0.1234467402100563 } }, "else": { "operation": "boost", "score": 0.06078295037150383 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03311498835682869 }, "else": { "operation": "boost", "score": -0.05082540214061737 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014565762132406235 }, "else": { "operation": "boost", "score": -0.1293577402830124 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1001618504524231 }, "else": { "operation": "boost", "score": 0.07277096062898636 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.08747051656246185 }, "else": { "operation": "boost", "score": 0.007975660264492035 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0735492929816246 }, "else": { "operation": "boost", "score": 0.04741901159286499 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10257112234830856 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0938851609826088 }, "else": { "operation": "boost", "score": 0.06641644984483719 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005437145009636879 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09150108695030212 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.13422466814517975 }, "else": { "operation": "boost", "score": 0.08944039046764374 } }, "else": { "operation": "boost", "score": 0.059250608086586 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05744291841983795 }, "else": { "operation": "boost", "score": 0.02786341868340969 } }, "else": { "operation": "boost", "score": -0.051800522953271866 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10857166349887848 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02627704106271267 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08837217837572098 }, "else": { "operation": "boost", "score": 0.05729557201266289 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.027118127793073654 }, "else": { "operation": "boost", "score": -0.12119340151548386 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11806726455688477 }, "else": { "operation": "boost", "score": 0.06370719522237778 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006499826908111572 }, "else": { "operation": "boost", "score": 0.11052460968494415 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.14686870574951172 }, "else": { "operation": "boost", "score": -0.009939918294548988 } } }, "else": { "operation": "boost", "score": 0.0005079416441731155 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06333066523075104 }, "else": { "operation": "boost", "score": -0.062219876796007156 } } } } } }, "else": { "operation": "boost", "score": -0.10596225410699844 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.11179395020008087 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1023588627576828 }, "else": { "operation": "boost", "score": 0.06979169696569443 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07514062523841858 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07425316423177719 }, "else": { "operation": "boost", "score": 0.022222939878702164 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09358696639537811 }, "else": { "operation": "boost", "score": 0.10685274004936218 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "boost", "score": 0.102765753865242 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.1013430655002594 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.09659988433122635 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.09741976112127304 }, "else": { "operation": "boost", "score": 0.035309065133333206 } } }, "else": { "operation": "boost", "score": 0.09198067337274551 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10093063116073608 }, "else": { "operation": "boost", "score": 0.08887141197919846 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.0952289029955864 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09596733748912811 }, "else": { "operation": "boost", "score": 0.03649178892374039 } } }, "else": { "operation": "boost", "score": 0.06456999480724335 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15904.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.13655909895896912 }, "else": { "operation": "boost", "score": 0.11512576043605804 } }, "else": { "operation": "boost", "score": 0.10270489752292633 } }, "else": { "operation": "boost", "score": 0.09765138477087021 } }, "else": { "operation": "boost", "score": 0.07426085323095322 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09947749227285385 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16420.5, "then": { "operation": "boost", "score": 0.09601662307977676 }, "else": { "operation": "boost", "score": 0.142336905002594 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 200884.5, "then": { "operation": "boost", "score": 0.06442137062549591 }, "else": { "operation": "boost", "score": 0.11303015053272247 } }, "else": { "operation": "boost", "score": 0.010863068513572216 } }, "else": { "operation": "boost", "score": 0.06755990535020828 } } }, "else": { "operation": "boost", "score": 0.004285367205739021 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.10497681051492691 }, "else": { "operation": "boost", "score": 0.07064104080200195 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10428833961486816 }, "else": { "operation": "boost", "score": 0.060833532363176346 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.10294249653816223 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10013271123170853 }, "else": { "operation": "boost", "score": 0.05524801090359688 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 156.5, "then": { "operation": "boost", "score": 0.07622218132019043 }, "else": { "operation": "boost", "score": 0.00437132827937603 } }, "else": { "operation": "boost", "score": 0.0879574567079544 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05862367898225784 }, "else": { "operation": "boost", "score": -0.009774947538971901 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.023836692795157433 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.035531528294086456 }, "else": { "operation": "boost", "score": 0.09655074775218964 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11724168807268143 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.05886528640985489 }, "else": { "operation": "boost", "score": 0.009403818286955357 } }, "else": { "operation": "boost", "score": 0.05528421327471733 } } }, "else": { "operation": "boost", "score": -0.04614725708961487 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05827069655060768 }, "else": { "operation": "boost", "score": -0.049424003809690475 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.02139517106115818 }, "else": { "operation": "boost", "score": 0.07097446918487549 } }, "else": { "operation": "boost", "score": -0.02444872446358204 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019587771967053413 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": -0.06589969992637634 }, "else": { "operation": "boost", "score": -0.1055774837732315 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10161592811346054 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01683119311928749 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.07802258431911469 }, "else": { "operation": "boost", "score": 0.034899380058050156 } } } }, "else": { "operation": "boost", "score": -0.02368917688727379 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11027605086565018 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10522998124361038 }, "else": { "operation": "boost", "score": 0.10679315030574799 } }, "else": { "operation": "boost", "score": 0.10198338329792023 } } }, "else": { "operation": "boost", "score": 0.007632675115019083 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10949138551950455 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03973373398184776 }, "else": { "operation": "boost", "score": 0.1037362664937973 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.10901837795972824 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.09862742573022842 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": -0.02978007309138775 }, "else": { "operation": "boost", "score": 0.07429125159978867 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09905092418193817 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.07820446789264679 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10904605686664581 }, "else": { "operation": "boost", "score": 0.08541548997163773 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.09075017273426056 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10937661677598953 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05687207356095314 }, "else": { "operation": "boost", "score": 0.026429543271660805 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09698328375816345 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": 0.06576400995254517 }, "else": { "operation": "boost", "score": -0.010843856260180473 } }, "else": { "operation": "boost", "score": -0.11540687084197998 } }, "else": { "operation": "boost", "score": 0.05558444932103157 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.031128516420722008 }, "else": { "operation": "boost", "score": -0.045668650418519974 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014546224847435951 }, "else": { "operation": "boost", "score": -0.1258220672607422 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09671885520219803 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0872410386800766 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06302237510681152 }, "else": { "operation": "boost", "score": 0.028677072376012802 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10231799632310867 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09040419012308121 }, "else": { "operation": "boost", "score": 0.06207434460520744 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0020628604106605053 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09437628090381622 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06423056870698929 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0491022951900959 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06177801266312599 }, "else": { "operation": "boost", "score": 0.026890954002738 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10686219483613968 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026445893570780754 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08378932625055313 }, "else": { "operation": "boost", "score": 0.05253491923213005 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03223631531000137 }, "else": { "operation": "boost", "score": -0.11545311659574509 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11479420959949493 }, "else": { "operation": "boost", "score": 0.06436183303594589 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03642919659614563 }, "else": { "operation": "boost", "score": 0.01907278783619404 } } }, "else": { "operation": "boost", "score": -0.04899092763662338 } } } } }, "else": { "operation": "boost", "score": -0.1042642593383789 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.11082863062620163 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10013443231582642 }, "else": { "operation": "boost", "score": 0.06559499353170395 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07103943824768066 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.06935008615255356 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04071251302957535 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.009826294146478176 }, "else": { "operation": "boost", "score": 0.062020882964134216 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09038610011339188 }, "else": { "operation": "boost", "score": 0.10489821434020996 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "boost", "score": 0.10048643499612808 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "boost", "score": 0.09856394678354263 }, "else": { "operation": "boost", "score": 0.08492014557123184 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.0839146301150322 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6729.0, "then": { "operation": "boost", "score": -0.015111394226551056 }, "else": { "operation": "boost", "score": 0.08826514333486557 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10149285942316055 }, "else": { "operation": "boost", "score": 0.061167389154434204 } }, "else": { "operation": "boost", "score": 0.08485722541809082 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.09219783544540405 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09314404428005219 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.08398330956697464 }, "else": { "operation": "boost", "score": 0.1117219477891922 } }, "else": { "operation": "boost", "score": 0.02885100431740284 } }, "else": { "operation": "boost", "score": -0.01133006066083908 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.09178458154201508 }, "else": { "operation": "boost", "score": 0.06536468118429184 } }, "else": { "operation": "boost", "score": 0.047153957188129425 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15904.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.13436424732208252 }, "else": { "operation": "boost", "score": 0.10494104772806168 } }, "else": { "operation": "boost", "score": 0.11338748037815094 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10673645883798599 }, "else": { "operation": "boost", "score": 0.08878261595964432 } }, "else": { "operation": "boost", "score": 0.0667901411652565 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0967678353190422 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16420.5, "then": { "operation": "boost", "score": 0.09233834594488144 }, "else": { "operation": "boost", "score": 0.1352178454399109 } }, "else": { "operation": "boost", "score": 0.050682444125413895 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09741201996803284 }, "else": { "operation": "boost", "score": 0.002299513667821884 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10248027741909027 }, "else": { "operation": "boost", "score": 0.07008624821901321 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09990186989307404 }, "else": { "operation": "boost", "score": 0.059131499379873276 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1008511558175087 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09519091993570328 }, "else": { "operation": "boost", "score": 0.05281434580683708 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 206.5, "then": { "operation": "boost", "score": 0.07431712001562119 }, "else": { "operation": "boost", "score": 0.01732068881392479 } }, "else": { "operation": "boost", "score": 0.08644679933786392 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.02019602246582508 }, "else": { "operation": "boost", "score": 0.027992937713861465 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.019565405324101448 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11319289356470108 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.06268112361431122 }, "else": { "operation": "boost", "score": 0.00518062524497509 } }, "else": { "operation": "boost", "score": 0.05278395116329193 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 230.5, "then": { "operation": "boost", "score": 0.051749009639024734 }, "else": { "operation": "boost", "score": -0.03546789288520813 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1824.5, "then": { "operation": "boost", "score": 0.06217409297823906 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.042156048119068146 }, "else": { "operation": "boost", "score": -0.059782493859529495 } } }, "else": { "operation": "boost", "score": -0.07848601043224335 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11176452785730362 }, "else": { "operation": "boost", "score": 0.07987955212593079 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.07664120942354202 }, "else": { "operation": "boost", "score": 0.02675715647637844 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.005377792753279209 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.021258560940623283 }, "else": { "operation": "boost", "score": 0.07121307402849197 } } }, "else": { "operation": "boost", "score": -0.011718052439391613 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0015853744698688388 }, "else": { "operation": "boost", "score": 0.07537300884723663 } }, "else": { "operation": "boost", "score": -0.05559629946947098 } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10931379348039627 }, "else": { "operation": "boost", "score": 0.1029914915561676 } }, "else": { "operation": "boost", "score": 0.007940222509205341 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10833121091127396 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10297077149152756 }, "else": { "operation": "boost", "score": 0.0548374317586422 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.10765745490789413 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.09532467275857925 }, "else": { "operation": "boost", "score": 0.03225594013929367 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09669604152441025 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05012531578540802, "then": { "operation": "boost", "score": 0.09031807631254196 }, "else": { "operation": "boost", "score": 0.07309982180595398 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.137372687458992 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.08747990429401398 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10666700452566147 }, "else": { "operation": "boost", "score": 0.03935341536998749 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09403622895479202 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0587582103908062 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021241430193185806 }, "else": { "operation": "boost", "score": 0.044518955051898956 } } } }, "else": { "operation": "boost", "score": 0.0063010710291564465 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014662949368357658 }, "else": { "operation": "boost", "score": -0.12331246584653854 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09304194152355194 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08353525400161743 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07693495601415634 }, "else": { "operation": "boost", "score": -0.056144893169403076 } }, "else": { "operation": "boost", "score": 0.049999676644802094 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10004466027021408 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08639510720968246 }, "else": { "operation": "boost", "score": 0.05816428363323212 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0047273277305066586 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09690210223197937 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04981320723891258 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.11824428290128708 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.21891961991786957 }, "else": { "operation": "boost", "score": 0.09037838131189346 } } }, "else": { "operation": "boost", "score": 0.02316410467028618 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023742061108350754 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.09290814399719238 }, "else": { "operation": "boost", "score": -0.09186765551567078 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10558448731899261 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028905075043439865 }, "else": { "operation": "boost", "score": 0.052884042263031006 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03137695789337158 }, "else": { "operation": "boost", "score": -0.11070620268583298 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11208570748567581 }, "else": { "operation": "boost", "score": 0.0616023950278759 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006537392269819975 }, "else": { "operation": "boost", "score": 0.10239008814096451 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.13823598623275757 }, "else": { "operation": "boost", "score": -0.024524129927158356 } } }, "else": { "operation": "boost", "score": -0.0009354445501230657 } } }, "else": { "operation": "boost", "score": -0.04392024502158165 } } } } }, "else": { "operation": "boost", "score": -0.10278166085481644 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.11004095524549484 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09840735793113708 }, "else": { "operation": "boost", "score": 0.06155102327466011 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06715595722198486 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008135493844747543 }, "else": { "operation": "boost", "score": 0.04132414609193802 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.08743086457252502 }, "else": { "operation": "boost", "score": 0.10326110571622849 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "boost", "score": 0.0980902910232544 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.09542851895093918 }, "else": { "operation": "boost", "score": 0.080368772149086 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.08003649860620499 }, "else": { "operation": "boost", "score": 0.035610854625701904 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09560829401016235 }, "else": { "operation": "boost", "score": 0.08121202886104584 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08921173959970474 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09051144868135452 }, "else": { "operation": "boost", "score": 0.02764124982059002 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08863931894302368 }, "else": { "operation": "boost", "score": 0.06159448251128197 } }, "else": { "operation": "boost", "score": 0.04216604307293892 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12855.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76669.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.13152927160263062 }, "else": { "operation": "boost", "score": 0.10479376465082169 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12856654822826385 }, "else": { "operation": "boost", "score": 0.09809787571430206 } } }, "else": { "operation": "boost", "score": 0.059352029114961624 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10375940054655075 }, "else": { "operation": "boost", "score": 0.05460035800933838 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.12411945313215256 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.10468999296426773 }, "else": { "operation": "boost", "score": 0.033883895725011826 } }, "else": { "operation": "boost", "score": 0.05158054456114769 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08933230489492416 }, "else": { "operation": "boost", "score": 0.03910089656710625 } }, "else": { "operation": "boost", "score": 0.017344964668154716 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05281538888812065 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.048845790326595306 }, "else": { "operation": "boost", "score": -0.01693691685795784 } }, "else": { "operation": "boost", "score": -0.06395627558231354 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.09814955294132233 }, "else": { "operation": "boost", "score": 0.09719161689281464 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07751832902431488 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.009823686443269253 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09881110489368439 }, "else": { "operation": "boost", "score": 0.046716321259737015 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14379.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10760438442230225 }, "else": { "operation": "boost", "score": 0.09071315079927444 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.093720942735672 }, "else": { "operation": "boost", "score": 0.04100467637181282 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09329398721456528 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": -0.10464171320199966 }, "else": { "operation": "boost", "score": 0.10239474475383759 } }, "else": { "operation": "boost", "score": 0.011640964075922966 } }, "else": { "operation": "boost", "score": 0.06315737217664719 } }, "else": { "operation": "boost", "score": 0.0013722338480874896 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04653679579496384, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.017038024961948395 }, "else": { "operation": "boost", "score": -0.01871749758720398 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07547227293252945 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.014553462155163288 }, "else": { "operation": "boost", "score": 0.05410117283463478 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.03209961578249931 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11218022555112839 }, "else": { "operation": "boost", "score": 0.030864017084240913 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 253.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03997389227151871 }, "else": { "operation": "boost", "score": -0.059248264878988266 } }, "else": { "operation": "boost", "score": -0.06933102011680603 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11015407741069794 }, "else": { "operation": "boost", "score": 0.08141354471445084 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05250248685479164 }, "else": { "operation": "boost", "score": 0.0059635229408741 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05114782229065895 }, "else": { "operation": "boost", "score": -0.013731924816966057 } }, "else": { "operation": "boost", "score": -0.09262233972549438 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10852354764938354 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1032983735203743 }, "else": { "operation": "boost", "score": 0.09782491624355316 } } }, "else": { "operation": "boost", "score": 0.0072029950097203255 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.1091419905424118 }, "else": { "operation": "boost", "score": 0.10247695446014404 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10773327946662903 }, "else": { "operation": "boost", "score": 0.09249448776245117 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10502982884645462 }, "else": { "operation": "boost", "score": 0.03711801767349243 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09451346844434738 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05012531578540802, "then": { "operation": "boost", "score": 0.08810502290725708 }, "else": { "operation": "boost", "score": 0.06735528260469437 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.129404217004776 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06115452200174332 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08392440527677536 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0883917510509491 }, "else": { "operation": "boost", "score": 0.046204887330532074 } }, "else": { "operation": "boost", "score": 0.028450047597289085 } } }, "else": { "operation": "boost", "score": 0.022218333557248116 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013620343990623951 }, "else": { "operation": "boost", "score": -0.12100532650947571 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08910807222127914 }, "else": { "operation": "boost", "score": 0.061605457216501236 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06082748994231224 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06949637085199356 }, "else": { "operation": "boost", "score": 0.0345756858587265 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09496340155601501 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11907033622264862 }, "else": { "operation": "boost", "score": 0.07607262581586838 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0824362114071846 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.24455896019935608 }, "else": { "operation": "boost", "score": 0.047610461711883545 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06257394701242447 }, "else": { "operation": "boost", "score": 0.028782416135072708 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12481459230184555 }, "else": { "operation": "boost", "score": 0.03474780544638634 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07917479425668716 }, "else": { "operation": "boost", "score": 0.03682245314121246 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1213301494717598 }, "else": { "operation": "boost", "score": -0.05711158365011215 } } }, "else": { "operation": "boost", "score": -0.10712731629610062 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028260396793484688 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10294905304908752 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.06930091232061386 }, "else": { "operation": "boost", "score": 0.0298733152449131 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10935458540916443 }, "else": { "operation": "boost", "score": 0.1254875808954239 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.13511237502098083 }, "else": { "operation": "boost", "score": 0.03468400612473488 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025550849735736847 }, "else": { "operation": "boost", "score": -0.11956846714019775 } }, "else": { "operation": "boost", "score": -0.06782558560371399 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06361015886068344 }, "else": { "operation": "boost", "score": -0.04695713520050049 } } } } } } }, "else": { "operation": "boost", "score": -0.10120445489883423 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09434624761343002 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.10383038967847824 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20068.5, "then": { "operation": "boost", "score": 0.1029152050614357 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.08802172541618347 }, "else": { "operation": "boost", "score": 0.06623811274766922 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105017.5, "then": { "operation": "boost", "score": -0.09803763031959534 }, "else": { "operation": "boost", "score": 0.09529575705528259 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.09150465577840805 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.03227456286549568 }, "else": { "operation": "boost", "score": 0.07399631291627884 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06305764615535736 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.06317558884620667 }, "else": { "operation": "boost", "score": 0.014386285096406937 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.08895917236804962 }, "else": { "operation": "boost", "score": 0.0697946771979332 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.012317130342125893 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.1081356331706047 }, "else": { "operation": "boost", "score": 0.08595910668373108 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.08294099569320679 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0838189572095871 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04569403454661369 }, "else": { "operation": "boost", "score": 0.09067186713218689 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0015944893239066005 }, "else": { "operation": "boost", "score": 0.05449357628822327 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77931.0, "then": { "operation": "boost", "score": 0.12886305153369904 }, "else": { "operation": "boost", "score": 0.10035528242588043 } }, "else": { "operation": "boost", "score": 0.0890495553612709 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.09739232808351517 }, "else": { "operation": "boost", "score": 0.07199957221746445 } }, "else": { "operation": "boost", "score": 0.056422773748636246 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.12123949080705643 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.10526005178689957 }, "else": { "operation": "boost", "score": 0.03134290874004364 } }, "else": { "operation": "boost", "score": 0.0484749898314476 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08574043959379196 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.008293933235108852 }, "else": { "operation": "boost", "score": 0.08243356645107269 } } }, "else": { "operation": "boost", "score": 0.013189781457185745 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04161053150892258 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.03610840439796448 }, "else": { "operation": "boost", "score": -0.029025427997112274 } }, "else": { "operation": "boost", "score": -0.07094211876392365 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.09093733131885529 }, "else": { "operation": "boost", "score": 0.07979532331228256 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.10029668360948563 }, "else": { "operation": "boost", "score": -0.1768762320280075 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09105715900659561 }, "else": { "operation": "boost", "score": 0.060237590223550797 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.003013188485056162 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09457922726869583 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.058644942939281464 }, "else": { "operation": "boost", "score": 0.02735799364745617 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14379.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09039755910634995 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "boost", "score": 0.09156546741724014 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09031926840543747 }, "else": { "operation": "boost", "score": 0.037005748599767685 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0473465733230114 }, "else": { "operation": "boost", "score": 0.0008149142959155142 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1104554682970047 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.043038949370384216 }, "else": { "operation": "boost", "score": 0.00815068930387497 } }, "else": { "operation": "boost", "score": 0.04634543135762215 } }, "else": { "operation": "boost", "score": -0.022947324439883232 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1556.5, "then": { "operation": "boost", "score": -0.009926775470376015 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08464941382408142 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.03485177457332611 }, "else": { "operation": "boost", "score": -0.05935904383659363 } } }, "else": { "operation": "boost", "score": -0.10537638515233994 } }, "else": { "operation": "boost", "score": -0.07278461754322052 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09536668658256531 }, "else": { "operation": "boost", "score": 0.026844382286071777 } }, "else": { "operation": "boost", "score": -0.0337882861495018 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10766410827636719 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.10188520699739456 }, "else": { "operation": "boost", "score": 0.09560608863830566 } } }, "else": { "operation": "boost", "score": 0.0007781512686051428 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.10491655021905899 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10644551366567612 }, "else": { "operation": "boost", "score": 0.09022273123264313 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10344266146421432 }, "else": { "operation": "boost", "score": 0.03399127721786499 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.092014379799366 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05012531578540802, "then": { "operation": "boost", "score": 0.08540398627519608 }, "else": { "operation": "boost", "score": 0.06374350190162659 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08116085082292557 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.051702357828617096 }, "else": { "operation": "boost", "score": -0.038424428552389145 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10346589982509613 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04711455851793289 }, "else": { "operation": "boost", "score": 0.018626442179083824 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0937814861536026 }, "else": { "operation": "boost", "score": 0.023788420483469963 } }, "else": { "operation": "boost", "score": -0.02381359227001667 } } } } }, "else": { "operation": "boost", "score": -0.03788677603006363 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08564498275518417 }, "else": { "operation": "boost", "score": 0.058037903159856796 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.05676628649234772 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07166169583797455 }, "else": { "operation": "boost", "score": 0.03238915652036667 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09284079819917679 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11270631104707718 }, "else": { "operation": "boost", "score": 0.07372362166643143 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08194580674171448 }, "else": { "operation": "boost", "score": 0.04163969308137894 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.05921868979930878 }, "else": { "operation": "boost", "score": 0.027072608470916748 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11306288838386536 }, "else": { "operation": "boost", "score": 0.0307061318308115 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07377468049526215 }, "else": { "operation": "boost", "score": 0.03358772024512291 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11551547050476074 }, "else": { "operation": "boost", "score": -0.0555889867246151 } } }, "else": { "operation": "boost", "score": -0.10274237394332886 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026385655626654625 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10146594047546387 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.06582117825746536 }, "else": { "operation": "boost", "score": 0.0261534433811903 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.1076982393860817 }, "else": { "operation": "boost", "score": 0.11672291904687881 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.12934742867946625 }, "else": { "operation": "boost", "score": 0.036197058856487274 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023184198886156082 }, "else": { "operation": "boost", "score": -0.1123284250497818 } }, "else": { "operation": "boost", "score": -0.06496978551149368 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05907713994383812 }, "else": { "operation": "boost", "score": -0.04230114817619324 } } } } } } }, "else": { "operation": "boost", "score": -0.09958402067422867 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0926566943526268 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.10232718288898468 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20068.5, "then": { "operation": "boost", "score": 0.10265659540891647 }, "else": { "operation": "boost", "score": 0.0806601271033287 } }, "else": { "operation": "boost", "score": 0.06722456216812134 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05848066136240959 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.060641098767519 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.05625011771917343 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.018062081187963486 }, "else": { "operation": "boost", "score": 0.05087350681424141 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.08564937859773636 }, "else": { "operation": "boost", "score": 0.06571376323699951 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.014508834108710289 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10651647299528122 }, "else": { "operation": "boost", "score": 0.08214253187179565 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07992244511842728 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.08053300529718399 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04171106219291687 }, "else": { "operation": "boost", "score": 0.08726586401462555 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0029398594051599503 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07593867182731628 }, "else": { "operation": "boost", "score": 0.045023318380117416 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09838709235191345, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1824.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77931.0, "then": { "operation": "boost", "score": 0.12616249918937683 }, "else": { "operation": "boost", "score": 0.09798385947942734 } }, "else": { "operation": "boost", "score": 0.08555863052606583 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.09359394013881683 }, "else": { "operation": "boost", "score": 0.07061053067445755 } }, "else": { "operation": "boost", "score": 0.0552511066198349 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.11242365092039108 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09844062477350235 }, "else": { "operation": "boost", "score": 0.031257905066013336 } }, "else": { "operation": "boost", "score": 0.045305829495191574 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08171176165342331 }, "else": { "operation": "boost", "score": 0.03503930941224098 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.001525506959296763 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0974775180220604 }, "else": { "operation": "boost", "score": 0.044608231633901596 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03953590989112854 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.034276243299245834 }, "else": { "operation": "boost", "score": -0.028808599337935448 } }, "else": { "operation": "boost", "score": -0.07100468873977661 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09294410794973373 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08731140196323395 }, "else": { "operation": "boost", "score": 0.05829944461584091 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10387175530195236 }, "else": { "operation": "boost", "score": 0.0733523815870285 } }, "else": { "operation": "boost", "score": 0.06772947311401367 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05544014647603035 }, "else": { "operation": "boost", "score": -0.011268144473433495 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09131273627281189 }, "else": { "operation": "boost", "score": 0.03572545573115349 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14379.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0866396501660347 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "boost", "score": 0.08904615789651871 }, "else": { "operation": "boost", "score": 0.05231987312436104 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0016195903299376369 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232885.0, "then": { "operation": "boost", "score": 0.0435328483581543 }, "else": { "operation": "boost", "score": 0.09662064909934998 } }, "else": { "operation": "boost", "score": 0.0409991517663002 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 860.5, "then": { "operation": "boost", "score": 0.03164903074502945 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.07731132954359055 }, "else": { "operation": "boost", "score": 0.06979309022426605 } }, "else": { "operation": "boost", "score": 0.025974851101636887 } }, "else": { "operation": "boost", "score": -0.08890199661254883 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12437527626752853 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.03448950871825218 }, "else": { "operation": "boost", "score": -0.013002175837755203 } } } } }, "else": { "operation": "boost", "score": -0.06244746595621109 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08893464505672455 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04697931930422783 }, "else": { "operation": "boost", "score": 0.002784733660519123 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.016008706763386726 }, "else": { "operation": "boost", "score": 0.03515787422657013 } }, "else": { "operation": "boost", "score": -0.0911315530538559 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10697859525680542 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.10036642104387283 }, "else": { "operation": "boost", "score": 0.09347398579120636 } } }, "else": { "operation": "boost", "score": 0.0008542459108866751 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.10392142087221146 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10497349500656128 }, "else": { "operation": "boost", "score": 0.08658834546804428 } }, "else": { "operation": "boost", "score": 0.039618007838726044 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08972368389368057 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05012531578540802, "then": { "operation": "boost", "score": 0.08284495770931244 }, "else": { "operation": "boost", "score": 0.05979437753558159 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07804930955171585 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04870620742440224 }, "else": { "operation": "boost", "score": -0.03432818874716759 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10135728120803833 }, "else": { "operation": "boost", "score": 0.029521768912672997 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09153735637664795 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.07010643184185028 }, "else": { "operation": "boost", "score": -0.043397169560194016 } } }, "else": { "operation": "boost", "score": -0.027682101354002953 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014257458969950676 }, "else": { "operation": "boost", "score": -0.11831093579530716 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0824725478887558 }, "else": { "operation": "boost", "score": 0.05477450415492058 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06972993165254593 }, "else": { "operation": "boost", "score": -0.07340645045042038 } }, "else": { "operation": "boost", "score": 0.03805574029684067 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03612903133034706, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08932628482580185 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.06546196341514587 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08325625211000443 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009459925815463066 }, "else": { "operation": "boost", "score": 0.04629683867096901 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10970078408718109 }, "else": { "operation": "boost", "score": 0.06292790174484253 } }, "else": { "operation": "boost", "score": 0.02572273276746273 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05053173378109932 }, "else": { "operation": "boost", "score": -0.0837133377790451 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04340213164687157 }, "else": { "operation": "boost", "score": 0.022398030385375023 } }, "else": { "operation": "boost", "score": -0.06762784719467163 } } }, "else": { "operation": "boost", "score": -0.038443900644779205 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03112604096531868 }, "else": { "operation": "boost", "score": -0.09876450151205063 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.031169962137937546 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.035079196095466614 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11515393108129501 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.12959136068820953 }, "else": { "operation": "boost", "score": 0.031966179609298706 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016799502074718475 }, "else": { "operation": "boost", "score": -0.06183901056647301 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04565580561757088 }, "else": { "operation": "boost", "score": -0.04560280218720436 } } } } } } }, "else": { "operation": "boost", "score": -0.09785819053649902 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0842849537730217 }, "else": { "operation": "boost", "score": 0.1005592942237854 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.1008118987083435 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "boost", "score": 0.08890411257743835 }, "else": { "operation": "boost", "score": 0.0691598579287529 } }, "else": { "operation": "boost", "score": 0.06254161894321442 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08636679500341415 }, "else": { "operation": "boost", "score": 0.05551770329475403 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.08606702834367752 }, "else": { "operation": "boost", "score": 0.03745410963892937 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.048004455864429474 }, "else": { "operation": "boost", "score": -0.1677902489900589 } }, "else": { "operation": "boost", "score": -0.031519822776317596 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08897951245307922 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.06255875527858734 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10476820170879364 }, "else": { "operation": "boost", "score": 0.07572401314973831 } } }, "else": { "operation": "boost", "score": 0.06182459369301796 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07673054188489914 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07714498043060303 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.03770134225487709 }, "else": { "operation": "boost", "score": 0.08432701975107193 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.00594095466658473 }, "else": { "operation": "boost", "score": 0.04376782104372978 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3082.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77931.0, "then": { "operation": "boost", "score": 0.1242254450917244 }, "else": { "operation": "boost", "score": 0.09748547524213791 } }, "else": { "operation": "boost", "score": 0.08566107600927353 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.09343913197517395 }, "else": { "operation": "boost", "score": 0.06847387552261353 } }, "else": { "operation": "boost", "score": 0.053896088153123856 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.09053497016429901 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07517288625240326 }, "else": { "operation": "boost", "score": 0.01701187528669834 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08808881789445877 }, "else": { "operation": "boost", "score": 0.041096899658441544 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.05786756053566933 }, "else": { "operation": "boost", "score": 0.02618560753762722 } }, "else": { "operation": "boost", "score": -0.004843064583837986 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03248584270477295 }, "else": { "operation": "boost", "score": -0.07145851105451584 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.09863559156656265 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09780406951904297 }, "else": { "operation": "boost", "score": 0.06313673406839371 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07281036674976349 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "boost", "score": 0.05323250591754913 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07780852913856506 }, "else": { "operation": "boost", "score": 0.010164092294871807 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1556.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08653297275304794 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08551628887653351 }, "else": { "operation": "boost", "score": 0.03450498729944229 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32765.0, "then": { "operation": "boost", "score": 0.08678412437438965 }, "else": { "operation": "boost", "score": 0.04779139906167984 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.057303622364997864 }, "else": { "operation": "boost", "score": -0.013270474970340729 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1077837273478508 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.054554883390665054 }, "else": { "operation": "boost", "score": 0.08325820416212082 } }, "else": { "operation": "boost", "score": -0.0012865957105532289 } }, "else": { "operation": "boost", "score": -0.18460504710674286 } }, "else": { "operation": "boost", "score": -0.017809823155403137 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.05747435986995697 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.012796858325600624 }, "else": { "operation": "boost", "score": -0.08138182759284973 } } }, "else": { "operation": "boost", "score": 0.0424933023750782 } }, "else": { "operation": "boost", "score": -0.025571385398507118 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09994997829198837 }, "else": { "operation": "boost", "score": 0.061797674745321274 } }, "else": { "operation": "boost", "score": -0.007045823615044355 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08178726583719254 }, "else": { "operation": "boost", "score": 0.0013825841015204787 } }, "else": { "operation": "boost", "score": -0.10547428578138351 } }, "else": { "operation": "boost", "score": -0.06722275912761688 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09603055566549301 }, "else": { "operation": "boost", "score": 0.028386536985635757 } }, "else": { "operation": "boost", "score": -0.030070947483181953 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10619451105594635 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.09890985488891602 }, "else": { "operation": "boost", "score": 0.09120485186576843 } } }, "else": { "operation": "boost", "score": 0.0007001198828220367 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.10270808637142181 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1042909100651741 }, "else": { "operation": "boost", "score": 0.08545621484518051 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10077531635761261 }, "else": { "operation": "boost", "score": 0.029828136786818504 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08726968616247177 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05012531578540802, "then": { "operation": "boost", "score": 0.07991767674684525 }, "else": { "operation": "boost", "score": 0.056297071278095245 } } }, "else": { "operation": "boost", "score": 0.014156310819089413 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07287584990262985 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.10114303976297379 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.2138231098651886 }, "else": { "operation": "boost", "score": 0.07704175263643265 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.11371500045061111 }, "else": { "operation": "boost", "score": 0.033188726752996445 } }, "else": { "operation": "boost", "score": 0.04730633646249771 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.000959669123403728 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09379938989877701 }, "else": { "operation": "boost", "score": 0.1141337975859642 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10088670253753662 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.18807312846183777 }, "else": { "operation": "boost", "score": 0.06000091880559921 } } }, "else": { "operation": "boost", "score": 0.03365994989871979 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.055185817182064056 }, "else": { "operation": "boost", "score": -0.05488847941160202 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08695971965789795 }, "else": { "operation": "boost", "score": -0.015641018748283386 } }, "else": { "operation": "boost", "score": 0.05201687663793564 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.06658948212862015 }, "else": { "operation": "boost", "score": 0.023298248648643494 } }, "else": { "operation": "boost", "score": -0.03944515436887741 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08039624989032745 }, "else": { "operation": "boost", "score": 0.05202171579003334 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.052094608545303345 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06783122569322586 }, "else": { "operation": "boost", "score": 0.02554067224264145 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10805855691432953 }, "else": { "operation": "boost", "score": 0.0073483227752149105 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01946314051747322 }, "else": { "operation": "boost", "score": 0.0446418821811676 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06768301129341125 }, "else": { "operation": "boost", "score": 0.03029704838991165 } }, "else": { "operation": "boost", "score": -0.07782524824142456 } }, "else": { "operation": "boost", "score": -0.0933203473687172 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012827591970562935 }, "else": { "operation": "boost", "score": 0.015276617370545864 } } } }, "else": { "operation": "boost", "score": -0.09589508920907974 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0742807611823082 }, "else": { "operation": "boost", "score": 0.09626863151788712 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04112903028726578, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20068.5, "then": { "operation": "boost", "score": 0.10041303187608719 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.07894042134284973 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0904197245836258 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06076180934906006 }, "else": { "operation": "boost", "score": -0.03806950896978378 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.0974545031785965 }, "else": { "operation": "boost", "score": 0.058705661445856094 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08651160448789597 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05880400165915489 }, "else": { "operation": "boost", "score": 0.08878657966852188 } }, "else": { "operation": "boost", "score": 0.05906052514910698 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08425101637840271 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07720883935689926 }, "else": { "operation": "boost", "score": 0.045197390019893646 } } }, "else": { "operation": "boost", "score": 0.03720085322856903 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0782516822218895 }, "else": { "operation": "boost", "score": 0.05139973759651184 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07058615982532501 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05461858585476875 }, "else": { "operation": "boost", "score": 0.014907168224453926 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3082.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77931.0, "then": { "operation": "boost", "score": 0.12177357822656631 }, "else": { "operation": "boost", "score": 0.09531722962856293 } }, "else": { "operation": "boost", "score": 0.08226369321346283 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.09092336893081665 }, "else": { "operation": "boost", "score": 0.06616242229938507 } }, "else": { "operation": "boost", "score": 0.05038420855998993 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.08746077865362167 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07144811749458313 }, "else": { "operation": "boost", "score": 0.018790749832987785 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08466055989265442 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09992841631174088 }, "else": { "operation": "boost", "score": 0.011772441677749157 } }, "else": { "operation": "boost", "score": 0.03374047949910164 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.08570580929517746 }, "else": { "operation": "boost", "score": 0.02163633145391941 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 115.5, "then": { "operation": "boost", "score": 0.07171657681465149 }, "else": { "operation": "boost", "score": 0.0143196489661932 } } }, "else": { "operation": "boost", "score": -0.0049885110929608345 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030569203197956085 }, "else": { "operation": "boost", "score": -0.06846483796834946 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.09612111002206802 }, "else": { "operation": "boost", "score": 0.06275281310081482 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06859373301267624 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "boost", "score": 0.05119713768362999 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.05480740964412689 }, "else": { "operation": "boost", "score": 0.008692118339240551 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12855.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.07656170427799225 }, "else": { "operation": "boost", "score": 0.002953986171633005 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "boost", "score": 0.07258249074220657 }, "else": { "operation": "boost", "score": 0.037275463342666626 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12292716652154922 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.031095607206225395 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08655684441328049 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.03836371377110481 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.026130683720111847 }, "else": { "operation": "boost", "score": 0.05984092131257057 } } }, "else": { "operation": "boost", "score": -0.06729865819215775 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05113357678055763 }, "else": { "operation": "boost", "score": -0.005242961924523115 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.04054529592394829 }, "else": { "operation": "boost", "score": 0.09517379105091095 } }, "else": { "operation": "boost", "score": -0.04680269584059715 } }, "else": { "operation": "boost", "score": -0.024636687710881233 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.05664217844605446 }, "else": { "operation": "boost", "score": -0.00153436535038054 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06404628604650497 }, "else": { "operation": "boost", "score": -0.0016724448651075363 } }, "else": { "operation": "boost", "score": -0.05984886735677719 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08146128058433533 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04339185729622841 }, "else": { "operation": "boost", "score": 0.0026393099687993526 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0465724878013134 }, "else": { "operation": "boost", "score": 0.018006235361099243 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.08322560787200928 }, "else": { "operation": "boost", "score": -0.1226615309715271 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10551128536462784 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.09730231761932373 }, "else": { "operation": "boost", "score": 0.08881326019763947 } } }, "else": { "operation": "boost", "score": 0.0007574164774268866 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.10164259374141693 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03755580633878708 }, "else": { "operation": "boost", "score": 0.09790767729282379 } }, "else": { "operation": "boost", "score": 0.04600481316447258 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08097516745328903 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06027140095829964 }, "else": { "operation": "boost", "score": -0.11743790656328201 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07859831303358078 }, "else": { "operation": "boost", "score": -0.045385248959064484 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07175608724355698 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07258857786655426 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0930497944355011 }, "else": { "operation": "boost", "score": 0.057220082730054855 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07182341068983078 }, "else": { "operation": "boost", "score": 0.02880493365228176 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07199114561080933 }, "else": { "operation": "boost", "score": 0.04117821529507637 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05628510192036629 }, "else": { "operation": "boost", "score": -0.0863114446401596 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.031051723286509514 }, "else": { "operation": "boost", "score": -0.0801248848438263 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08371195942163467 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.033404089510440826 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.09728778153657913 }, "else": { "operation": "boost", "score": 0.046846356242895126 } }, "else": { "operation": "boost", "score": 0.0176982618868351 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.015397938899695873 }, "else": { "operation": "boost", "score": -0.0553092323243618 } } } } } } } } } }, "else": { "operation": "boost", "score": -0.07493442296981812 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09566812962293625 }, "else": { "operation": "boost", "score": 0.08108855783939362 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0775546208024025 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08713843673467636 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033169347792863846 }, "else": { "operation": "boost", "score": 0.06080296263098717 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06364888697862625 }, "else": { "operation": "boost", "score": 0.02803107164800167 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1824.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.12056370079517365 }, "else": { "operation": "boost", "score": 0.11189819127321243 } }, "else": { "operation": "boost", "score": 0.09733043611049652 } }, "else": { "operation": "boost", "score": 0.07130883634090424 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07574821263551712 }, "else": { "operation": "boost", "score": 0.04529193788766861 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.08402469009160995 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06785143166780472 }, "else": { "operation": "boost", "score": 0.014592533931136131 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08055759221315384 }, "else": { "operation": "boost", "score": 0.03721620887517929 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.08237989991903305 }, "else": { "operation": "boost", "score": 0.020803578197956085 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 115.5, "then": { "operation": "boost", "score": 0.06835760176181793 }, "else": { "operation": "boost", "score": 0.014663553796708584 } } }, "else": { "operation": "boost", "score": -0.004293648060411215 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029356295242905617 }, "else": { "operation": "boost", "score": -0.06688377261161804 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.09232728183269501 }, "else": { "operation": "boost", "score": 0.06225244700908661 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0539453960955143 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06236223503947258 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.05428953468799591 }, "else": { "operation": "boost", "score": 0.010496031492948532 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007807585876435041 }, "else": { "operation": "boost", "score": 0.10557582974433899 } }, "else": { "operation": "boost", "score": 0.04012814164161682 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.050685618072748184 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.05068482831120491 }, "else": { "operation": "boost", "score": 0.08077791333198547 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04959354177117348 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08152807503938675 }, "else": { "operation": "boost", "score": 0.04656370356678963 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.018862247467041016 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05077805742621422 }, "else": { "operation": "boost", "score": -0.021145159378647804 } }, "else": { "operation": "boost", "score": -0.047959815710783005 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04369499906897545 }, "else": { "operation": "boost", "score": -0.06727046519517899 } }, "else": { "operation": "boost", "score": -0.08893885463476181 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03177015855908394 }, "else": { "operation": "boost", "score": -0.02149050123989582 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74698.5, "then": { "operation": "boost", "score": 0.09888317435979843 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06133650243282318 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0223320871591568 }, "else": { "operation": "boost", "score": 0.09434252977371216 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07766464352607727 }, "else": { "operation": "boost", "score": -0.002222369657829404 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07780719548463821 }, "else": { "operation": "boost", "score": -0.010627057403326035 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.009705744683742523 }, "else": { "operation": "boost", "score": 0.06945833563804626 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0057802097871899605 }, "else": { "operation": "boost", "score": 0.04373518377542496 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1556.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08134656399488449 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08109401911497116 }, "else": { "operation": "boost", "score": 0.03168477490544319 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.07250222563743591 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05185173824429512 }, "else": { "operation": "boost", "score": -0.010785254649817944 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.07829947024583817 }, "else": { "operation": "boost", "score": 0.017056234180927277 } }, "else": { "operation": "boost", "score": -0.10354798287153244 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1388096809387207 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.11510644108057022 }, "else": { "operation": "boost", "score": 0.07554405182600021 } }, "else": { "operation": "boost", "score": -0.09459899365901947 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.049095846712589264 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10378704965114594 }, "else": { "operation": "boost", "score": 0.03135722130537033 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07919907569885254 }, "else": { "operation": "boost", "score": -0.013929623179137707 } }, "else": { "operation": "boost", "score": -0.027800654992461205 } }, "else": { "operation": "boost", "score": 0.005281738005578518 } }, "else": { "operation": "boost", "score": -0.04051407799124718 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05796661227941513 }, "else": { "operation": "boost", "score": 0.00037049909587949514 } }, "else": { "operation": "boost", "score": -0.04875052347779274 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09353113174438477 }, "else": { "operation": "boost", "score": 0.05547989904880524 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.005919786635786295 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.024693936109542847 }, "else": { "operation": "boost", "score": 0.04712570086121559 } } }, "else": { "operation": "boost", "score": -0.01566029153764248 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001919018686749041 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.08494135737419128 }, "else": { "operation": "boost", "score": -0.1219959557056427 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10472235828638077 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.09575098752975464 }, "else": { "operation": "boost", "score": 0.08641254156827927 } } }, "else": { "operation": "boost", "score": 0.0005538350087590516 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.1004239171743393 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10133399069309235 }, "else": { "operation": "boost", "score": 0.07736501842737198 } }, "else": { "operation": "boost", "score": 0.02664380520582199 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09656500071287155 }, "else": { "operation": "boost", "score": 0.06552579998970032 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08155979961156845 }, "else": { "operation": "boost", "score": 0.04375891014933586 } }, "else": { "operation": "boost", "score": -0.10224807262420654 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07601036131381989 }, "else": { "operation": "boost", "score": -0.03999538719654083 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06837449967861176 }, "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_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09100478142499924 }, "else": { "operation": "boost", "score": 0.06495742499828339 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.038282256573438644 }, "else": { "operation": "boost", "score": -0.05231807753443718 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0616443008184433 }, "else": { "operation": "boost", "score": 0.06898421794176102 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11181472986936569 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08445042371749878 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04340164363384247 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "boost", "score": 0.029098059982061386 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03444498032331467 }, "else": { "operation": "boost", "score": 0.011244315654039383 } } } } } } } } } }, "else": { "operation": "boost", "score": -0.07124411314725876 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0956626608967781 }, "else": { "operation": "boost", "score": 0.07849942147731781 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07470441609621048 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08456900715827942 }, "else": { "operation": "boost", "score": 0.05059698969125748 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06177189573645592 }, "else": { "operation": "boost", "score": 0.026394285261631012 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2334.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1188788115978241 }, "else": { "operation": "boost", "score": 0.11148997396230698 } }, "else": { "operation": "boost", "score": 0.09510940313339233 } }, "else": { "operation": "boost", "score": 0.06774117052555084 } }, "else": { "operation": "boost", "score": 0.047326624393463135 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "boost", "score": 0.10458920896053314 }, "else": { "operation": "boost", "score": 0.04247064143419266 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07130961865186691 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.0023474683985114098 }, "else": { "operation": "boost", "score": 0.06365711241960526 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.002325026784092188 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.09050175547599792 }, "else": { "operation": "boost", "score": 0.03784359246492386 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04844525083899498 }, "else": { "operation": "boost", "score": -0.03616395220160484 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07027741521596909 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05344446375966072 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1302400678396225 }, "else": { "operation": "boost", "score": -0.05598604306578636 } } }, "else": { "operation": "boost", "score": 0.009504484012722969 } } }, "else": { "operation": "boost", "score": 0.02193238027393818 } }, "else": { "operation": "boost", "score": -0.021124571561813354 } }, "else": { "operation": "boost", "score": -0.060406964272260666 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.08989333361387253 }, "else": { "operation": "boost", "score": -0.15977664291858673 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.07743098586797714 }, "else": { "operation": "boost", "score": 0.04929511249065399 } }, "else": { "operation": "boost", "score": 0.04435529187321663 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.0907847210764885 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0903640165925026 }, "else": { "operation": "boost", "score": 0.04600479453802109 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07078143209218979 }, "else": { "operation": "boost", "score": 0.03917007893323898 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07024584710597992 }, "else": { "operation": "boost", "score": 0.01799074560403824 } } } }, "else": { "operation": "boost", "score": -0.014167491346597672 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.02459515631198883 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07291650027036667 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07044421881437302 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08077210187911987 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "boost", "score": 0.040294017642736435 }, "else": { "operation": "boost", "score": 0.0022376247216016054 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01606176421046257 }, "else": { "operation": "boost", "score": -0.08810549229383469 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029162472113966942 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028338758274912834 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10404003411531448 }, "else": { "operation": "boost", "score": 0.04121624678373337 } }, "else": { "operation": "boost", "score": 0.005445700138807297 } } }, "else": { "operation": "boost", "score": -0.06314115971326828 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74698.5, "then": { "operation": "boost", "score": 0.09793921560049057 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05722232908010483 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0219985693693161 }, "else": { "operation": "boost", "score": 0.09184002131223679 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07400713115930557 }, "else": { "operation": "boost", "score": -0.004803450778126717 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07478225231170654 }, "else": { "operation": "boost", "score": -0.01385275274515152 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0077853430993855 }, "else": { "operation": "boost", "score": 0.06571948528289795 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0063885655254125595 }, "else": { "operation": "boost", "score": 0.04013225436210632 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1556.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "boost", "score": 0.09247134625911713 }, "else": { "operation": "boost", "score": 0.013637538999319077 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07750282436609268 }, "else": { "operation": "boost", "score": 0.030377361923456192 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.06900252401828766 }, "else": { "operation": "boost", "score": -0.007627623155713081 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.07545478641986847 }, "else": { "operation": "boost", "score": 0.013645577244460583 } }, "else": { "operation": "boost", "score": -0.10050737112760544 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13384157419204712 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09882063418626785 }, "else": { "operation": "boost", "score": 0.06294618546962738 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.04561291262507439 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10257237404584885 }, "else": { "operation": "boost", "score": 0.029577964916825294 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07462165504693985 }, "else": { "operation": "boost", "score": -0.012778478674590588 } }, "else": { "operation": "boost", "score": -0.028351357206702232 } }, "else": { "operation": "boost", "score": 0.004415302071720362 } }, "else": { "operation": "boost", "score": -0.03799903765320778 } } }, "else": { "operation": "boost", "score": -0.03908855840563774 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08911124616861343 }, "else": { "operation": "boost", "score": 0.0515919104218483 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028414275497198105 }, "else": { "operation": "boost", "score": 0.04237106814980507 } }, "else": { "operation": "boost", "score": -0.005774271674454212 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.04636610299348831 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.02912013791501522 }, "else": { "operation": "boost", "score": -0.048379138112068176 } } }, "else": { "operation": "boost", "score": -0.08682798594236374 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.09641122817993164 }, "else": { "operation": "boost", "score": 0.08772865682840347 } }, "else": { "operation": "boost", "score": 0.000464608718175441 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.09923490136861801 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0268978513777256 }, "else": { "operation": "boost", "score": 0.09462285786867142 } }, "else": { "operation": "boost", "score": 0.038466062396764755 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07642342150211334 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07981447875499725 }, "else": { "operation": "boost", "score": 0.03755008429288864 } }, "else": { "operation": "boost", "score": -0.09311359375715256 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0730225145816803 }, "else": { "operation": "boost", "score": -0.04178015887737274 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06578335911035538 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08859045803546906 }, "else": { "operation": "boost", "score": 0.06108298897743225 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0531383715569973 }, "else": { "operation": "boost", "score": 0.09160792827606201 } }, "else": { "operation": "boost", "score": 0.03667152300477028 } }, "else": { "operation": "boost", "score": 0.030649183318018913 } }, "else": { "operation": "boost", "score": 0.018400469794869423 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01857876218855381 }, "else": { "operation": "boost", "score": 0.06208501756191254 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10777612030506134 }, "else": { "operation": "boost", "score": 0.015176868997514248 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10640867799520493 }, "else": { "operation": "boost", "score": 0.03195973485708237 } } } } } }, "else": { "operation": "boost", "score": -0.06702902913093567 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.07949776202440262 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07276076823472977 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08216684311628342 }, "else": { "operation": "boost", "score": 0.04861718788743019 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059338998049497604 }, "else": { "operation": "boost", "score": 0.023748906329274178 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2334.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.10903210937976837 }, "else": { "operation": "boost", "score": 0.06431018561124802 } }, "else": { "operation": "boost", "score": 0.045066237449645996 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.0705614760518074 }, "else": { "operation": "boost", "score": 0.04229774326086044 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.1094680204987526 }, "else": { "operation": "boost", "score": 0.04071382060647011 } }, "else": { "operation": "boost", "score": 0.11467179656028748 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06769081950187683 }, "else": { "operation": "boost", "score": 0.0050080013461411 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.076438307762146 }, "else": { "operation": "boost", "score": 0.00819002278149128 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029806705191731453 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15558141469955444 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07420652359724045 }, "else": { "operation": "boost", "score": 0.12677302956581116 } } }, "else": { "operation": "boost", "score": -0.039148781448602676 } }, "else": { "operation": "boost", "score": 0.021951941773295403 } }, "else": { "operation": "boost", "score": -0.014505937695503235 } }, "else": { "operation": "boost", "score": -0.0652155727148056 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08282148092985153 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.07518533617258072 }, "else": { "operation": "boost", "score": 0.04851240664720535 } }, "else": { "operation": "boost", "score": 0.04207991808652878 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2052631676197052, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.08207780867815018 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08252574503421783 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0048164064064621925 }, "else": { "operation": "boost", "score": 0.04791749268770218 } } } }, "else": { "operation": "boost", "score": 0.024738823994994164 } }, "else": { "operation": "boost", "score": -0.0126145975664258 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.02321135252714157 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06982062011957169 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0696488693356514 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07696015387773514 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "boost", "score": 0.037290751934051514 }, "else": { "operation": "boost", "score": 0.0015232909936457872 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01434915978461504 }, "else": { "operation": "boost", "score": -0.0850173830986023 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027437085285782814 }, "else": { "operation": "boost", "score": 0.10001148283481598 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.12797299027442932 }, "else": { "operation": "boost", "score": 0.021879035979509354 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.060413748025894165 }, "else": { "operation": "boost", "score": -0.038993336260318756 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02930881641805172 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00934070535004139 }, "else": { "operation": "boost", "score": -0.14434757828712463 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1044711098074913 }, "else": { "operation": "boost", "score": 0.012832926586270332 } } }, "else": { "operation": "boost", "score": -0.051081329584121704 } } } } }, "else": { "operation": "boost", "score": -0.05190487205982208 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74698.5, "then": { "operation": "boost", "score": 0.0958346575498581 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07205484807491302 }, "else": { "operation": "boost", "score": -0.02284478209912777 } }, "else": { "operation": "boost", "score": 0.05239318311214447 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.08950471878051758 }, "else": { "operation": "boost", "score": -0.005573098547756672 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07164452224969864 }, "else": { "operation": "boost", "score": -0.014286796562373638 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.007321399170905352 }, "else": { "operation": "boost", "score": 0.06139461323618889 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0066644735634326935 }, "else": { "operation": "boost", "score": 0.03656499460339546 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 870.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.06477952003479004 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05223003774881363 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05914066731929779 }, "else": { "operation": "boost", "score": -0.002490680431947112 } } }, "else": { "operation": "boost", "score": -0.051967985928058624 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232885.0, "then": { "operation": "boost", "score": 0.052636682987213135 }, "else": { "operation": "boost", "score": 0.09809751808643341 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.04623384401202202 }, "else": { "operation": "boost", "score": 0.018698906525969505 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.07184974104166031 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.02045132964849472 }, "else": { "operation": "boost", "score": -0.08221940696239471 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12972143292427063 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09015408903360367 }, "else": { "operation": "boost", "score": 0.05772420018911362 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.04293544590473175 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10091078281402588 }, "else": { "operation": "boost", "score": 0.029248477891087532 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.036602653563022614 }, "else": { "operation": "boost", "score": 0.00355226406827569 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0549137108027935 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11693631112575531 }, "else": { "operation": "boost", "score": 0.09764218330383301 } }, "else": { "operation": "boost", "score": -0.008867346681654453 } }, "else": { "operation": "boost", "score": -0.05304865911602974 } } }, "else": { "operation": "boost", "score": -0.04288862273097038 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06931301951408386 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.029866216704249382 }, "else": { "operation": "boost", "score": -0.007407733239233494 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00097454380011186 }, "else": { "operation": "boost", "score": -0.08446692675352097 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10317377001047134 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.0923483818769455 }, "else": { "operation": "boost", "score": 0.08144746720790863 } }, "else": { "operation": "boost", "score": -0.00020703079644590616 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.09792269766330719 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.09649825096130371 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.023405618965625763 }, "else": { "operation": "boost", "score": 0.09765352308750153 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10566782206296921 }, "else": { "operation": "boost", "score": 0.09281321614980698 } }, "else": { "operation": "boost", "score": 0.059987083077430725 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07737923413515091 }, "else": { "operation": "boost", "score": 0.037114132195711136 } }, "else": { "operation": "boost", "score": -0.08701765537261963 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0707937628030777 }, "else": { "operation": "boost", "score": -0.04016260802745819 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06224945932626724 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0016023337375372648 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07745353877544403 }, "else": { "operation": "boost", "score": -0.031155699864029884 } } }, "else": { "operation": "boost", "score": -0.0709339901804924 } }, "else": { "operation": "boost", "score": -0.10312946140766144 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08009430021047592 }, "else": { "operation": "boost", "score": 0.04582371190190315 } }, "else": { "operation": "boost", "score": 0.03487525135278702 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05985572561621666 }, "else": { "operation": "boost", "score": 0.04902995377779007 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0559178926050663 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.0881718173623085 }, "else": { "operation": "boost", "score": 0.03103834018111229 } }, "else": { "operation": "boost", "score": 0.01171373575925827 } }, "else": { "operation": "boost", "score": 0.005262511782348156 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019006893038749695 }, "else": { "operation": "boost", "score": -0.08941081166267395 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010522305965423584 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10833871364593506 }, "else": { "operation": "boost", "score": 0.025784090161323547 } } } } } } } } }, "else": { "operation": "boost", "score": -0.0630820021033287 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09342595189809799 }, "else": { "operation": "boost", "score": 0.07373574376106262 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0695846751332283 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07961735129356384 }, "else": { "operation": "boost", "score": 0.04589905962347984 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05793866887688637 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03351264074444771 }, "else": { "operation": "boost", "score": -0.03798958286643028 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1824.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.10777954012155533 }, "else": { "operation": "boost", "score": 0.06254567205905914 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "boost", "score": 0.08764096349477768 }, "else": { "operation": "boost", "score": 0.06035589054226875 } }, "else": { "operation": "boost", "score": 0.0382685512304306 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07439883053302765 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07669363170862198 }, "else": { "operation": "boost", "score": 0.038981880992650986 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.061584826558828354 }, "else": { "operation": "boost", "score": 0.035351768136024475 } }, "else": { "operation": "boost", "score": 0.006135711912065744 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06084693223237991 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06163299083709717 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.027430858463048935 }, "else": { "operation": "boost", "score": 0.1187608391046524 } }, "else": { "operation": "boost", "score": -0.011388116516172886 } } }, "else": { "operation": "boost", "score": 0.013723080977797508 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0593663789331913 }, "else": { "operation": "boost", "score": 0.006369420327246189 } } }, "else": { "operation": "boost", "score": -0.00507610896602273 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027215968817472458 }, "else": { "operation": "boost", "score": -0.0556110180914402 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.08538372069597244 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09037275612354279 }, "else": { "operation": "boost", "score": 0.052768297493457794 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "boost", "score": 0.04757707938551903 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05186133459210396 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06660959124565125 }, "else": { "operation": "boost", "score": 0.011326676234602928 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024015840142965317 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.075357586145401 }, "else": { "operation": "boost", "score": 0.09925658255815506 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.036195699125528336 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09776913374662399 }, "else": { "operation": "boost", "score": 0.013994164764881134 } }, "else": { "operation": "boost", "score": -0.019845962524414062 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0705142691731453 }, "else": { "operation": "boost", "score": 0.017606602981686592 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.05008108541369438 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06194464862346649 }, "else": { "operation": "boost", "score": 0.002559500513598323 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.026456739753484726 }, "else": { "operation": "boost", "score": -0.06607094407081604 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.0038725873455405235 }, "else": { "operation": "boost", "score": -0.060715582221746445 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": 0.08426836133003235 }, "else": { "operation": "boost", "score": 0.1207113042473793 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07478822022676468 }, "else": { "operation": "boost", "score": 0.049134548753499985 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03027326613664627 }, "else": { "operation": "boost", "score": 0.0875263437628746 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05003299191594124 }, "else": { "operation": "boost", "score": 0.026404617354273796 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.0621512345969677 }, "else": { "operation": "boost", "score": -0.004882383160293102 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232885.0, "then": { "operation": "boost", "score": 0.05107228457927704 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1320185661315918 }, "else": { "operation": "boost", "score": 0.08798015117645264 } } }, "else": { "operation": "boost", "score": 0.0328422449529171 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10311909765005112 }, "else": { "operation": "boost", "score": 0.06018409505486488 } }, "else": { "operation": "boost", "score": -0.03711516037583351 } }, "else": { "operation": "boost", "score": -0.017871158197522163 } }, "else": { "operation": "boost", "score": -0.13587448000907898 } }, "else": { "operation": "boost", "score": -0.012079334817826748 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08654595911502838 }, "else": { "operation": "boost", "score": -0.003941063303500414 } }, "else": { "operation": "boost", "score": -0.11074119806289673 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13122060894966125 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0037409812211990356 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09075275808572769 }, "else": { "operation": "boost", "score": 0.056583043187856674 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.09258755296468735 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13073670864105225 }, "else": { "operation": "boost", "score": 0.04107252508401871 } } } }, "else": { "operation": "boost", "score": -0.03138996288180351 } }, "else": { "operation": "boost", "score": -0.04189859330654144 } }, "else": { "operation": "boost", "score": -0.0852886214852333 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0893988385796547 }, "else": { "operation": "boost", "score": 0.03256858140230179 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04810502380132675 }, "else": { "operation": "boost", "score": -0.017660589888691902 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09312154352664948 }, "else": { "operation": "boost", "score": 0.08272507786750793 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12514.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09711265563964844 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01823018305003643 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77931.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84990.5, "then": { "operation": "boost", "score": 0.10740295052528381 }, "else": { "operation": "boost", "score": 0.11544239521026611 } }, "else": { "operation": "boost", "score": 0.09274859726428986 } }, "else": { "operation": "boost", "score": 0.08835053443908691 } }, "else": { "operation": "boost", "score": 0.06811776757240295 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0684371143579483 }, "else": { "operation": "boost", "score": 0.029512256383895874 } }, "else": { "operation": "boost", "score": -0.09247734397649765 } }, "else": { "operation": "boost", "score": -0.08651486039161682 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06889069080352783 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08481054753065109 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "boost", "score": 0.08114530891180038 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08665550500154495 }, "else": { "operation": "boost", "score": 0.06799590587615967 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08889246731996536 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08321958035230637 }, "else": { "operation": "boost", "score": -0.0016367328353226185 } }, "else": { "operation": "boost", "score": -0.0044402084313333035 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.0766592025756836 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06383705139160156 }, "else": { "operation": "boost", "score": 0.01655348762869835 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0583675391972065 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09827175736427307 }, "else": { "operation": "boost", "score": 0.04972014203667641 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04819831997156143 }, "else": { "operation": "boost", "score": -0.013774477876722813 } } }, "else": { "operation": "boost", "score": 0.04738261178135872 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06828513741493225 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5193.0, "then": { "operation": "boost", "score": 0.1343366503715515 }, "else": { "operation": "boost", "score": 0.04075400531291962 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01613052375614643 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06751663982868195 }, "else": { "operation": "boost", "score": 0.03755037486553192 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09295402467250824 }, "else": { "operation": "boost", "score": 0.013178643770515919 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10390646755695343 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03865008428692818 }, "else": { "operation": "boost", "score": 0.037165217101573944 } } } } }, "else": { "operation": "boost", "score": -0.057857438921928406 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07664944231510162 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.07431796193122864 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07741449028253555 }, "else": { "operation": "boost", "score": 0.03532523289322853 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07240114361047745 }, "else": { "operation": "boost", "score": -0.008541225455701351 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.042659319937229156 }, "else": { "operation": "boost", "score": -0.029158124700188637 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.0651618093252182 }, "else": { "operation": "boost", "score": 0.0359388068318367 } }, "else": { "operation": "boost", "score": 0.02104014903306961 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08601906895637512 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14245766401290894 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.033081088215112686 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11253242939710617 }, "else": { "operation": "boost", "score": 0.11515773087739944 } }, "else": { "operation": "boost", "score": -0.09656865894794464 } } }, "else": { "operation": "boost", "score": 0.011491547338664532 } } } }, "else": { "operation": "boost", "score": -0.012651240453124046 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04407075420022011 }, "else": { "operation": "boost", "score": -0.03524129092693329 } }, "else": { "operation": "boost", "score": -0.050565704703330994 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.08152072876691818 }, "else": { "operation": "boost", "score": 0.05316375568509102 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.0648023784160614 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.07396739721298218 }, "else": { "operation": "boost", "score": 0.01674993522465229 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.005528525914996862 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07236923277378082 }, "else": { "operation": "boost", "score": 0.024193083867430687 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "boost", "score": 0.090275339782238 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "boost", "score": 0.08325894922018051 }, "else": { "operation": "boost", "score": 0.019297409802675247 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.04293643683195114 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.12360203266143799 }, "else": { "operation": "boost", "score": -0.16001495718955994 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": 0.027830373495817184 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09972120821475983 }, "else": { "operation": "boost", "score": -0.13732948899269104 } } } }, "else": { "operation": "boost", "score": 0.009341474622488022 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232885.0, "then": { "operation": "boost", "score": 0.07205983251333237 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13227252662181854 }, "else": { "operation": "boost", "score": 0.09050342440605164 } } }, "else": { "operation": "boost", "score": 0.04412587732076645 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06820765882730484 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0015539037995040417 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07189871370792389 }, "else": { "operation": "boost", "score": 0.09285453706979752 } } }, "else": { "operation": "boost", "score": 0.02583738975226879 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.042868565768003464 }, "else": { "operation": "boost", "score": -0.040663834661245346 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08380847424268723 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047911666333675385 }, "else": { "operation": "boost", "score": 0.03301067277789116 } } }, "else": { "operation": "boost", "score": -0.015438049100339413 } } }, "else": { "operation": "boost", "score": -0.018502069637179375 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.033792346715927124 }, "else": { "operation": "boost", "score": 0.08837075531482697 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06468883901834488 }, "else": { "operation": "boost", "score": -0.023372258991003036 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04267771914601326 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.014721457846462727 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.054524026811122894 }, "else": { "operation": "boost", "score": -0.02131679654121399 } }, "else": { "operation": "boost", "score": 0.04536445066332817 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.050931207835674286 }, "else": { "operation": "boost", "score": 4.428053580340929e-05 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03700250759720802 }, "else": { "operation": "boost", "score": -0.08898263424634933 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12704205513000488 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.043968044221401215 }, "else": { "operation": "boost", "score": 0.06796815246343613 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09356242418289185 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13237541913986206 }, "else": { "operation": "boost", "score": 0.025273969396948814 } } } }, "else": { "operation": "boost", "score": -0.07605123519897461 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105.5, "then": { "operation": "boost", "score": 0.06268271058797836 }, "else": { "operation": "boost", "score": -0.01498045027256012 } }, "else": { "operation": "boost", "score": -0.06562621891498566 } } } }, "else": { "operation": "boost", "score": -0.08492957055568695 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.008059509098529816 }, "else": { "operation": "boost", "score": 0.03598053753376007 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.011726466938853264 }, "else": { "operation": "boost", "score": 0.025359272956848145 } }, "else": { "operation": "boost", "score": -0.039822421967983246 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09135644137859344 }, "else": { "operation": "boost", "score": 0.08007028698921204 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7575.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09479282051324844 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08896294236183167 }, "else": { "operation": "boost", "score": 0.007308934349566698 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73593.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84990.5, "then": { "operation": "boost", "score": 0.0896790474653244 }, "else": { "operation": "boost", "score": 0.11141793429851532 } }, "else": { "operation": "boost", "score": 0.06938593834638596 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.08616528660058975 }, "else": { "operation": "boost", "score": 0.05002440884709358 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06650588661432266 }, "else": { "operation": "boost", "score": 0.026207393035292625 } }, "else": { "operation": "boost", "score": -0.08989682793617249 } }, "else": { "operation": "boost", "score": -0.08138225227594376 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06619539111852646 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0696754977107048 }, "else": { "operation": "boost", "score": 0.04848765581846237 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.08888519555330276 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.037024322897195816 }, "else": { "operation": "boost", "score": 0.06619442254304886 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07570477575063705 }, "else": { "operation": "boost", "score": 0.032060544937849045 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": 0.07571464776992798 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04354720190167427 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03406090661883354 }, "else": { "operation": "boost", "score": -0.009917452931404114 } } } } }, "else": { "operation": "boost", "score": -0.11006338149309158 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06586812436580658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5193.0, "then": { "operation": "boost", "score": 0.1310865432024002 }, "else": { "operation": "boost", "score": 0.037340447306632996 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017075568437576294 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06341297924518585 }, "else": { "operation": "boost", "score": 0.0369831807911396 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08739450573921204 }, "else": { "operation": "boost", "score": 0.012297623790800571 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09857532382011414 }, "else": { "operation": "boost", "score": 0.002416216768324375 } } } }, "else": { "operation": "boost", "score": -0.053795844316482544 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.06922168284654617 }, "else": { "operation": "boost", "score": 0.03493443876504898 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 387.5, "then": { "operation": "boost", "score": 0.08126267790794373 }, "else": { "operation": "boost", "score": 0.03454116731882095 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13794420659542084 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.039785128086805344 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10404191166162491 }, "else": { "operation": "boost", "score": -0.0792955830693245 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04361078888177872 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1415119767189026 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04706868529319763 }, "else": { "operation": "boost", "score": 0.08841720223426819 } } } } }, "else": { "operation": "boost", "score": -0.014698009006679058 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.02212350070476532 }, "else": { "operation": "boost", "score": 0.07571226358413696 } }, "else": { "operation": "boost", "score": -0.007588032633066177 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025023505091667175 }, "else": { "operation": "boost", "score": -0.0476553700864315 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08277486264705658 }, "else": { "operation": "boost", "score": 0.06714751571416855 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.04301051050424576 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05100608617067337 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10189071297645569 }, "else": { "operation": "boost", "score": 0.04259112477302551 } }, "else": { "operation": "boost", "score": 0.013387382961809635 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "boost", "score": 0.09983295947313309 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.0616714246571064 }, "else": { "operation": "boost", "score": -0.11321079730987549 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.12941700220108032 }, "else": { "operation": "boost", "score": 0.09164793789386749 } }, "else": { "operation": "boost", "score": -0.0023750122636556625 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13015133142471313 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.13540054857730865 }, "else": { "operation": "boost", "score": 0.08932498842477798 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.13570636510849 }, "else": { "operation": "boost", "score": 0.08814340829849243 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264171.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273025.5, "then": { "operation": "boost", "score": 0.08293403685092926 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.11204017698764801 }, "else": { "operation": "boost", "score": 0.08128876239061356 } }, "else": { "operation": "boost", "score": 0.04856429994106293 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": -0.061177629977464676 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09744954109191895 }, "else": { "operation": "boost", "score": 0.015854839235544205 } } } }, "else": { "operation": "boost", "score": -0.03093758411705494 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.020877689123153687 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.05735174939036369 }, "else": { "operation": "boost", "score": -0.006130884867161512 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.046285390853881836 }, "else": { "operation": "boost", "score": 0.020519107580184937 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03126411512494087 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05805373936891556 }, "else": { "operation": "boost", "score": 0.005011792294681072 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008341067470610142 }, "else": { "operation": "boost", "score": -0.08316756039857864 } }, "else": { "operation": "boost", "score": -0.013753273524343967 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022720307111740112 }, "else": { "operation": "boost", "score": 0.0695817619562149 } }, "else": { "operation": "boost", "score": 0.03724489361047745 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.02403952367603779 }, "else": { "operation": "boost", "score": 0.08231966942548752 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06292029470205307 }, "else": { "operation": "boost", "score": 0.019056949764490128 } }, "else": { "operation": "boost", "score": 0.004607690032571554 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 581.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06922274827957153 }, "else": { "operation": "boost", "score": 0.02162468060851097 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.056104764342308044 }, "else": { "operation": "boost", "score": -0.010733982548117638 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07592273503541946 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10938204824924469 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07606726884841919 }, "else": { "operation": "boost", "score": 0.045556604862213135 } }, "else": { "operation": "boost", "score": -0.08190710842609406 } }, "else": { "operation": "boost", "score": 0.006435176823288202 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.03100009448826313 }, "else": { "operation": "boost", "score": 0.08334456384181976 } }, "else": { "operation": "boost", "score": -0.1997450739145279 } }, "else": { "operation": "boost", "score": 0.08569660782814026 } }, "else": { "operation": "boost", "score": -0.03708374500274658 } }, "else": { "operation": "boost", "score": -0.022962380200624466 } } }, "else": { "operation": "boost", "score": 0.03146202489733696 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01772993430495262 }, "else": { "operation": "boost", "score": -0.017333853989839554 } }, "else": { "operation": "boost", "score": -0.043290577828884125 } } }, "else": { "operation": "boost", "score": -0.03167363256216049 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0014842142118141055 }, "else": { "operation": "boost", "score": -0.08171065151691437 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08392807096242905 }, "else": { "operation": "boost", "score": 0.029083790257573128 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.044111788272857666 }, "else": { "operation": "boost", "score": -0.015163918025791645 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10067874938249588 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.08627073466777802 }, "else": { "operation": "boost", "score": 0.07291499525308609 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7575.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "boost", "score": 0.09284372627735138 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09310548007488251 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06652458757162094 }, "else": { "operation": "boost", "score": -0.17707450687885284 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.09019778668880463 }, "else": { "operation": "boost", "score": 0.046058539301157 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07563214004039764 }, "else": { "operation": "boost", "score": 0.0027830321341753006 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06343098729848862 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08036766201257706 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09342345595359802 }, "else": { "operation": "boost", "score": 0.04861126467585564 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.08710283786058426 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.044710878282785416 }, "else": { "operation": "boost", "score": 0.06463898718357086 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07283500581979752 }, "else": { "operation": "boost", "score": 0.02886701561510563 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06960007548332214 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.053393542766571045 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04204033687710762 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05820286646485329 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0018233559094369411 }, "else": { "operation": "boost", "score": 0.033598076552152634 } } } } } } }, "else": { "operation": "boost", "score": -0.10918457806110382 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06319963186979294 }, "else": { "operation": "boost", "score": 0.03681119903922081 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020556598901748657 }, "else": { "operation": "boost", "score": 0.056548845022916794 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.022040395066142082 }, "else": { "operation": "boost", "score": 0.004919133614748716 } } }, "else": { "operation": "boost", "score": -0.039104361087083817 } }, "else": { "operation": "boost", "score": -0.03598126024007797 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1162165030837059 }, "else": { "operation": "boost", "score": 0.06994906067848206 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.06921873986721039 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07271486520767212 }, "else": { "operation": "boost", "score": 0.03280389681458473 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06686954945325851 }, "else": { "operation": "boost", "score": 0.03550266847014427 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.010783005505800247 }, "else": { "operation": "boost", "score": 0.0462612584233284 } }, "else": { "operation": "boost", "score": -0.01924499124288559 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.020437201485037804 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "boost", "score": 0.06794261187314987 }, "else": { "operation": "boost", "score": 0.0285759549587965 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.052950672805309296 }, "else": { "operation": "boost", "score": 0.042777229100465775 } }, "else": { "operation": "boost", "score": -0.09723427146673203 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04428441822528839 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09772106260061264 }, "else": { "operation": "boost", "score": -0.009438318200409412 } } }, "else": { "operation": "boost", "score": 0.03153389319777489 } }, "else": { "operation": "boost", "score": 0.003667350159958005 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024628279730677605 }, "else": { "operation": "boost", "score": -0.04667884483933449 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "boost", "score": 0.08511848002672195 }, "else": { "operation": "boost", "score": 0.05778088793158531 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.04729313403367996 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0485570915043354 }, "else": { "operation": "boost", "score": 0.013157844543457031 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015474632382392883 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.08945541083812714 }, "else": { "operation": "boost", "score": -0.10193636268377304 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 198405.5, "then": { "operation": "boost", "score": 0.10496819019317627 }, "else": { "operation": "boost", "score": 0.08111914992332458 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09351178258657455 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.15728268027305603 }, "else": { "operation": "boost", "score": 0.029967542737722397 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.08110979944467545 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08331993967294693 }, "else": { "operation": "boost", "score": -0.003137121209874749 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.05544688180088997 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.06129080057144165 }, "else": { "operation": "boost", "score": -0.05682460218667984 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04501616954803467 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.04626083746552467 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10901685059070587 }, "else": { "operation": "boost", "score": 0.0905221700668335 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.046262115240097046 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.03218597173690796 }, "else": { "operation": "boost", "score": 0.07791799306869507 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.025786008685827255 }, "else": { "operation": "boost", "score": -0.04138358682394028 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.081760473549366 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08928748965263367 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5370.0, "then": { "operation": "boost", "score": -0.012499156408011913 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023397235199809074 }, "else": { "operation": "boost", "score": 0.07281772792339325 } } }, "else": { "operation": "boost", "score": -0.04201535880565643 } }, "else": { "operation": "boost", "score": 0.0011257156729698181 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 940.5, "then": { "operation": "boost", "score": 0.005134996492415667 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.08970794081687927 }, "else": { "operation": "boost", "score": -0.004346480593085289 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.07375454157590866 }, "else": { "operation": "boost", "score": -0.024015512317419052 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10800918191671371 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.09589429199695587 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.029589621350169182 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "boost", "score": 0.06180159002542496 }, "else": { "operation": "boost", "score": 0.015615345910191536 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.17214460670948029 }, "else": { "operation": "boost", "score": 0.09117156267166138 } }, "else": { "operation": "boost", "score": 0.04586068168282509 } }, "else": { "operation": "boost", "score": 0.027624404057860374 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01148206740617752 }, "else": { "operation": "boost", "score": 0.03959982097148895 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11906106770038605 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.0093355318531394 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05716763809323311 }, "else": { "operation": "boost", "score": -0.00470251077786088 } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49723.5, "then": { "operation": "boost", "score": -0.13882485032081604 }, "else": { "operation": "boost", "score": 0.08089102059602737 } }, "else": { "operation": "boost", "score": 0.13223616778850555 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06257680058479309 }, "else": { "operation": "boost", "score": 0.017048699781298637 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.059236474335193634 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.048143502324819565 }, "else": { "operation": "boost", "score": 0.0007864386425353587 } } }, "else": { "operation": "boost", "score": 0.004954515025019646 } }, "else": { "operation": "boost", "score": -0.10098420083522797 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07652298361063004 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0025255673099309206 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2757.0, "then": { "operation": "boost", "score": 0.01934683695435524 }, "else": { "operation": "boost", "score": -0.05180923268198967 } }, "else": { "operation": "boost", "score": -0.1274133175611496 } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.08789907395839691 }, "else": { "operation": "boost", "score": 0.075346939265728 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1270161271095276, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1806.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08851215988397598 }, "else": { "operation": "boost", "score": 0.06425967067480087 } }, "else": { "operation": "boost", "score": 0.03760486841201782 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09424003213644028 }, "else": { "operation": "boost", "score": 0.05412360653281212 } }, "else": { "operation": "boost", "score": 0.051557548344135284 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.009529179893434048 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09455171227455139 }, "else": { "operation": "boost", "score": 0.045474469661712646 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.02814585715532303 }, "else": { "operation": "boost", "score": 0.020032761618494987 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04983522742986679 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05207139253616333 }, "else": { "operation": "boost", "score": 0.033339258283376694 } } } }, "else": { "operation": "boost", "score": -0.04329584911465645 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0666096955537796 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.043819598853588104 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07354723662137985 }, "else": { "operation": "boost", "score": 0.04949215054512024 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0789833813905716 }, "else": { "operation": "boost", "score": 0.057269856333732605 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.035743337124586105 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.07975336909294128 }, "else": { "operation": "boost", "score": 0.021809836849570274 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06984925270080566 }, "else": { "operation": "boost", "score": 0.040482331067323685 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08625160157680511 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07510485500097275 }, "else": { "operation": "boost", "score": 0.036195915192365646 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04099170118570328 }, "else": { "operation": "boost", "score": -0.00725484499707818 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": 0.06761649250984192 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.056078147143125534 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05797497555613518 }, "else": { "operation": "boost", "score": 0.010025756433606148 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.06654965877532959 }, "else": { "operation": "boost", "score": 0.03340846300125122 } } } } }, "else": { "operation": "boost", "score": -0.08098731189966202 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "boost", "score": 0.08774168789386749 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0056931376457214355 }, "else": { "operation": "boost", "score": 0.08227699995040894 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.19050925970077515 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0035564282443374395 }, "else": { "operation": "boost", "score": 0.06606845557689667 } }, "else": { "operation": "boost", "score": 0.02850550413131714 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.09786032140254974 }, "else": { "operation": "boost", "score": 0.09303568303585052 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.040045369416475296 }, "else": { "operation": "boost", "score": -0.023274598643183708 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.055724211037158966 }, "else": { "operation": "boost", "score": -0.013857407495379448 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09575559198856354 }, "else": { "operation": "boost", "score": 0.01435299776494503 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.031674522906541824 }, "else": { "operation": "boost", "score": 0.028965743258595467 } }, "else": { "operation": "boost", "score": -0.03554097190499306 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.057847291231155396 }, "else": { "operation": "boost", "score": -0.049851033836603165 } }, "else": { "operation": "boost", "score": 0.02620515413582325 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03217291086912155 }, "else": { "operation": "boost", "score": -0.07598181068897247 } }, "else": { "operation": "boost", "score": -0.0753120556473732 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08850383758544922 }, "else": { "operation": "boost", "score": 0.018392672762274742 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16902890801429749 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010364354588091373 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11598225682973862 }, "else": { "operation": "boost", "score": 0.04435458406805992 } }, "else": { "operation": "boost", "score": 0.009905827231705189 } } } } }, "else": { "operation": "boost", "score": -0.09524787962436676 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20597.0, "then": { "operation": "boost", "score": 0.08147579431533813 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.06489517539739609 }, "else": { "operation": "boost", "score": -0.011487503536045551 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.049544937908649445 }, "else": { "operation": "boost", "score": 0.0030367558356374502 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07777697592973709 }, "else": { "operation": "boost", "score": 0.01358069572597742 } }, "else": { "operation": "boost", "score": -0.012877598404884338 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.0735241025686264 }, "else": { "operation": "boost", "score": 0.028504744172096252 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07509507983922958 }, "else": { "operation": "boost", "score": 0.08101535588502884 } } }, "else": { "operation": "boost", "score": 0.022219710052013397 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 581.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.09682779014110565 }, "else": { "operation": "boost", "score": 0.03936528414487839 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00757240317761898 }, "else": { "operation": "boost", "score": -0.13421818614006042 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.008844533003866673 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187158.0, "then": { "operation": "boost", "score": 0.11304394900798798 }, "else": { "operation": "boost", "score": 0.08303230255842209 } }, "else": { "operation": "boost", "score": -0.13516467809677124 } }, "else": { "operation": "boost", "score": 0.05875775218009949 } } }, "else": { "operation": "boost", "score": 0.026508890092372894 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32765.0, "then": { "operation": "boost", "score": 0.06899567693471909 }, "else": { "operation": "boost", "score": -0.0013012569397687912 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.01070721261203289 }, "else": { "operation": "boost", "score": -0.0563492551445961 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08111248910427094 }, "else": { "operation": "boost", "score": 0.007835101336240768 } }, "else": { "operation": "boost", "score": -0.10662547498941422 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1068122461438179 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "boost", "score": 0.0356283038854599 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0617600753903389 }, "else": { "operation": "boost", "score": -0.08199266344308853 } }, "else": { "operation": "boost", "score": 0.03299416974186897 } }, "else": { "operation": "boost", "score": 0.009433649480342865 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02071189135313034 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.036466922610998154 }, "else": { "operation": "boost", "score": -0.012954932637512684 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.046005502343177795 }, "else": { "operation": "boost", "score": 0.009463856928050518 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.13782262802124023 }, "else": { "operation": "boost", "score": -0.007625964470207691 } } }, "else": { "operation": "boost", "score": -0.03862855210900307 } } }, "else": { "operation": "boost", "score": -0.02687297761440277 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.039446283131837845 }, "else": { "operation": "boost", "score": -0.08614985644817352 } }, "else": { "operation": "boost", "score": -0.02660578489303589 } }, "else": { "operation": "boost", "score": -0.07472296804189682 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07979777455329895 }, "else": { "operation": "boost", "score": 0.030924739316105843 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08106954395771027 }, "else": { "operation": "boost", "score": 0.032302066683769226 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.02502615936100483 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.015509710647165775 }, "else": { "operation": "boost", "score": -0.04457830637693405 } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09872359037399292 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.08197091519832611 }, "else": { "operation": "boost", "score": 0.06736098229885101 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7575.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "boost", "score": 0.08998654037714005 }, "else": { "operation": "boost", "score": 0.06968195736408234 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.0873364731669426 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.07643233984708786 }, "else": { "operation": "boost", "score": 0.030162474140524864 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06487281620502472 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.04741872847080231 }, "else": { "operation": "boost", "score": -0.048040490597486496 } }, "else": { "operation": "boost", "score": -0.09231913834810257 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08414869010448456 }, "else": { "operation": "boost", "score": 0.041038207709789276 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.062209319323301315 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10641731321811676 }, "else": { "operation": "boost", "score": 0.07032612711191177 } }, "else": { "operation": "boost", "score": 0.04887983575463295 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": -0.035306110978126526 }, "else": { "operation": "boost", "score": 0.048363812267780304 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06411162763834 }, "else": { "operation": "boost", "score": 0.03022221103310585 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.04685072973370552 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.031144898384809494 }, "else": { "operation": "boost", "score": -0.016564732417464256 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "boost", "score": 0.06419087201356888 }, "else": { "operation": "boost", "score": 0.03928451985120773 } }, "else": { "operation": "boost", "score": -0.03723074495792389 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08988682925701141 }, "else": { "operation": "boost", "score": 0.05590153858065605 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.05413491651415825 }, "else": { "operation": "boost", "score": 0.08074765652418137 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0341850109398365 }, "else": { "operation": "boost", "score": 0.017658470198512077 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.049269162118434906 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008399727754294872 }, "else": { "operation": "boost", "score": 0.031680621206760406 } } } } } } } }, "else": { "operation": "boost", "score": -0.04662651568651199 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06157805025577545 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0669250413775444 }, "else": { "operation": "boost", "score": 0.01607251539826393 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "boost", "score": 0.1193774864077568 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03901701793074608 }, "else": { "operation": "boost", "score": 0.024543261155486107 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.07168685644865036 }, "else": { "operation": "boost", "score": -0.013119873590767384 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06758418679237366 }, "else": { "operation": "boost", "score": -0.5574522614479065 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.052153367549180984 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13580265641212463 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0469030886888504 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09123774617910385 }, "else": { "operation": "boost", "score": 0.10030711442232132 } }, "else": { "operation": "boost", "score": -0.045858778059482574 } } } } }, "else": { "operation": "boost", "score": -0.015806525945663452 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.009758470579981804 }, "else": { "operation": "boost", "score": 0.039818186312913895 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03367221727967262 }, "else": { "operation": "boost", "score": -0.05640244483947754 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07944057136774063 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.062197159975767136 }, "else": { "operation": "boost", "score": 0.03104669786989689 } }, "else": { "operation": "boost", "score": 0.023860899731516838 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05641775205731392 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "boost", "score": 0.03929045423865318 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08618791401386261 }, "else": { "operation": "boost", "score": -0.015522364526987076 } } } }, "else": { "operation": "boost", "score": -0.1055876836180687 } }, "else": { "operation": "boost", "score": 0.005012127570807934 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.09871447831392288 }, "else": { "operation": "boost", "score": 0.05438857153058052 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12398365885019302 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1256972849369049 }, "else": { "operation": "boost", "score": 0.08615061640739441 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.11999232321977615 }, "else": { "operation": "boost", "score": 0.08579452335834503 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264171.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273025.5, "then": { "operation": "boost", "score": 0.07584714144468307 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1096184253692627 }, "else": { "operation": "boost", "score": 0.004607091192156076 } }, "else": { "operation": "boost", "score": 0.04257171228528023 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": -0.0650925412774086 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.094392329454422 }, "else": { "operation": "boost", "score": 0.005990504752844572 } } } }, "else": { "operation": "boost", "score": -0.031708575785160065 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1648312211036682 }, "else": { "operation": "boost", "score": 0.05497560650110245 } }, "else": { "operation": "boost", "score": -0.024783611297607422 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04685540124773979 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.04249753803014755 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10637534409761429 }, "else": { "operation": "boost", "score": 0.08636943995952606 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.040203243494033813 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0145797124132514 }, "else": { "operation": "boost", "score": -0.07359009236097336 } }, "else": { "operation": "boost", "score": 0.036649495363235474 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.02340787649154663 }, "else": { "operation": "boost", "score": -0.03874290734529495 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132310.5, "then": { "operation": "boost", "score": -0.15363211929798126 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119809.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.10059624165296555 }, "else": { "operation": "boost", "score": 0.12277239561080933 } }, "else": { "operation": "boost", "score": -0.0770590528845787 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32960.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04664462432265282 }, "else": { "operation": "boost", "score": 0.009552362374961376 } }, "else": { "operation": "boost", "score": -0.02547462098300457 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05462200567126274 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05985894054174423 }, "else": { "operation": "boost", "score": 0.020128609612584114 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.052531417459249496 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.05209973081946373 }, "else": { "operation": "boost", "score": 0.009102663956582546 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1082284152507782 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.030693987384438515 }, "else": { "operation": "boost", "score": 0.01698054000735283 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04394466429948807 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.057003047317266464 }, "else": { "operation": "boost", "score": 0.025309709832072258 } } }, "else": { "operation": "boost", "score": -0.005929052364081144 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.08705512434244156 }, "else": { "operation": "boost", "score": 0.021737249568104744 } }, "else": { "operation": "boost", "score": 0.01960531249642372 } } } } } }, "else": { "operation": "boost", "score": -0.09939649701118469 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.07908763736486435 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06345485895872116 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16892889142036438 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09365928918123245 }, "else": { "operation": "boost", "score": 0.006781045347452164 } } }, "else": { "operation": "boost", "score": -0.023729657754302025 } } }, "else": { "operation": "boost", "score": -0.056688521057367325 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09731945395469666 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.07989729195833206 }, "else": { "operation": "boost", "score": 0.06483777612447739 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3080.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.09491527825593948 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.1088867336511612 }, "else": { "operation": "boost", "score": 0.07897485047578812 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.07343357801437378 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12794436514377594 }, "else": { "operation": "boost", "score": 0.05048217251896858 } } } }, "else": { "operation": "boost", "score": 0.0579235665500164 } }, "else": { "operation": "boost", "score": 0.04058661311864853 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06201847270131111 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.04506154730916023 }, "else": { "operation": "boost", "score": -0.04513317719101906 } }, "else": { "operation": "boost", "score": -0.08958901464939117 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08449019491672516 }, "else": { "operation": "boost", "score": 0.040069084614515305 } }, "else": { "operation": "boost", "score": 0.031185993924736977 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.052609220147132874 }, "else": { "operation": "boost", "score": -0.03433993458747864 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08832202851772308 }, "else": { "operation": "boost", "score": 0.05526881292462349 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119.5, "then": { "operation": "boost", "score": 0.05773753300309181 }, "else": { "operation": "boost", "score": 0.02371937967836857 } }, "else": { "operation": "boost", "score": 0.059307217597961426 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01563681662082672 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.02927275002002716 }, "else": { "operation": "boost", "score": -0.006779302377253771 } } } } } } }, "else": { "operation": "boost", "score": -0.04203947260975838 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0584188736975193 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06327126175165176 }, "else": { "operation": "boost", "score": 0.014889768324792385 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03181548789143562 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.03528653085231781 }, "else": { "operation": "boost", "score": 0.015112093649804592 } }, "else": { "operation": "boost", "score": -0.042949531227350235 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10151847451925278 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029236869886517525 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08996883034706116 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.06533820182085037 }, "else": { "operation": "boost", "score": 0.023291969671845436 } } }, "else": { "operation": "boost", "score": 0.030581381171941757 } } } }, "else": { "operation": "boost", "score": 0.0016626284923404455 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.058669835329055786 }, "else": { "operation": "boost", "score": 0.020888676866889 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.010735388845205307 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.0642884150147438 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05645941197872162 }, "else": { "operation": "boost", "score": -0.00040069565875455737 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.057466693222522736 }, "else": { "operation": "boost", "score": 0.025141548365354538 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.023993564769625664 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.08527660369873047 }, "else": { "operation": "boost", "score": -0.09076095372438431 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 198405.5, "then": { "operation": "boost", "score": 0.09589798748493195 }, "else": { "operation": "boost", "score": 0.07586498558521271 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08843601495027542 }, "else": { "operation": "boost", "score": -0.006551298778504133 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.07459289580583572 }, "else": { "operation": "boost", "score": 0.000743978307582438 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.04947618767619133 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.05929142236709595 }, "else": { "operation": "boost", "score": -0.046401247382164 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.037565089762210846 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.03824583441019058 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10313776880502701 }, "else": { "operation": "boost", "score": 0.08181336522102356 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03612849861383438 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.014903333969414234 }, "else": { "operation": "boost", "score": -0.06970115005970001 } }, "else": { "operation": "boost", "score": 0.033681388944387436 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09335577487945557 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5370.0, "then": { "operation": "boost", "score": -0.018037322908639908 }, "else": { "operation": "boost", "score": 0.061465781182050705 } }, "else": { "operation": "boost", "score": 0.02485499531030655 } }, "else": { "operation": "boost", "score": -0.03709835931658745 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.042006563395261765 }, "else": { "operation": "boost", "score": -0.026718884706497192 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 27.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.029164733365178108 }, "else": { "operation": "boost", "score": -0.05955085530877113 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 615.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.049270398914813995 }, "else": { "operation": "boost", "score": -0.0033012637868523598 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1297176033258438 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09011422097682953 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04931050166487694 }, "else": { "operation": "boost", "score": 0.03580121695995331 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09131370484828949 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1068190485239029 }, "else": { "operation": "boost", "score": 0.041117437183856964 } }, "else": { "operation": "boost", "score": -0.06838186830282211 } }, "else": { "operation": "boost", "score": -0.02556418627500534 } } } }, "else": { "operation": "boost", "score": -0.060227613896131516 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.06803583353757858 }, "else": { "operation": "boost", "score": 0.044391948729753494 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.043921686708927155 }, "else": { "operation": "boost", "score": 0.0068383910693228245 } }, "else": { "operation": "boost", "score": -0.13665585219860077 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.09601348638534546 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.020904025062918663 }, "else": { "operation": "boost", "score": -0.05032522976398468 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0467047281563282 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.051899079233407974 }, "else": { "operation": "boost", "score": 0.01674993708729744 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.04899131879210472 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04853443428874016 }, "else": { "operation": "boost", "score": 0.008381363935768604 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10647056251764297 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02866552583873272 }, "else": { "operation": "boost", "score": 0.01650068536400795 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04078193008899689 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017721718177199364 }, "else": { "operation": "boost", "score": 0.061443161219358444 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.050061728805303574 }, "else": { "operation": "boost", "score": -0.12956923246383667 } } }, "else": { "operation": "boost", "score": 0.01393858902156353 } } }, "else": { "operation": "boost", "score": -0.006136552896350622 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.08498378098011017 }, "else": { "operation": "boost", "score": 0.019983593374490738 } }, "else": { "operation": "boost", "score": 0.01842333935201168 } } } } } }, "else": { "operation": "boost", "score": -0.09822528809309006 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.07650573551654816 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06101098656654358 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02221117913722992 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14115308225154877 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024139219895005226 }, "else": { "operation": "boost", "score": 0.010109794326126575 } } }, "else": { "operation": "boost", "score": -0.028897222131490707 } } } }, "else": { "operation": "boost", "score": -0.054896578192710876 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0819200873374939 }, "else": { "operation": "boost", "score": 0.06793849170207977 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3080.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08236880600452423 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07438463717699051 }, "else": { "operation": "boost", "score": 0.0037530993577092886 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10078409314155579 }, "else": { "operation": "boost", "score": 0.05418791621923447 } }, "else": { "operation": "boost", "score": 0.052835676819086075 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06629891693592072 }, "else": { "operation": "boost", "score": 0.027698509395122528 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.04210464656352997 }, "else": { "operation": "boost", "score": -0.05672710761427879 } }, "else": { "operation": "boost", "score": -0.08646124601364136 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0800907164812088 }, "else": { "operation": "boost", "score": 0.037732359021902084 } }, "else": { "operation": "boost", "score": 0.030194353312253952 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "boost", "score": 0.08031335473060608 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.05748143047094345 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05962337926030159 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.022527368739247322 }, "else": { "operation": "boost", "score": 0.036695368587970734 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.03385409712791443 }, "else": { "operation": "boost", "score": 0.08755938708782196 } }, "else": { "operation": "boost", "score": 0.0101176667958498 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.029081353917717934 }, "else": { "operation": "boost", "score": 0.05579717457294464 } }, "else": { "operation": "boost", "score": 0.007017638999968767 } } } } }, "else": { "operation": "boost", "score": -0.03746871277689934 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05514563247561455 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06001740321516991 }, "else": { "operation": "boost", "score": 0.014263676479458809 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.034839991480112076 }, "else": { "operation": "boost", "score": 0.020780935883522034 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.03278148174285889 }, "else": { "operation": "boost", "score": 0.01412515714764595 } }, "else": { "operation": "boost", "score": -0.040689680725336075 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0947052389383316 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.025079328566789627 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08556722849607468 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.06319055706262589 }, "else": { "operation": "boost", "score": 0.02231230027973652 } } }, "else": { "operation": "boost", "score": 0.028315464034676552 } } } }, "else": { "operation": "boost", "score": 0.0015481149312108755 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05591952055692673 }, "else": { "operation": "boost", "score": 0.019876891747117043 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.00954741332679987 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.0613047257065773 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05376634746789932 }, "else": { "operation": "boost", "score": -0.0007008301909081638 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.054460346698760986 }, "else": { "operation": "boost", "score": 0.023507457226514816 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.07604724168777466 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.06578417867422104 }, "else": { "operation": "boost", "score": -0.08591583371162415 } }, "else": { "operation": "boost", "score": -0.04754885286092758 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.101224385201931 }, "else": { "operation": "boost", "score": -0.1359197050333023 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": 0.022298621013760567 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09135929495096207 }, "else": { "operation": "boost", "score": -0.1464146226644516 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134893.5, "then": { "operation": "boost", "score": -0.07351695746183395 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09349572658538818 }, "else": { "operation": "boost", "score": -0.04383093863725662 } }, "else": { "operation": "boost", "score": -0.0038981360848993063 } }, "else": { "operation": "boost", "score": -0.15168526768684387 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 7.61427654651925e-05 }, "else": { "operation": "boost", "score": 0.13182079792022705 } }, "else": { "operation": "boost", "score": -0.15278786420822144 } }, "else": { "operation": "boost", "score": -0.029141129925847054 } } }, "else": { "operation": "boost", "score": -0.008301276713609695 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0956726148724556 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.106698177754879 }, "else": { "operation": "boost", "score": 0.05508884787559509 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.05106373876333237 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.05696915090084076 }, "else": { "operation": "boost", "score": -0.03565765172243118 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09096032381057739 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1030004620552063 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6753.5, "then": { "operation": "boost", "score": -0.05140319839119911 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.05808885768055916 }, "else": { "operation": "boost", "score": -0.014195054769515991 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04197731241583824 }, "else": { "operation": "boost", "score": 0.001044596079736948 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.10281327366828918 }, "else": { "operation": "boost", "score": 0.05018160492181778 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03260684758424759 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.015425696037709713 }, "else": { "operation": "boost", "score": -0.06569499522447586 } }, "else": { "operation": "boost", "score": 0.030452914535999298 } } } }, "else": { "operation": "boost", "score": -0.03569694980978966 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.053674109280109406 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.050527047365903854 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5906.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49491.5, "then": { "operation": "boost", "score": -0.12068384140729904 }, "else": { "operation": "boost", "score": 0.08596788346767426 } }, "else": { "operation": "boost", "score": 0.027814514935016632 } }, "else": { "operation": "boost", "score": 0.008270022459328175 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.046604227274656296 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04615236073732376 }, "else": { "operation": "boost", "score": 0.00874739047139883 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10535284131765366 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.027166632935404778 }, "else": { "operation": "boost", "score": 0.015391561202704906 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03809359669685364 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017069444060325623 }, "else": { "operation": "boost", "score": 0.0588812418282032 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0444624200463295 }, "else": { "operation": "boost", "score": -0.11264675855636597 } } }, "else": { "operation": "boost", "score": 0.012886445969343185 } } }, "else": { "operation": "boost", "score": -0.005524680949747562 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0823250338435173 }, "else": { "operation": "boost", "score": 0.01872973144054413 } }, "else": { "operation": "boost", "score": 0.016220683231949806 } } } } } }, "else": { "operation": "boost", "score": -0.09693103283643723 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0717950388789177 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05839083716273308 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02049054019153118 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09781856834888458 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14392858743667603 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.017084330320358276 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09208983182907104 }, "else": { "operation": "boost", "score": -0.0891285166144371 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.04241477698087692 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.012380711734294891 }, "else": { "operation": "boost", "score": -0.11473193764686584 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02080627717077732 }, "else": { "operation": "boost", "score": -0.1480434685945511 } } } } } } } }, "else": { "operation": "boost", "score": -0.02584465965628624 } } } }, "else": { "operation": "boost", "score": -0.05170422047376633 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09523913264274597 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.07541389763355255 }, "else": { "operation": "boost", "score": 0.059359967708587646 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3080.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.10481078922748566 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.08566766232252121 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12378296256065369 }, "else": { "operation": "boost", "score": 0.05137704685330391 } } } }, "else": { "operation": "boost", "score": 0.05415734648704529 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.08088003098964691 }, "else": { "operation": "boost", "score": 0.0360809825360775 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05748714506626129 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.040914759039878845 }, "else": { "operation": "boost", "score": -0.05373558774590492 } }, "else": { "operation": "boost", "score": -0.0831596851348877 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04729384928941727 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2579922080039978 }, "else": { "operation": "boost", "score": 0.0966532900929451 } }, "else": { "operation": "boost", "score": 0.06254716962575912 } }, "else": { "operation": "boost", "score": -0.06263580173254013 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.0, "then": { "operation": "boost", "score": -0.05485520511865616 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1089334785938263 }, "else": { "operation": "boost", "score": 0.055803753435611725 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06700385361909866 }, "else": { "operation": "boost", "score": 0.05105379968881607 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.038998425006866455 }, "else": { "operation": "boost", "score": -0.025589825585484505 } } }, "else": { "operation": "boost", "score": 0.019863486289978027 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.04648563638329506 }, "else": { "operation": "boost", "score": 0.012714296579360962 } }, "else": { "operation": "boost", "score": 0.007197953760623932 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "boost", "score": 0.07774142920970917 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.0541723407804966 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0575391948223114 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05230061709880829 }, "else": { "operation": "boost", "score": 0.0208722036331892 } }, "else": { "operation": "boost", "score": -0.10883091390132904 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06279182434082031 }, "else": { "operation": "boost", "score": 0.028777752071619034 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.032702866941690445 }, "else": { "operation": "boost", "score": 0.0853831022977829 } }, "else": { "operation": "boost", "score": 0.009848499670624733 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.038253989070653915 }, "else": { "operation": "boost", "score": 0.007564837113022804 } } } } }, "else": { "operation": "boost", "score": -0.03365720435976982 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06325966119766235 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04966020956635475 }, "else": { "operation": "boost", "score": 0.012979437597095966 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.046577177941799164 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0512549951672554 }, "else": { "operation": "boost", "score": -0.03325660899281502 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09455323964357376 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.0652552992105484 }, "else": { "operation": "boost", "score": 0.012837531976401806 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05163893476128578 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047748863697052 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07798359543085098 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.09592506289482117 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.02692231722176075 }, "else": { "operation": "boost", "score": 0.09153381735086441 } } }, "else": { "operation": "boost", "score": -0.05085267871618271 } }, "else": { "operation": "boost", "score": -0.08139266818761826 } } } }, "else": { "operation": "boost", "score": -0.011811408214271069 } }, "else": { "operation": "boost", "score": -0.008568771183490753 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.07335933297872543 }, "else": { "operation": "boost", "score": 0.015586393885314465 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07363655418157578 }, "else": { "operation": "boost", "score": 0.04409226402640343 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03136134892702103 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.053005170077085495 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "boost", "score": 0.03410521149635315 }, "else": { "operation": "boost", "score": -0.005279206205159426 } } }, "else": { "operation": "boost", "score": -0.10472628474235535 } }, "else": { "operation": "boost", "score": 0.004673061426728964 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.088137686252594 }, "else": { "operation": "boost", "score": 0.05871719866991043 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.05804700404405594 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022055240347981453 }, "else": { "operation": "boost", "score": -0.10902635008096695 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "boost", "score": 0.09741964936256409 }, "else": { "operation": "boost", "score": -0.17863242328166962 } }, "else": { "operation": "boost", "score": -0.1697389781475067 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.04221218824386597 }, "else": { "operation": "boost", "score": -0.1511598378419876 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.08109865337610245 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07080846279859543 }, "else": { "operation": "boost", "score": -0.16222429275512695 } } }, "else": { "operation": "boost", "score": 0.03527369350194931 } } } }, "else": { "operation": "boost", "score": -0.03932544216513634 } }, "else": { "operation": "boost", "score": -0.05671990290284157 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.06805512309074402 }, "else": { "operation": "boost", "score": 0.08677578717470169 } }, "else": { "operation": "boost", "score": 0.03150460869073868 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.03996999189257622 }, "else": { "operation": "boost", "score": -0.024592354893684387 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.02006218023598194 }, "else": { "operation": "boost", "score": -0.03035743348300457 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07344096899032593 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.021750079467892647 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04255631938576698 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05887269973754883 }, "else": { "operation": "boost", "score": 0.0022506634704768658 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.09512044489383698 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10009641200304031 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 192.5, "then": { "operation": "boost", "score": 0.0565386563539505 }, "else": { "operation": "boost", "score": 0.018821455538272858 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0505048893392086 }, "else": { "operation": "boost", "score": 0.018271317705512047 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 156.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013688432052731514 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11159.0, "then": { "operation": "boost", "score": 0.06725713610649109 }, "else": { "operation": "boost", "score": 0.032231204211711884 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08329803496599197 }, "else": { "operation": "boost", "score": 0.016654687002301216 } }, "else": { "operation": "boost", "score": -0.007110360078513622 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.07493004947900772 }, "else": { "operation": "boost", "score": 0.13324998319149017 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05892447754740715 }, "else": { "operation": "boost", "score": 0.023544035851955414 } }, "else": { "operation": "boost", "score": -0.0036310043651610613 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04488014802336693 }, "else": { "operation": "boost", "score": 0.014613030478358269 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.08922731876373291 }, "else": { "operation": "boost", "score": -0.00041819503530859947 } } }, "else": { "operation": "boost", "score": -0.09492268413305283 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2757.0, "then": { "operation": "boost", "score": 0.02320624515414238 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05773455649614334 }, "else": { "operation": "boost", "score": 0.0011944841826334596 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.04391788691282272 }, "else": { "operation": "boost", "score": -0.11948397010564804 } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07781297713518143 }, "else": { "operation": "boost", "score": 0.06283742934465408 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1824.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11291104555130005 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31292.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32026.0, "then": { "operation": "boost", "score": 0.09052231907844543 }, "else": { "operation": "boost", "score": 0.1367819756269455 } }, "else": { "operation": "boost", "score": 0.0452331118285656 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09401583671569824 }, "else": { "operation": "boost", "score": 0.057397447526454926 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04849109426140785 }, "else": { "operation": "boost", "score": -0.06514526158571243 } } }, "else": { "operation": "boost", "score": 0.025752494111657143 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06192893162369728 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06582283973693848 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.1182938888669014 }, "else": { "operation": "boost", "score": -0.0036995471455156803 } } }, "else": { "operation": "boost", "score": 0.05526537820696831 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "boost", "score": 0.032969165593385696 }, "else": { "operation": "boost", "score": 0.007183616980910301 } }, "else": { "operation": "boost", "score": -0.14799654483795166 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06553547084331512 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11555109918117523 }, "else": { "operation": "boost", "score": 0.05509111285209656 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_Type" ], "then": { "operation": "boost", "score": 0.054188091307878494 }, "else": { "operation": "boost", "score": 0.03677414357662201 } }, "else": { "operation": "boost", "score": 0.027568282559514046 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07034517824649811 }, "else": { "operation": "boost", "score": 0.05021703988313675 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.0569855198264122 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.042043790221214294 }, "else": { "operation": "boost", "score": 0.010766744613647461 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06396942585706711 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02468775399029255 }, "else": { "operation": "boost", "score": 0.015508972108364105 } } } } } } } }, "else": { "operation": "boost", "score": -0.029613470658659935 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06093563511967659 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.046972423791885376 }, "else": { "operation": "boost", "score": 0.01230979710817337 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.04177059978246689 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08822080492973328 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.01722104847431183 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.06646249443292618 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 39.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.16495999693870544 }, "else": { "operation": "boost", "score": 0.09309937059879303 } }, "else": { "operation": "boost", "score": 0.005949538666754961 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1171005442738533 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.08903664350509644 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.02139037288725376 }, "else": { "operation": "boost", "score": 0.0676712915301323 } } } }, "else": { "operation": "boost", "score": 0.005628400016576052 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12918312847614288 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01079794205725193 }, "else": { "operation": "boost", "score": 0.07544683665037155 } }, "else": { "operation": "boost", "score": 0.004257092718034983 } } } }, "else": { "operation": "boost", "score": 0.0034075237344950438 } }, "else": { "operation": "boost", "score": -0.02493319660425186 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06652430444955826 }, "else": { "operation": "boost", "score": 0.04232913628220558 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029992137104272842 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05669742450118065 }, "else": { "operation": "boost", "score": 0.018663667142391205 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027742043137550354 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0013432442210614681 }, "else": { "operation": "boost", "score": 0.026649633422493935 } } } }, "else": { "operation": "boost", "score": -0.03904174268245697 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08545787632465363 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08424864709377289 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008464979007840157 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.0, "then": { "operation": "boost", "score": 0.049105238169431686 }, "else": { "operation": "boost", "score": -0.012955175712704659 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.1101563423871994 }, "else": { "operation": "boost", "score": -0.1882205605506897 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.06244051456451416 }, "else": { "operation": "boost", "score": 0.005712434649467468 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.080286405980587 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11871843039989471 }, "else": { "operation": "boost", "score": 0.08069968223571777 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172808.5, "then": { "operation": "boost", "score": -0.15338076651096344 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "boost", "score": 0.06274707615375519 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.014186302199959755 }, "else": { "operation": "boost", "score": 0.062447551637887955 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.05774068459868431 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03614475205540657 }, "else": { "operation": "boost", "score": -0.03396669775247574 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.019154459238052368 }, "else": { "operation": "boost", "score": -0.027217797935009003 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03643738105893135 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.029253382235765457 }, "else": { "operation": "boost", "score": 0.0005694928113371134 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.057003505527973175 }, "else": { "operation": "boost", "score": -0.020121801644563675 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.009659246541559696 }, "else": { "operation": "boost", "score": 0.06875486671924591 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005209289025515318 }, "else": { "operation": "boost", "score": 0.06493328511714935 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12238617241382599 }, "else": { "operation": "boost", "score": 0.03209618851542473 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08839187771081924 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12890276312828064 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06421791017055511 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 32.5, "then": { "operation": "boost", "score": -0.16985902190208435 }, "else": { "operation": "boost", "score": 0.03700254112482071 } } } }, "else": { "operation": "boost", "score": -0.024512236937880516 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08384106308221817 }, "else": { "operation": "boost", "score": -0.0445745587348938 } } }, "else": { "operation": "boost", "score": -0.05753720551729202 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.08732997626066208 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04120306670665741 }, "else": { "operation": "boost", "score": -0.03450384363532066 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04244013875722885 }, "else": { "operation": "boost", "score": 0.017517006024718285 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.04307738319039345 }, "else": { "operation": "boost", "score": 0.022345244884490967 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10285010188817978 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.024427957832813263 }, "else": { "operation": "boost", "score": 0.015888450667262077 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01826765388250351 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0065612285397946835 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07780008763074875 }, "else": { "operation": "boost", "score": 0.057284947484731674 } }, "else": { "operation": "boost", "score": 0.01892719604074955 } } } } } } }, "else": { "operation": "boost", "score": -0.09438060224056244 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06687027961015701 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05377275124192238 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08782973140478134 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15789274871349335 }, "else": { "operation": "boost", "score": 0.005322855897247791 } } }, "else": { "operation": "boost", "score": -0.021522454917430878 } } }, "else": { "operation": "boost", "score": -0.0488622710108757 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09287775307893753 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.0709424614906311 }, "else": { "operation": "boost", "score": 0.05431217700242996 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.15192309021949768, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.07675749063491821 }, "else": { "operation": "boost", "score": 0.04284221678972244 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.08490217477083206 }, "else": { "operation": "boost", "score": 0.02956334315240383 } }, "else": { "operation": "boost", "score": 0.06755217909812927 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.08095543831586838 }, "else": { "operation": "boost", "score": 0.044405922293663025 } }, "else": { "operation": "boost", "score": 0.042724400758743286 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0005142244626767933 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.08900243788957596 }, "else": { "operation": "boost", "score": 0.039511919021606445 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0071503836661577225 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05070158839225769 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05660329386591911 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.0, "then": { "operation": "boost", "score": 0.024861782789230347 }, "else": { "operation": "boost", "score": 0.04257833585143089 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08126100152730942 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.06716059148311615 }, "else": { "operation": "boost", "score": 0.026346173137426376 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04155013710260391 }, "else": { "operation": "boost", "score": -0.12063969671726227 } } }, "else": { "operation": "boost", "score": 0.013315653428435326 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13064809143543243 }, "else": { "operation": "boost", "score": 0.09678182750940323 } }, "else": { "operation": "boost", "score": 0.10993747413158417 } }, "else": { "operation": "boost", "score": 0.06251999735832214 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08649983257055283 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05755442753434181 }, "else": { "operation": "boost", "score": 0.0281737819314003 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.04962872713804245 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.026219729334115982 }, "else": { "operation": "boost", "score": 0.059022389352321625 } }, "else": { "operation": "boost", "score": 0.03805159032344818 } }, "else": { "operation": "boost", "score": -0.0896872729063034 } }, "else": { "operation": "boost", "score": 0.020342355594038963 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.042475562542676926 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.06475615501403809 }, "else": { "operation": "boost", "score": 0.008630923926830292 } } } }, "else": { "operation": "boost", "score": -0.023675406351685524 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04505108669400215 }, "else": { "operation": "boost", "score": 0.016153480857610703 } }, "else": { "operation": "boost", "score": 0.009697560220956802 } }, "else": { "operation": "boost", "score": -0.02287527173757553 } }, "else": { "operation": "boost", "score": -0.03968057408928871 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 424244.0, "then": { "operation": "boost", "score": 0.07850899547338486 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.129667267203331 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.059180181473493576 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04735410585999489 }, "else": { "operation": "boost", "score": -0.10197562724351883 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04935561493039131 }, "else": { "operation": "boost", "score": -0.0303091611713171 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 791.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "boost", "score": 0.06158776581287384 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "boost", "score": -0.5112839341163635 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.012902600690722466 }, "else": { "operation": "boost", "score": 0.06675709784030914 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05120770260691643 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005361567251384258 }, "else": { "operation": "boost", "score": -0.066285140812397 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.039945363998413086 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62601.0, "then": { "operation": "boost", "score": 0.07927732169628143 }, "else": { "operation": "boost", "score": 0.03952091559767723 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.051132939755916595 }, "else": { "operation": "boost", "score": -0.14580246806144714 } } }, "else": { "operation": "boost", "score": 0.009568772278726101 } } } }, "else": { "operation": "boost", "score": -0.02841862291097641 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.08380501717329025 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 495.5, "then": { "operation": "boost", "score": 0.13804307579994202 }, "else": { "operation": "boost", "score": 0.09573016315698624 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11402006447315216 }, "else": { "operation": "boost", "score": 0.04505482316017151 } } }, "else": { "operation": "boost", "score": -0.01608338952064514 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.004347825888544321, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.06589046865701675 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03996725380420685 }, "else": { "operation": "boost", "score": -0.06260258704423904 } }, "else": { "operation": "boost", "score": 0.015940839424729347 } }, "else": { "operation": "boost", "score": -0.0021798715461045504 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02177293412387371 }, "else": { "operation": "boost", "score": -0.04365561902523041 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08336486667394638 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type" ], "then": { "operation": "boost", "score": 0.030078331008553505 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03308212757110596 }, "else": { "operation": "boost", "score": -0.019721131771802902 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12143848091363907 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": -0.02033904567360878 }, "else": { "operation": "boost", "score": -0.08483614772558212 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5864.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.08271971344947815 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "boost", "score": 0.13343532383441925 }, "else": { "operation": "boost", "score": 0.023732542991638184 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": -0.08215655386447906 }, "else": { "operation": "boost", "score": 0.08386264741420746 } }, "else": { "operation": "boost", "score": 0.014671692624688148 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07439224421977997 }, "else": { "operation": "boost", "score": 0.04437659680843353 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05818074196577072 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.02242685668170452 }, "else": { "operation": "boost", "score": 0.05896938964724541 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04993107542395592 }, "else": { "operation": "boost", "score": 0.016937721520662308 } }, "else": { "operation": "boost", "score": -0.3265455961227417 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.0862656682729721 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09731214493513107 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 192.5, "then": { "operation": "boost", "score": 0.05809534713625908 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01871340535581112 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1262829303741455 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.047907087951898575 }, "else": { "operation": "boost", "score": 0.019129851832985878 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.053265154361724854 }, "else": { "operation": "boost", "score": 0.018453532829880714 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08080832660198212 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.09675638377666473 }, "else": { "operation": "boost", "score": 0.0119274090975523 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11752240359783173 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.03861755132675171 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.012537873350083828 }, "else": { "operation": "boost", "score": -0.04446970298886299 } }, "else": { "operation": "boost", "score": -0.07946015894412994 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15059080719947815 }, "else": { "operation": "boost", "score": 0.0043676006607711315 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.07271485775709152 }, "else": { "operation": "boost", "score": -0.004992357920855284 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04300956428050995 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.11146526038646698 }, "else": { "operation": "boost", "score": 0.07060610502958298 } }, "else": { "operation": "boost", "score": 0.03794604912400246 } }, "else": { "operation": "boost", "score": -0.015871193259954453 } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0911487489938736 }, "else": { "operation": "boost", "score": 0.06238105893135071 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1717.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11082888394594193 }, "else": { "operation": "boost", "score": 0.07162114977836609 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09004807472229004 }, "else": { "operation": "boost", "score": 0.0541410893201828 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04534343630075455 }, "else": { "operation": "boost", "score": -0.05873020738363266 } } }, "else": { "operation": "boost", "score": 0.02255702018737793 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.05950223654508591 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.03919453173875809 }, "else": { "operation": "boost", "score": -0.03778025135397911 } }, "else": { "operation": "boost", "score": -0.07579398155212402 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10627920925617218 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04438488185405731 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09569396078586578 }, "else": { "operation": "boost", "score": 0.07758935540914536 } }, "else": { "operation": "boost", "score": 0.04865969344973564 } }, "else": { "operation": "boost", "score": -0.05597410351037979 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.0, "then": { "operation": "boost", "score": -0.050040796399116516 }, "else": { "operation": "boost", "score": 0.042507730424404144 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05319524556398392 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03707560896873474 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08078368008136749 }, "else": { "operation": "boost", "score": 0.046629346907138824 } }, "else": { "operation": "boost", "score": -0.014408871531486511 } }, "else": { "operation": "boost", "score": -0.02199694514274597 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.040019452571868896 }, "else": { "operation": "boost", "score": 0.01640472374856472 } }, "else": { "operation": "boost", "score": 0.006248227320611477 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08684835582971573 }, "else": { "operation": "boost", "score": 0.05350644886493683 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.04996670410037041 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04678735136985779 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006367719732224941 }, "else": { "operation": "boost", "score": 0.03200753033161163 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.028621966019272804 }, "else": { "operation": "boost", "score": 0.08025812357664108 } }, "else": { "operation": "boost", "score": 0.004582082852721214 } }, "else": { "operation": "boost", "score": 0.011223805136978626 } } } }, "else": { "operation": "boost", "score": -0.022255809977650642 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05819724500179291 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04415002837777138 }, "else": { "operation": "boost", "score": 0.011815586127340794 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10444667190313339 }, "else": { "operation": "boost", "score": 0.02633214369416237 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.012764731422066689 }, "else": { "operation": "boost", "score": 0.022960321977734566 } }, "else": { "operation": "boost", "score": -0.04602662846446037 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0744016245007515 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0800049677491188 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09985116869211197 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08458434045314789 }, "else": { "operation": "boost", "score": -0.0013123888056725264 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.08271973580121994 }, "else": { "operation": "boost", "score": 0.03544469550251961 } } }, "else": { "operation": "boost", "score": 0.007910139858722687 } } }, "else": { "operation": "boost", "score": -0.0023279651068150997 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "boost", "score": 0.075289785861969 }, "else": { "operation": "boost", "score": 0.030850153416395187 } } }, "else": { "operation": "boost", "score": -0.10680737346410751 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08342328667640686 }, "else": { "operation": "boost", "score": 0.004547476302832365 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.04782012850046158 }, "else": { "operation": "boost", "score": 0.02116810716688633 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12855.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.052662745118141174 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06838768720626831 }, "else": { "operation": "boost", "score": 0.0017446177080273628 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.0774284154176712 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11696656793355942 }, "else": { "operation": "boost", "score": 0.07420697808265686 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0676826685667038 }, "else": { "operation": "boost", "score": 0.03069232404232025 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005053394939750433 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06792878359556198 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.035673242062330246 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 552.5, "then": { "operation": "boost", "score": 0.00013735098764300346 }, "else": { "operation": "boost", "score": -0.0704488530755043 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12174712121486664 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03727389872074127 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.032237708568573 }, "else": { "operation": "boost", "score": 0.07626546919345856 } }, "else": { "operation": "boost", "score": -0.18547776341438293 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08790314942598343 }, "else": { "operation": "boost", "score": -0.11572805047035217 } } }, "else": { "operation": "boost", "score": -0.030485359951853752 } } }, "else": { "operation": "boost", "score": -0.049697376787662506 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0651320368051529 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.04876011237502098 }, "else": { "operation": "boost", "score": 0.016307257115840912 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09563842415809631 }, "else": { "operation": "boost", "score": 0.03713025152683258 } }, "else": { "operation": "boost", "score": 0.1318207085132599 } }, "else": { "operation": "boost", "score": 0.002393584232777357 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08526100963354111 }, "else": { "operation": "boost", "score": -0.0009745062561705709 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.02173517644405365 }, "else": { "operation": "boost", "score": -0.1574506014585495 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06375989317893982 }, "else": { "operation": "boost", "score": 0.02479381673038006 } }, "else": { "operation": "boost", "score": -0.005540388636291027 } }, "else": { "operation": "boost", "score": -0.0016225090948864818 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.08490835875272751 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.06728505343198776 }, "else": { "operation": "boost", "score": 0.003950499929487705 } }, "else": { "operation": "boost", "score": -0.030010119080543518 } } } }, "else": { "operation": "boost", "score": -0.04693494737148285 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05489467456936836 }, "else": { "operation": "boost", "score": 0.003224417567253113 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09211175888776779 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.08812910318374634 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10052908957004547 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.02055121399462223 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06277299672365189 }, "else": { "operation": "boost", "score": 0.025251390412449837 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11159.0, "then": { "operation": "boost", "score": 0.1063934788107872 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020006824284791946 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.019728241488337517 }, "else": { "operation": "boost", "score": 0.05138380080461502 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06884945183992386 }, "else": { "operation": "boost", "score": 0.014607377350330353 } }, "else": { "operation": "boost", "score": -0.005967851262539625 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.06142183765769005 }, "else": { "operation": "boost", "score": 0.1323920339345932 } }, "else": { "operation": "boost", "score": 0.0262871365994215 } }, "else": { "operation": "boost", "score": -0.002793812658637762 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.007574731949716806 }, "else": { "operation": "boost", "score": -0.025433171540498734 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07183859497308731 }, "else": { "operation": "boost", "score": 0.05507612228393555 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 784.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07035399228334427 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08442248404026031 }, "else": { "operation": "boost", "score": 0.051524706184864044 } }, "else": { "operation": "boost", "score": 0.02454250305891037 } }, "else": { "operation": "boost", "score": 0.022834522649645805 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07501328736543655 }, "else": { "operation": "boost", "score": 0.04596750810742378 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.059937722980976105 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11450212448835373 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05384417995810509 }, "else": { "operation": "boost", "score": -0.0338645875453949 } } } }, "else": { "operation": "boost", "score": 0.05044933408498764 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "boost", "score": 0.03075670450925827 }, "else": { "operation": "boost", "score": 0.0054922266863286495 } }, "else": { "operation": "boost", "score": -0.14348652958869934 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.059132251888513565 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07333295792341232 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.048015691339969635 }, "else": { "operation": "boost", "score": 0.01788417063653469 } }, "else": { "operation": "boost", "score": 0.07011142373085022 } }, "else": { "operation": "boost", "score": -0.020066142082214355 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0478428453207016 }, "else": { "operation": "boost", "score": 0.03178567439317703 } }, "else": { "operation": "boost", "score": 0.024302620440721512 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06493972986936569 }, "else": { "operation": "boost", "score": 0.0451677180826664 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.05151539668440819 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03730694204568863 }, "else": { "operation": "boost", "score": 0.009535695426166058 } }, "else": { "operation": "boost", "score": 0.017872275784611702 } } } } } }, "else": { "operation": "boost", "score": -0.0191775131970644 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05600574612617493 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.040864668786525726 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.0022695926018059254 }, "else": { "operation": "boost", "score": 0.04763873666524887 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.03810277581214905 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0820629894733429 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.06427007913589478 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.1297113448381424 }, "else": { "operation": "boost", "score": 0.06166255101561546 } }, "else": { "operation": "boost", "score": -0.01975932903587818 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04654564708471298 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03878169134259224 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0732477605342865 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07971078157424927 }, "else": { "operation": "boost", "score": 0.06983990222215652 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03564215078949928 }, "else": { "operation": "boost", "score": 0.07171369343996048 } } }, "else": { "operation": "boost", "score": -0.07714113593101501 } } } }, "else": { "operation": "boost", "score": 0.0008328019175678492 } }, "else": { "operation": "boost", "score": -0.003240457270294428 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "boost", "score": 0.05445679649710655 }, "else": { "operation": "boost", "score": 0.03916846215724945 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10234981030225754 }, "else": { "operation": "boost", "score": 0.027314554899930954 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05461912229657173 }, "else": { "operation": "boost", "score": 0.01810513436794281 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024786505848169327 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.04688533768057823 }, "else": { "operation": "boost", "score": 0.020267551764845848 } }, "else": { "operation": "boost", "score": 0.01928507536649704 } } } }, "else": { "operation": "boost", "score": -0.028339318931102753 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08199869096279144 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07703462243080139 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08490685373544693 }, "else": { "operation": "boost", "score": 0.008275886997580528 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.04265758395195007 }, "else": { "operation": "boost", "score": -0.005879647098481655 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10949891060590744 }, "else": { "operation": "boost", "score": -0.17409683763980865 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12855.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.06702791899442673 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06597568094730377 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.04695973917841911 }, "else": { "operation": "boost", "score": 3.11071053147316e-05 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08100694417953491 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07812011241912842 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012387664057314396 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0504574216902256 }, "else": { "operation": "boost", "score": -0.11253321915864944 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.06519461423158646 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15358.5, "then": { "operation": "boost", "score": 0.015942417085170746 }, "else": { "operation": "boost", "score": 0.13145677745342255 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07968942075967789 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10219266265630722 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09925343841314316 }, "else": { "operation": "boost", "score": 0.014405899681150913 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 819.5, "then": { "operation": "boost", "score": -0.012227202765643597 }, "else": { "operation": "boost", "score": -0.0897437110543251 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07585887610912323 }, "else": { "operation": "boost", "score": -0.0006392320501618087 } }, "else": { "operation": "boost", "score": -0.06181420758366585 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11667662858963013 }, "else": { "operation": "boost", "score": -0.01818476989865303 } }, "else": { "operation": "boost", "score": -0.09097080677747726 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.08224193006753922 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09039565175771713 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10100885480642319 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.026506666094064713 }, "else": { "operation": "boost", "score": 0.016295718029141426 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11159.0, "then": { "operation": "boost", "score": 0.1046493649482727 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02018129825592041 }, "else": { "operation": "boost", "score": 0.02547796443104744 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11056502908468246 }, "else": { "operation": "boost", "score": 0.009805376641452312 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05465606227517128 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.015089817345142365 }, "else": { "operation": "boost", "score": -0.01202970091253519 } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.062478289008140564 }, "else": { "operation": "boost", "score": 0.13143736124038696 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02432139962911606 }, "else": { "operation": "boost", "score": -0.002155431779101491 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04124071076512337 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03165026754140854 }, "else": { "operation": "boost", "score": -0.008677436038851738 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.07785079628229141 }, "else": { "operation": "boost", "score": 2.6864781830227003e-06 } } }, "else": { "operation": "boost", "score": -0.0912558063864708 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03634306415915489 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11195779591798782 }, "else": { "operation": "boost", "score": 0.0579693429172039 } }, "else": { "operation": "boost", "score": 0.03595619648694992 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04758225008845329 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15612958371639252 }, "else": { "operation": "boost", "score": 0.005826680455356836 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04076904430985451 }, "else": { "operation": "boost", "score": -0.12175574153661728 } } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06974685937166214 }, "else": { "operation": "boost", "score": 0.052966732531785965 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 784.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06867145001888275 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08214148879051208 }, "else": { "operation": "boost", "score": 0.04909480735659599 } }, "else": { "operation": "boost", "score": 0.023309938609600067 } }, "else": { "operation": "boost", "score": 0.021434186026453972 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07494264096021652 }, "else": { "operation": "boost", "score": 0.04272296652197838 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.057586535811424255 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10931283235549927 }, "else": { "operation": "boost", "score": -0.0016680924454703927 } } }, "else": { "operation": "boost", "score": 0.048850830644369125 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "boost", "score": 0.030063925310969353 }, "else": { "operation": "boost", "score": 0.005672418978065252 } }, "else": { "operation": "boost", "score": -0.14042073488235474 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.057809196412563324 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.068732351064682 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07730386406183243 }, "else": { "operation": "boost", "score": 0.030580587685108185 } } }, "else": { "operation": "boost", "score": 0.04616950824856758 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04044632986187935 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05278582498431206 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.06612809747457504 }, "else": { "operation": "boost", "score": 0.024412008002400398 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.06709031760692596 }, "else": { "operation": "boost", "score": 0.017811404541134834 } }, "else": { "operation": "boost", "score": 0.011836130172014236 } } } } } }, "else": { "operation": "boost", "score": -0.015002305619418621 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05393816903233528 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.039024803787469864 }, "else": { "operation": "boost", "score": 0.01002114824950695 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.05522102117538452 }, "else": { "operation": "boost", "score": -0.008243480697274208 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05737049877643585 }, "else": { "operation": "boost", "score": -0.4506841003894806 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08270088583230972 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08448418974876404 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007254859898239374 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.07930006831884384 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03201868757605553 }, "else": { "operation": "boost", "score": 0.071070596575737 } } } }, "else": { "operation": "boost", "score": 0.008831041865050793 } } }, "else": { "operation": "boost", "score": -0.0752284973859787 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.012304096482694149 }, "else": { "operation": "boost", "score": -0.013202021829783916 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23920340836048126 }, "else": { "operation": "boost", "score": 0.020078329369425774 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02159486711025238 }, "else": { "operation": "boost", "score": -0.0444624163210392 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.03983599692583084 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05510292574763298 }, "else": { "operation": "boost", "score": 0.020696556195616722 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00839778408408165 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018794404342770576 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.04899481311440468 }, "else": { "operation": "boost", "score": 0.022466203197836876 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.03983793035149574 }, "else": { "operation": "boost", "score": 0.017896903678774834 } } } } } }, "else": { "operation": "boost", "score": -0.028236130252480507 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0794069841504097 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07792055606842041 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0789208710193634 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011085662059485912 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09949857741594315 }, "else": { "operation": "boost", "score": -0.11642000079154968 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.0, "then": { "operation": "boost", "score": 0.046160101890563965 }, "else": { "operation": "boost", "score": -0.007594272959977388 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10577019304037094 }, "else": { "operation": "boost", "score": -0.18208061158657074 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.06720864027738571 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": -0.012238109484314919 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.10509346425533295 }, "else": { "operation": "boost", "score": 0.0723169595003128 } }, "else": { "operation": "boost", "score": -0.14888006448745728 } } }, "else": { "operation": "boost", "score": -0.1549025923013687 } }, "else": { "operation": "boost", "score": 0.05622943118214607 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.07414313405752182 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11539303511381149 }, "else": { "operation": "boost", "score": 0.07198544591665268 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07635243982076645 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09439411759376526 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08287939429283142 }, "else": { "operation": "boost", "score": 0.013408105820417404 } } } }, "else": { "operation": "boost", "score": -0.026277726516127586 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06271465867757797 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015704365447163582 }, "else": { "operation": "boost", "score": 0.04286125302314758 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04609984904527664 }, "else": { "operation": "boost", "score": -0.02947591245174408 } }, "else": { "operation": "boost", "score": 0.05009978264570236 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03628191351890564 }, "else": { "operation": "boost", "score": 0.0028617980424314737 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09762012958526611 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08829309791326523 }, "else": { "operation": "boost", "score": 0.020191194489598274 } }, "else": { "operation": "boost", "score": -0.08001022040843964 } }, "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": 1.5, "then": { "operation": "boost", "score": 0.07092997431755066 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04985922574996948 }, "else": { "operation": "boost", "score": -0.006056469865143299 } } }, "else": { "operation": "boost", "score": -0.022209366783499718 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0848858654499054 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.058596547693014145 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04297884181141853 }, "else": { "operation": "boost", "score": -0.09493313729763031 } } }, "else": { "operation": "boost", "score": 0.001589955179952085 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06210104003548622 }, "else": { "operation": "boost", "score": 0.02348346635699272 } }, "else": { "operation": "boost", "score": 0.0047701275907456875 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08816750347614288 }, "else": { "operation": "boost", "score": 0.028556067496538162 } }, "else": { "operation": "boost", "score": 0.018174001947045326 } } }, "else": { "operation": "boost", "score": -0.026268677785992622 } } } } } }, "else": { "operation": "boost", "score": -0.09050822257995605 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05143105983734131 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0811101421713829 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1467464566230774 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008437794633209705 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.11270076036453247 }, "else": { "operation": "boost", "score": -0.11897297203540802 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.04695865139365196 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0008640990126878023 }, "else": { "operation": "boost", "score": 0.061083417385816574 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0239657424390316 }, "else": { "operation": "boost", "score": -0.022495103999972343 } }, "else": { "operation": "boost", "score": -0.057705070823431015 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10978157818317413 }, "else": { "operation": "boost", "score": -0.13979223370552063 } } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08753515779972076 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.06225614249706268 }, "else": { "operation": "boost", "score": 0.04381062462925911 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 784.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.0729842483997345 }, "else": { "operation": "boost", "score": 0.025195058435201645 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.08506985008716583 }, "else": { "operation": "boost", "score": 0.11261248588562012 } }, "else": { "operation": "boost", "score": 0.04617500305175781 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07280713319778442 }, "else": { "operation": "boost", "score": 0.040795039385557175 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.055192410945892334 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05365251004695892 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0992833822965622 }, "else": { "operation": "boost", "score": -0.05589699745178223 } } } }, "else": { "operation": "boost", "score": 0.04544701427221298 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.02977369725704193 }, "else": { "operation": "boost", "score": 0.005873534362763166 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.044511470943689346 }, "else": { "operation": "boost", "score": -0.03171607851982117 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.052271559834480286 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.06587851792573929 }, "else": { "operation": "boost", "score": 0.030898701399564743 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.06676039844751358 }, "else": { "operation": "boost", "score": 0.042269375175237656 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04043731093406677 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05081329867243767 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.05506046861410141 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.001336421468295157 }, "else": { "operation": "boost", "score": 0.12572512030601501 } } }, "else": { "operation": "boost", "score": -0.06677711755037308 } }, "else": { "operation": "boost", "score": 0.018675383180379868 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.5, "then": { "operation": "boost", "score": 0.051015160977840424 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0016052030259743333 }, "else": { "operation": "boost", "score": 0.03190566599369049 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06960751861333847 }, "else": { "operation": "boost", "score": 0.0028946406673640013 } } }, "else": { "operation": "boost", "score": 0.009634477086365223 } } } } } } }, "else": { "operation": "boost", "score": -0.012929604388773441 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.051149580627679825 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03707905486226082 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.002906846348196268 }, "else": { "operation": "boost", "score": 0.0443236269056797 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08315654844045639 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05159249156713486 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.028132285922765732 }, "else": { "operation": "boost", "score": 0.015111400745809078 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.015405667014420033 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.07410223037004471 }, "else": { "operation": "boost", "score": 0.013739049434661865 } } }, "else": { "operation": "boost", "score": -0.11612223833799362 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.056444983929395676 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07837304472923279 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05288035050034523 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05572423338890076 }, "else": { "operation": "boost", "score": 0.02657010778784752 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.01123654842376709 }, "else": { "operation": "boost", "score": 0.031088268384337425 } }, "else": { "operation": "boost", "score": -0.02096167951822281 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08518067747354507 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12337859719991684 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07481469959020615 }, "else": { "operation": "boost", "score": 0.01372556947171688 } }, "else": { "operation": "boost", "score": -0.07754314690828323 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02081962861120701 }, "else": { "operation": "boost", "score": 0.012877125293016434 } } } } } }, "else": { "operation": "boost", "score": -0.07154319435358047 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.046308208256959915 }, "else": { "operation": "boost", "score": -0.016206473112106323 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.049158502370119095 }, "else": { "operation": "boost", "score": 0.006289051845669746 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "boost", "score": 0.08426450937986374 }, "else": { "operation": "boost", "score": -0.023274756968021393 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.046497661620378494 }, "else": { "operation": "boost", "score": 0.02520519308745861 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11575.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.06253102421760559 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0632399320602417 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.04005962237715721 }, "else": { "operation": "boost", "score": -0.0012069129152223468 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0782558023929596 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07470240443944931 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014322961680591106 }, "else": { "operation": "boost", "score": 0.043832309544086456 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15291865170001984 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.033993568271398544 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.04214123263955116 }, "else": { "operation": "boost", "score": 0.0378069244325161 } }, "else": { "operation": "boost", "score": -0.04774480313062668 } } } }, "else": { "operation": "boost", "score": -0.023410527035593987 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.057734835892915726 }, "else": { "operation": "boost", "score": -0.11212589591741562 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03085201047360897 }, "else": { "operation": "boost", "score": -0.016998395323753357 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.047878507524728775 }, "else": { "operation": "boost", "score": 0.008847581222653389 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04307309538125992 }, "else": { "operation": "boost", "score": -0.027877984568476677 } }, "else": { "operation": "boost", "score": 0.04714515432715416 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03434176370501518 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.047986168414354324 }, "else": { "operation": "boost", "score": -0.008571881800889969 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 124.5, "then": { "operation": "boost", "score": 0.038215138018131256 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09554161876440048 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08710569143295288 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07740701735019684 }, "else": { "operation": "boost", "score": 0.01961001753807068 } } }, "else": { "operation": "boost", "score": -0.06481462717056274 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014264368452131748 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08436673134565353 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.052630916237831116 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03957536444067955 }, "else": { "operation": "boost", "score": -0.09560805559158325 } } }, "else": { "operation": "boost", "score": 0.0022975034080445766 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0596640408039093 }, "else": { "operation": "boost", "score": 0.015557238832116127 } }, "else": { "operation": "boost", "score": -0.0003435408289078623 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04978173226118088 }, "else": { "operation": "boost", "score": 0.01378543395549059 } } } } } } } } } }, "else": { "operation": "boost", "score": -0.08887531608343124 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.012616646476089954 }, "else": { "operation": "boost", "score": 0.06714434921741486 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06486214697360992 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08454163372516632 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13595302402973175 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04320479556918144 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.004888914525508881 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02767273783683777 }, "else": { "operation": "boost", "score": -0.01916283182799816 } } } } } } }, "else": { "operation": "boost", "score": -0.04010966420173645 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08580446243286133 }, "else": { "operation": "boost", "score": 0.05338817834854126 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.09786312282085419 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06363706290721893 }, "else": { "operation": "boost", "score": 0.04226282611489296 } } }, "else": { "operation": "boost", "score": 0.07266838103532791 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06875789910554886 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09806692600250244 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.073092982172966 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.0690142959356308 }, "else": { "operation": "boost", "score": 0.03264966234564781 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.10538676381111145 }, "else": { "operation": "boost", "score": -0.0015060023870319128 } }, "else": { "operation": "boost", "score": -0.20576806366443634 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.061675213277339935 }, "else": { "operation": "boost", "score": 0.029912736266851425 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.6174516081809998 }, "else": { "operation": "boost", "score": 0.04048306867480278 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.057034846395254135 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04076504707336426 }, "else": { "operation": "boost", "score": -0.017078857868909836 } }, "else": { "operation": "boost", "score": 0.012164687737822533 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.016225995495915413 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09241504967212677 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.011363762430846691 }, "else": { "operation": "boost", "score": 0.039171572774648666 } } } }, "else": { "operation": "boost", "score": -0.03410341963171959 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08181554824113846 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08033675700426102 }, "else": { "operation": "boost", "score": 0.052517011761665344 } }, "else": { "operation": "boost", "score": 0.012570898979902267 } }, "else": { "operation": "boost", "score": 0.02677667886018753 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.029947523027658463 }, "else": { "operation": "boost", "score": 0.06925618648529053 } }, "else": { "operation": "boost", "score": 0.014435481280088425 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.00023479803348891437 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.037484075874090195 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01894136518239975 }, "else": { "operation": "boost", "score": 0.02294936217367649 } } } } } } }, "else": { "operation": "boost", "score": -0.010508334264159203 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1510.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "boost", "score": 0.08420298993587494 }, "else": { "operation": "boost", "score": 0.04830782115459442 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.0676976665854454 }, "else": { "operation": "boost", "score": 0.018091129139065742 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.048216186463832855 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03686661273241043 }, "else": { "operation": "boost", "score": 0.010132981464266777 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.04072977975010872 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05428774654865265 }, "else": { "operation": "boost", "score": -0.44007933139801025 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.07246478646993637 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11867154389619827 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13168084621429443 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02585485950112343 }, "else": { "operation": "boost", "score": 0.0674615278840065 } }, "else": { "operation": "boost", "score": 0.0403033122420311 } } } } }, "else": { "operation": "boost", "score": 0.0008886450086720288 } }, "else": { "operation": "boost", "score": 0.004527022130787373 } }, "else": { "operation": "boost", "score": -0.0062955026514828205 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21697553992271423 }, "else": { "operation": "boost", "score": 0.01720242388546467 } }, "else": { "operation": "boost", "score": -0.02341323532164097 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.053811706602573395 }, "else": { "operation": "boost", "score": 0.0304782222956419 } }, "else": { "operation": "boost", "score": 0.024195579811930656 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05264142155647278 }, "else": { "operation": "boost", "score": 0.019525792449712753 } }, "else": { "operation": "boost", "score": 0.016776634380221367 } }, "else": { "operation": "boost", "score": -0.017099512740969658 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07427900284528732 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07173950225114822 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00782120693475008 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11627006530761719 }, "else": { "operation": "boost", "score": 0.03480498492717743 } }, "else": { "operation": "boost", "score": -0.0059481277130544186 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10805050283670425 }, "else": { "operation": "boost", "score": -0.1712620109319687 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1824.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.06333186477422714 }, "else": { "operation": "boost", "score": 0.002971682930365205 } }, "else": { "operation": "boost", "score": -2.9740635000052862e-05 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10293307900428772 }, "else": { "operation": "boost", "score": 0.05834106355905533 } }, "else": { "operation": "boost", "score": 0.0312366783618927 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06259796023368835 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.007206630427390337 }, "else": { "operation": "boost", "score": 0.024120446294546127 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04103948175907135 }, "else": { "operation": "boost", "score": -0.035290297120809555 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.087277352809906 }, "else": { "operation": "boost", "score": 0.019254444167017937 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.01358719076961279 }, "else": { "operation": "boost", "score": -0.0021084577310830355 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08399802446365356 }, "else": { "operation": "boost", "score": 0.052236296236515045 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.026287438347935677 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.1250440925359726 }, "else": { "operation": "boost", "score": 0.011525182984769344 } } } }, "else": { "operation": "boost", "score": -0.0033951217774301767 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03428799659013748 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009144352748990059 }, "else": { "operation": "boost", "score": -0.026333119720220566 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0798916295170784 }, "else": { "operation": "boost", "score": -0.15756341814994812 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06106987223029137 }, "else": { "operation": "boost", "score": 0.0042633493430912495 } }, "else": { "operation": "boost", "score": -0.09790179878473282 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12421020120382309 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.052073199301958084 }, "else": { "operation": "boost", "score": 0.02508951723575592 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06326289474964142 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12058460712432861 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1219191774725914 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "boost", "score": 0.0011421693488955498 }, "else": { "operation": "boost", "score": 0.0498538576066494 } }, "else": { "operation": "boost", "score": 0.03002280183136463 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.047776635736227036 }, "else": { "operation": "boost", "score": 0.023310508579015732 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09975942969322205 }, "else": { "operation": "boost", "score": -0.03454345837235451 } } }, "else": { "operation": "boost", "score": -0.007715218234807253 } } }, "else": { "operation": "boost", "score": -0.039143435657024384 } } }, "else": { "operation": "boost", "score": -0.05346804857254028 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07896331697702408 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04108286276459694 }, "else": { "operation": "boost", "score": 0.014569074846804142 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.033996839076280594 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.011010309681296349 }, "else": { "operation": "boost", "score": -0.04501238837838173 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06409329175949097 }, "else": { "operation": "boost", "score": 0.046028994023799896 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "boost", "score": 0.09552828967571259 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05934561416506767 }, "else": { "operation": "boost", "score": -0.08133767545223236 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05671711266040802 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.03521772474050522 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07793349027633667 }, "else": { "operation": "boost", "score": 0.01153060607612133 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04094022884964943 }, "else": { "operation": "boost", "score": -0.16354183852672577 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08598984032869339 }, "else": { "operation": "boost", "score": 0.04983368143439293 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.022320736199617386 }, "else": { "operation": "boost", "score": 0.04933791235089302 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": 0.07605192065238953 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05043608695268631 }, "else": { "operation": "boost", "score": -0.029572846367955208 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.14821581542491913 }, "else": { "operation": "boost", "score": 0.035180870443582535 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11981663852930069 }, "else": { "operation": "boost", "score": -0.026800353080034256 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56418.0, "then": { "operation": "boost", "score": 0.03627874329686165 }, "else": { "operation": "boost", "score": 0.10453484952449799 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01130911335349083 }, "else": { "operation": "boost", "score": 0.03726251423358917 } }, "else": { "operation": "boost", "score": 0.02873181365430355 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07932504266500473 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010693681426346302 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.07709122449159622 }, "else": { "operation": "boost", "score": -0.00610036076977849 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06459841877222061 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.031360555440187454 }, "else": { "operation": "boost", "score": 0.012603227980434895 } } } }, "else": { "operation": "boost", "score": -0.12269246578216553 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 784.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11853.5, "then": { "operation": "boost", "score": 0.08570234477519989 }, "else": { "operation": "boost", "score": 0.03752902150154114 } }, "else": { "operation": "boost", "score": 0.038043826818466187 } }, "else": { "operation": "boost", "score": 0.06527573615312576 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.05487745255231857 }, "else": { "operation": "boost", "score": 0.019410761073231697 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.030633466318249702 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04275256022810936 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.01765197142958641 }, "else": { "operation": "boost", "score": 0.0013504633679986 } } } }, "else": { "operation": "boost", "score": -0.02431558631360531 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03510476276278496 }, "else": { "operation": "boost", "score": 0.04871078208088875 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04167594760656357 }, "else": { "operation": "boost", "score": 0.04380863904953003 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05190228670835495 }, "else": { "operation": "boost", "score": 0.0098398607224226 } } } }, "else": { "operation": "boost", "score": -0.13385847210884094 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08343073725700378 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.04590742662549019 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07000444829463959 }, "else": { "operation": "boost", "score": 0.008725282736122608 } } }, "else": { "operation": "boost", "score": 0.05317017808556557 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04731789603829384 }, "else": { "operation": "boost", "score": -0.35923004150390625 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03539818525314331 }, "else": { "operation": "boost", "score": 0.020104117691516876 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01321684755384922 }, "else": { "operation": "boost", "score": -0.0668819397687912 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07746588438749313 }, "else": { "operation": "boost", "score": -0.0015490028308704495 } }, "else": { "operation": "boost", "score": 0.0030599881429225206 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06130078807473183 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "boost", "score": 0.05832554027438164 }, "else": { "operation": "boost", "score": 0.031701501458883286 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.034162748605012894 }, "else": { "operation": "boost", "score": 0.05345406383275986 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.06517250835895538 }, "else": { "operation": "boost", "score": 0.028140418231487274 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011358898133039474 }, "else": { "operation": "boost", "score": 0.018618110567331314 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.0601351298391819 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.038476962596178055 }, "else": { "operation": "boost", "score": -0.02166450023651123 } } }, "else": { "operation": "boost", "score": -0.000894030905328691 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10142152011394501 }, "else": { "operation": "boost", "score": 0.05616361275315285 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "boost", "score": -0.042654283344745636 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.06329736858606339 }, "else": { "operation": "boost", "score": 0.13302487134933472 } }, "else": { "operation": "boost", "score": 0.020219236612319946 } }, "else": { "operation": "boost", "score": 0.03132378309965134 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.07143907994031906 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0710177943110466 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06583207845687866 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03360774740576744 }, "else": { "operation": "boost", "score": 0.006286883261054754 } } } }, "else": { "operation": "boost", "score": -0.04749844968318939 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14942173659801483 }, "else": { "operation": "boost", "score": 0.03023000992834568 } }, "else": { "operation": "boost", "score": -0.035416379570961 } }, "else": { "operation": "boost", "score": -0.016004079952836037 } }, "else": { "operation": "boost", "score": -0.05910969525575638 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01596042886376381 }, "else": { "operation": "boost", "score": 0.04565304517745972 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.033059872686862946 }, "else": { "operation": "boost", "score": 0.003569123102352023 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09308470785617828 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.0837734043598175 }, "else": { "operation": "boost", "score": 0.018612874671816826 } }, "else": { "operation": "boost", "score": -0.07085960358381271 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010178141295909882 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.011819890700280666 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08405490964651108 }, "else": { "operation": "boost", "score": 0.02363646775484085 } }, "else": { "operation": "boost", "score": 0.015849880874156952 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.09945756942033768 }, "else": { "operation": "boost", "score": -0.002413123147562146 } }, "else": { "operation": "boost", "score": -0.08459402620792389 } } } } } } }, "else": { "operation": "boost", "score": -0.08671397715806961 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08030454814434052 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13125889003276825 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03806084766983986 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.045470334589481354 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05689748376607895 }, "else": { "operation": "boost", "score": -0.008902688510715961 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00856646429747343 }, "else": { "operation": "boost", "score": -0.12560275197029114 } }, "else": { "operation": "boost", "score": -0.13522489368915558 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16136790812015533 }, "else": { "operation": "boost", "score": -0.00869380496442318 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 106.5, "then": { "operation": "boost", "score": 0.05295413359999657 }, "else": { "operation": "boost", "score": -0.038498926907777786 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0836578980088234 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.056517988443374634 }, "else": { "operation": "boost", "score": 0.03720444068312645 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.09495051205158234 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06090112775564194 }, "else": { "operation": "boost", "score": 0.0399092435836792 } } }, "else": { "operation": "boost", "score": 0.06925416737794876 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09508908540010452 }, "else": { "operation": "boost", "score": 0.04034016653895378 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.051367636770009995 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.048624783754348755 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.09255746752023697 }, "else": { "operation": "boost", "score": -0.047823574393987656 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06051429733633995 }, "else": { "operation": "boost", "score": 0.030706441029906273 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.026364294812083244 }, "else": { "operation": "boost", "score": 0.004447092767804861 } }, "else": { "operation": "boost", "score": -0.024382688105106354 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.048969075083732605 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.028909223154187202 }, "else": { "operation": "boost", "score": 0.03947022184729576 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03590850904583931 }, "else": { "operation": "boost", "score": -0.03767475113272667 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04402054101228714 }, "else": { "operation": "boost", "score": 0.015925699844956398 } } }, "else": { "operation": "boost", "score": 0.013589619658887386 } } } } }, "else": { "operation": "boost", "score": -0.006345563102513552 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1510.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "boost", "score": 0.08139998465776443 }, "else": { "operation": "boost", "score": 0.04649034142494202 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.06453903764486313 }, "else": { "operation": "boost", "score": 0.015908170491456985 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.036492228507995605 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.008970405906438828 }, "else": { "operation": "boost", "score": 0.06460341811180115 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.09154312312602997 }, "else": { "operation": "boost", "score": 0.03460879251360893 } } }, "else": { "operation": "boost", "score": -0.011714396998286247 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07941450923681259 }, "else": { "operation": "boost", "score": 0.020056985318660736 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03213227167725563 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.061356693506240845 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05837130919098854 }, "else": { "operation": "boost", "score": 0.02392416261136532 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0004963764222338796 }, "else": { "operation": "boost", "score": -0.07426615804433823 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06557302176952362 }, "else": { "operation": "boost", "score": 0.0064859893172979355 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07966621965169907 }, "else": { "operation": "boost", "score": 0.0054583800956606865 } }, "else": { "operation": "boost", "score": -0.013257583603262901 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07253538817167282 }, "else": { "operation": "boost", "score": 0.04765276238322258 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.032489076256752014 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01917012594640255 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.027203841134905815 }, "else": { "operation": "boost", "score": 0.01382796373218298 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.05621909350156784 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07367213070392609 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09376545250415802 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07502108067274094 }, "else": { "operation": "boost", "score": 0.012566056102514267 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04017328470945358 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.040493473410606384 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.08449260890483856 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": 0.15880252420902252 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0005052855121903121 }, "else": { "operation": "boost", "score": 0.05725967884063721 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.013005226850509644 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.09484084695577621 }, "else": { "operation": "boost", "score": 0.00442351121455431 } }, "else": { "operation": "boost", "score": 0.005749038886278868 } }, "else": { "operation": "boost", "score": -0.08337754756212234 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.06928054988384247 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131140.0, "then": { "operation": "boost", "score": -0.03540786728262901 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13254736363887787 }, "else": { "operation": "boost", "score": -0.1381109356880188 } } }, "else": { "operation": "boost", "score": 0.03441697731614113 } }, "else": { "operation": "boost", "score": -0.03608093410730362 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.06922652572393417 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0686052143573761 }, "else": { "operation": "boost", "score": 0.005233341362327337 } } }, "else": { "operation": "boost", "score": -0.10063536465167999 } }, "else": { "operation": "boost", "score": -0.021395951509475708 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.11286884546279907 }, "else": { "operation": "boost", "score": 0.04249434545636177 } }, "else": { "operation": "boost", "score": 0.006409105379134417 } }, "else": { "operation": "boost", "score": -0.0016964994138106704 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5864.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07590950280427933 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": -0.0773804560303688 }, "else": { "operation": "boost", "score": 0.07400906085968018 } }, "else": { "operation": "boost", "score": 0.014023357070982456 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.053434453904628754 }, "else": { "operation": "boost", "score": -0.06431648880243301 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.06496082246303558 }, "else": { "operation": "boost", "score": 0.026577072218060493 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05871393904089928 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03377729654312134 }, "else": { "operation": "boost", "score": 0.0077520194463431835 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09131789952516556 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018734056502580643 }, "else": { "operation": "boost", "score": -0.06478123366832733 } }, "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": 1.5, "then": { "operation": "boost", "score": 0.06714963912963867 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0485004298388958 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03569317236542702 }, "else": { "operation": "boost", "score": -0.03539295494556427 } } } }, "else": { "operation": "boost", "score": -0.01840163581073284 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07749388366937637 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04996141418814659 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.038092296570539474 }, "else": { "operation": "boost", "score": -0.08988677710294724 } } }, "else": { "operation": "boost", "score": 0.0011003657709807158 } }, "else": { "operation": "boost", "score": 0.010956703685224056 } } } } } } }, "else": { "operation": "boost", "score": -0.08481971174478531 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.00248690671287477 }, "else": { "operation": "boost", "score": 0.047681279480457306 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06423905491828918 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04073196277022362 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.04302186518907547 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.061966825276613235 }, "else": { "operation": "boost", "score": -0.018623190000653267 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06543360650539398 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14688478410243988 }, "else": { "operation": "boost", "score": 0.00805643666535616 } } }, "else": { "operation": "boost", "score": -0.12506277859210968 } }, "else": { "operation": "boost", "score": -0.13453985750675201 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019956080242991447 }, "else": { "operation": "boost", "score": -0.01421373337507248 } } } }, "else": { "operation": "boost", "score": -0.03884991258382797 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.060221780091524124 }, "else": { "operation": "boost", "score": 0.042553916573524475 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 126.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.060351308435201645 }, "else": { "operation": "boost", "score": 0.02528710849583149 } }, "else": { "operation": "boost", "score": 0.02153118886053562 } }, "else": { "operation": "boost", "score": 0.05079101398587227 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09184388816356659 }, "else": { "operation": "boost", "score": 0.0382075160741806 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04783428832888603 }, "else": { "operation": "boost", "score": -0.017506413161754608 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02345248870551586 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.14147700369358063 }, "else": { "operation": "boost", "score": 0.0706193596124649 } } }, "else": { "operation": "boost", "score": 0.02543589659035206 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0470459908246994 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03246527537703514 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.054661866277456284 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.024029048159718513 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09546500444412231 }, "else": { "operation": "boost", "score": 0.038906972855329514 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0585801899433136 }, "else": { "operation": "boost", "score": 0.1518246978521347 } }, "else": { "operation": "boost", "score": 0.016382012516260147 } }, "else": { "operation": "boost", "score": 0.021756896749138832 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.07287686318159103 }, "else": { "operation": "boost", "score": 0.025144588202238083 } } } }, "else": { "operation": "boost", "score": -0.01823943294584751 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.03624889627099037 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015349939465522766 }, "else": { "operation": "boost", "score": 0.02485649287700653 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08688339591026306 }, "else": { "operation": "boost", "score": 0.016017325222492218 } }, "else": { "operation": "boost", "score": -0.028782276436686516 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 322.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.054645538330078125 }, "else": { "operation": "boost", "score": 0.016347920522093773 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.08061840385198593 }, "else": { "operation": "boost", "score": 0.10869460552930832 } }, "else": { "operation": "boost", "score": 0.04770907759666443 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.045413244515657425 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.01930972747504711 }, "else": { "operation": "boost", "score": -0.003170951269567013 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07227492332458496 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013937298208475113 }, "else": { "operation": "boost", "score": -0.005921557080000639 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.03268910199403763 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.04886111244559288 }, "else": { "operation": "boost", "score": 0.017992673441767693 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03383777290582657 }, "else": { "operation": "boost", "score": 0.011189262382686138 } } }, "else": { "operation": "boost", "score": -0.01275179535150528 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06340576708316803 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006598726846277714 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0808640569448471 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.04358560964465141 }, "else": { "operation": "boost", "score": -0.016877995803952217 } } }, "else": { "operation": "boost", "score": -0.011349521577358246 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10734419524669647 }, "else": { "operation": "boost", "score": -0.1565038412809372 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.054135192185640335 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "boost", "score": 0.0486990250647068 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.018544064834713936 }, "else": { "operation": "boost", "score": -0.0238693468272686 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.031216898933053017 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0913599282503128 }, "else": { "operation": "boost", "score": -0.012415091507136822 } }, "else": { "operation": "boost", "score": -0.06859272718429565 } }, "else": { "operation": "boost", "score": 0.05155903100967407 } }, "else": { "operation": "boost", "score": 0.010149464942514896 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03544619679450989 }, "else": { "operation": "boost", "score": -0.01847780868411064 } }, "else": { "operation": "boost", "score": -0.06077628955245018 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0406353659927845 }, "else": { "operation": "boost", "score": -0.08739254623651505 } }, "else": { "operation": "boost", "score": -0.04486379399895668 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011059951037168503 }, "else": { "operation": "boost", "score": 0.044063229113817215 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.002007434843108058 }, "else": { "operation": "boost", "score": 0.058998316526412964 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07347164303064346 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.048723042011260986 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11760948598384857 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 32.5, "then": { "operation": "boost", "score": -0.16934047639369965 }, "else": { "operation": "boost", "score": 0.03665580227971077 } }, "else": { "operation": "boost", "score": -0.07395267486572266 } }, "else": { "operation": "boost", "score": 0.05272720381617546 } }, "else": { "operation": "boost", "score": -0.05588605999946594 } }, "else": { "operation": "boost", "score": 0.04393762722611427 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "boost", "score": 0.08394132554531097 }, "else": { "operation": "boost", "score": -0.02971099317073822 } } }, "else": { "operation": "boost", "score": -0.035866137593984604 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.07676992565393448 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.02875063382089138 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131033.0, "then": { "operation": "boost", "score": 0.06972407549619675 }, "else": { "operation": "boost", "score": 0.12643268704414368 } } }, "else": { "operation": "boost", "score": 0.036753199994564056 } }, "else": { "operation": "boost", "score": 0.0011697731679305434 } }, "else": { "operation": "boost", "score": -0.0271470807492733 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3004.5, "then": { "operation": "boost", "score": 0.06731688976287842 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2985.0, "then": { "operation": "boost", "score": 0.15750205516815186 }, "else": { "operation": "boost", "score": 0.07466094940900803 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06309192627668381 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05622373893857002 }, "else": { "operation": "boost", "score": 0.05117752030491829 } }, "else": { "operation": "boost", "score": 0.02335548773407936 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.03421521931886673 }, "else": { "operation": "boost", "score": 0.014360107481479645 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08978376537561417 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.016579121351242065 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0084593640640378 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07152987271547318 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.046851422637701035 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03578754514455795 }, "else": { "operation": "boost", "score": -0.08022761344909668 } } }, "else": { "operation": "boost", "score": 0.0029658018611371517 } }, "else": { "operation": "boost", "score": 0.010174395516514778 } } } } } } }, "else": { "operation": "boost", "score": -0.08271756023168564 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0898296907544136 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 1.2111920113966335e-05 }, "else": { "operation": "boost", "score": 0.04571901634335518 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06054059788584709 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.038427457213401794 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.04036540538072586 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059398770332336426 }, "else": { "operation": "boost", "score": -0.018118005245923996 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004592789337038994 }, "else": { "operation": "boost", "score": -0.12812012434005737 } } }, "else": { "operation": "boost", "score": -0.010294876992702484 } } }, "else": { "operation": "boost", "score": -0.03526604548096657 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08088694512844086 }, "else": { "operation": "boost", "score": 0.04527038708329201 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.09247854351997375 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0708228051662445 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155.5, "then": { "operation": "boost", "score": 0.053342465311288834 }, "else": { "operation": "boost", "score": 0.027914749458432198 } }, "else": { "operation": "boost", "score": 0.014223232865333557 } } } }, "else": { "operation": "boost", "score": 0.054394517093896866 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06140381097793579 }, "else": { "operation": "boost", "score": 0.03355460241436958 } }, "else": { "operation": "boost", "score": 0.014909236691892147 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.06317593157291412 }, "else": { "operation": "boost", "score": 0.14058150351047516 } }, "else": { "operation": "boost", "score": 0.09705815464258194 } }, "else": { "operation": "boost", "score": 0.081576868891716 } }, "else": { "operation": "boost", "score": 0.058607008308172226 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0816197469830513 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": 0.14848968386650085 }, "else": { "operation": "boost", "score": 0.11031480878591537 } } }, "else": { "operation": "boost", "score": 0.061686765402555466 } }, "else": { "operation": "boost", "score": 0.03757208585739136 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.09438423812389374 }, "else": { "operation": "boost", "score": 0.032622575759887695 } }, "else": { "operation": "boost", "score": 0.014211038127541542 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018404025584459305 }, "else": { "operation": "boost", "score": -0.02591586299240589 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0555516816675663 }, "else": { "operation": "boost", "score": 0.009570405818521976 } }, "else": { "operation": "boost", "score": 0.04437137022614479 } }, "else": { "operation": "boost", "score": 0.011276130564510822 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0033603881020098925 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05779999867081642 }, "else": { "operation": "boost", "score": 0.030692407861351967 } }, "else": { "operation": "boost", "score": 0.01908930577337742 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.032727357000112534 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05339672416448593 }, "else": { "operation": "boost", "score": 0.0052154590375721455 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03198476508259773 }, "else": { "operation": "boost", "score": -0.10879069566726685 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01787077635526657 }, "else": { "operation": "boost", "score": -0.03988223150372505 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021571990102529526 }, "else": { "operation": "boost", "score": -0.012690775096416473 } } } } } }, "else": { "operation": "boost", "score": -0.0002237919979961589 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 322.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.05264727398753166 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06945423781871796 }, "else": { "operation": "boost", "score": 0.024874171242117882 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 144686.0, "then": { "operation": "boost", "score": 0.05824405327439308 }, "else": { "operation": "boost", "score": -0.03413311392068863 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.08108053356409073 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.037967268377542496 }, "else": { "operation": "boost", "score": 0.0588628426194191 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.032856494188308716 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.009580472484230995 }, "else": { "operation": "boost", "score": 0.032912831753492355 } }, "else": { "operation": "boost", "score": -0.013582654297351837 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017608605325222015 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02920818328857422 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05757106468081474 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0543600395321846 }, "else": { "operation": "boost", "score": 0.021413566544651985 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0007991707534529269 }, "else": { "operation": "boost", "score": -0.06691122055053711 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.03226340934634209 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016195230185985565 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "boost", "score": 0.03900574520230293 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13996392488479614 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06434720754623413 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.044714413583278656 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.1136905625462532 }, "else": { "operation": "boost", "score": -0.0239487886428833 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.08682917803525925 }, "else": { "operation": "boost", "score": 0.059452105313539505 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03825628384947777 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.0612969845533371 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.007305358070880175 }, "else": { "operation": "boost", "score": 0.07503126561641693 } } } } }, "else": { "operation": "boost", "score": 0.008227440528571606 } } } } } }, "else": { "operation": "boost", "score": -1.533644535811618e-05 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.01803339459002018 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": 0.05241475999355316 }, "else": { "operation": "boost", "score": 0.008436043746769428 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03668927401304245 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008867981843650341 }, "else": { "operation": "boost", "score": 0.01886199228465557 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06982482969760895 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09456981718540192 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.030522853136062622 }, "else": { "operation": "boost", "score": 0.008071331307291985 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.022082403302192688 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.10589969158172607 }, "else": { "operation": "boost", "score": 0.03717099130153656 } }, "else": { "operation": "boost", "score": 0.006141636520624161 } }, "else": { "operation": "boost", "score": -0.0010286795441061258 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5864.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.06624189764261246 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11302852630615234 }, "else": { "operation": "boost", "score": 0.06572314351797104 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0633639469742775 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.13696540892124176 }, "else": { "operation": "boost", "score": 0.023317668586969376 } }, "else": { "operation": "boost", "score": 0.038307659327983856 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.03214019909501076 }, "else": { "operation": "boost", "score": 0.013795590028166771 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08582422882318497 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01745135709643364 }, "else": { "operation": "boost", "score": -0.05967314541339874 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.011938164941966534 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.06628631800413132 }, "else": { "operation": "boost", "score": -0.05773472785949707 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.031721893697977066 }, "else": { "operation": "boost", "score": -0.04969378188252449 } } } }, "else": { "operation": "boost", "score": -0.04704952985048294 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.020912908017635345 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020749235525727272 }, "else": { "operation": "boost", "score": 0.0193842314183712 } }, "else": { "operation": "boost", "score": -0.007863521575927734 } } } } } } }, "else": { "operation": "boost", "score": -0.08058590441942215 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0014080532127991319 }, "else": { "operation": "boost", "score": 0.04186753183603287 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03548935055732727 }, "else": { "operation": "boost", "score": 0.0033889024052768946 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.10193752497434616 }, "else": { "operation": "boost", "score": 0.019945969805121422 } }, "else": { "operation": "boost", "score": 0.020975932478904724 } }, "else": { "operation": "boost", "score": 0.017982356250286102 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016698410734534264 }, "else": { "operation": "boost", "score": -0.021429024636745453 } } }, "else": { "operation": "boost", "score": -0.11629708856344223 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.056582771241664886 }, "else": { "operation": "boost", "score": 0.0383763462305069 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.09008751809597015 }, "else": { "operation": "boost", "score": 0.03846067190170288 } }, "else": { "operation": "boost", "score": 0.061280228197574615 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05939238518476486 }, "else": { "operation": "boost", "score": 0.031370192766189575 } }, "else": { "operation": "boost", "score": 0.01641356758773327 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.10245257616043091 }, "else": { "operation": "boost", "score": 0.13480313122272491 } }, "else": { "operation": "boost", "score": 0.08897016197443008 } }, "else": { "operation": "boost", "score": 0.08137117326259613 } }, "else": { "operation": "boost", "score": 0.05624141916632652 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1015326976776123 }, "else": { "operation": "boost", "score": 0.0676032304763794 } }, "else": { "operation": "boost", "score": 0.03559430316090584 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0922655388712883 }, "else": { "operation": "boost", "score": 0.03491311892867088 } }, "else": { "operation": "boost", "score": 0.013923595659434795 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.034524306654930115 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.10421523451805115 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04658140242099762 }, "else": { "operation": "boost", "score": 0.07348038256168365 } }, "else": { "operation": "boost", "score": -0.02703542448580265 } } } }, "else": { "operation": "boost", "score": -0.001991087105125189 } }, "else": { "operation": "boost", "score": -0.08435504138469696 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04604951664805412 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03442618250846863 }, "else": { "operation": "boost", "score": 0.002108566462993622 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0011833257740363479 }, "else": { "operation": "boost", "score": 0.03062661550939083 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03203694522380829 }, "else": { "operation": "boost", "score": 0.0036075946409255266 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.02758074551820755 }, "else": { "operation": "boost", "score": 0.009166265837848186 } } } }, "else": { "operation": "boost", "score": 0.0020503797568380833 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.06394483149051666 }, "else": { "operation": "boost", "score": 0.012904117815196514 } }, "else": { "operation": "boost", "score": 0.07545313984155655 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.06182088702917099 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "boost", "score": 0.06017206609249115 }, "else": { "operation": "boost", "score": 0.02688945084810257 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.041394416242837906 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.01770881377160549 }, "else": { "operation": "boost", "score": -0.0038174453657120466 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01672441139817238 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028432579711079597 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.040911026298999786 }, "else": { "operation": "boost", "score": -0.19395852088928223 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05108210816979408 }, "else": { "operation": "boost", "score": 0.016858655959367752 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0006218614289537072 }, "else": { "operation": "boost", "score": -0.06483130902051926 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.030747106298804283 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.05271638184785843 }, "else": { "operation": "boost", "score": 0.04701763391494751 } }, "else": { "operation": "boost", "score": 0.03426700085401535 } }, "else": { "operation": "boost", "score": -0.09675932675600052 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010098634287714958 }, "else": { "operation": "boost", "score": 0.0061858962289988995 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.029264051467180252 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012604273855686188 }, "else": { "operation": "boost", "score": 0.018569378182291985 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 405.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.030158013105392456 }, "else": { "operation": "boost", "score": -0.001491633476689458 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "boost", "score": 0.055069807916879654 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.053899794816970825 }, "else": { "operation": "boost", "score": 0.022774750366806984 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 41.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08001692593097687 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.015348617918789387 }, "else": { "operation": "boost", "score": -0.07392647117376328 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.058319319039583206 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04830893129110336 }, "else": { "operation": "boost", "score": 0.006956339813768864 } }, "else": { "operation": "boost", "score": -0.005724295508116484 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.024752601981163025 }, "else": { "operation": "boost", "score": -0.14870744943618774 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.013508794829249382 }, "else": { "operation": "boost", "score": -0.05302973464131355 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.030021555721759796 }, "else": { "operation": "boost", "score": -0.19812782108783722 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.07149403542280197 }, "else": { "operation": "boost", "score": 0.03878118470311165 } }, "else": { "operation": "boost", "score": 0.016931844875216484 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.04935052618384361 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "boost", "score": 0.141992449760437 }, "else": { "operation": "boost", "score": 0.06365174055099487 } }, "else": { "operation": "boost", "score": 0.00549098988994956 } } }, "else": { "operation": "boost", "score": -0.10010933130979538 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11909741163253784 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.029938040301203728 }, "else": { "operation": "boost", "score": -0.010602391324937344 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0499640554189682 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11316832900047302 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05834886059165001 }, "else": { "operation": "boost", "score": 0.03785388544201851 } }, "else": { "operation": "boost", "score": 0.025678280740976334 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.019401676952838898 }, "else": { "operation": "boost", "score": 0.07697252929210663 } }, "else": { "operation": "boost", "score": -0.15344323217868805 } }, "else": { "operation": "boost", "score": 0.07334847748279572 } }, "else": { "operation": "boost", "score": -0.18768759071826935 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0862189456820488 }, "else": { "operation": "boost", "score": -0.11593843996524811 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.050133559852838516 }, "else": { "operation": "boost", "score": 0.028493527323007584 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.02306448668241501 }, "else": { "operation": "boost", "score": -0.1335676610469818 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.07760735601186752 }, "else": { "operation": "boost", "score": 0.08372855186462402 } }, "else": { "operation": "boost", "score": 0.01900104247033596 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.02330644801259041 }, "else": { "operation": "boost", "score": 0.023206740617752075 } } } } }, "else": { "operation": "boost", "score": -0.05327226221561432 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05993553623557091 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.012053352780640125 }, "else": { "operation": "boost", "score": -0.07328976690769196 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.020372774451971054 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07180455327033997 }, "else": { "operation": "boost", "score": -0.08977425843477249 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.007512901443988085 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.019535329192876816 }, "else": { "operation": "boost", "score": -0.006472584325820208 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.022835006937384605 }, "else": { "operation": "boost", "score": -0.1223851889371872 } } } } } } } } }, "else": { "operation": "boost", "score": -0.08404054492712021 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.03974546492099762 }, "else": { "operation": "boost", "score": 0.004293951205909252 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07842329144477844 }, "else": { "operation": "boost", "score": 0.041573360562324524 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232.5, "then": { "operation": "boost", "score": 0.044871728867292404 }, "else": { "operation": "boost", "score": 0.021390579640865326 } }, "else": { "operation": "boost", "score": 0.046156592667102814 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09150570631027222 }, "else": { "operation": "boost", "score": 0.04217825457453728 } }, "else": { "operation": "boost", "score": 0.025290701538324356 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.07139187306165695 }, "else": { "operation": "boost", "score": 0.03482617810368538 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.029972819611430168 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04927009344100952 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02195402793586254 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08491899818181992 }, "else": { "operation": "boost", "score": 0.03546970337629318 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5982142686843872, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.056220170110464096 }, "else": { "operation": "boost", "score": 0.12027976661920547 } }, "else": { "operation": "boost", "score": 0.05058157071471214 } }, "else": { "operation": "boost", "score": 0.002862169872969389 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.06821814924478531 }, "else": { "operation": "boost", "score": 0.02184978872537613 } } } }, "else": { "operation": "boost", "score": -0.015993401408195496 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.03327969089150429 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01361081749200821 }, "else": { "operation": "boost", "score": 0.023588914424180984 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08233275264501572 }, "else": { "operation": "boost", "score": 0.014634810388088226 } }, "else": { "operation": "boost", "score": -0.025320902466773987 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.06167752668261528 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06298813968896866 }, "else": { "operation": "boost", "score": 0.00955402385443449 } } }, "else": { "operation": "boost", "score": 0.07163655757904053 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.059500742703676224 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4701.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10167955607175827 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4927.5, "then": { "operation": "boost", "score": 0.0331350639462471 }, "else": { "operation": "boost", "score": 0.13171693682670593 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 192.5, "then": { "operation": "boost", "score": 0.01375352218747139 }, "else": { "operation": "boost", "score": 0.20917820930480957 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.05357442423701286 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0749669000506401 }, "else": { "operation": "boost", "score": 0.02462034858763218 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.008283640258014202 }, "else": { "operation": "boost", "score": 0.03192295506596565 } }, "else": { "operation": "boost", "score": -0.008417780511081219 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04588083177804947 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.009565450251102448 }, "else": { "operation": "boost", "score": 0.04357719048857689 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013477452099323273 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05584423989057541 }, "else": { "operation": "boost", "score": 0.027070598676800728 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03287321329116821 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 37.5, "then": { "operation": "boost", "score": -0.20077253878116608 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.022641927003860474 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11760767549276352 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.059632714837789536 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05656436085700989 }, "else": { "operation": "boost", "score": -0.021077042445540428 } } } } }, "else": { "operation": "boost", "score": -0.08299977332353592 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.039479129016399384 }, "else": { "operation": "boost", "score": -0.00882644485682249 } } } } } }, "else": { "operation": "boost", "score": -0.01877599023282528 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.03956266865134239 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.04501194879412651 }, "else": { "operation": "boost", "score": 0.012968970462679863 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.029473554342985153 }, "else": { "operation": "boost", "score": 0.010754481889307499 } } }, "else": { "operation": "boost", "score": -0.007538147270679474 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0530339851975441 }, "else": { "operation": "boost", "score": 0.0007710344507358968 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.049207307398319244 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "boost", "score": 0.04641721025109291 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.015200980007648468 }, "else": { "operation": "boost", "score": -0.021861586719751358 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.04062904417514801 }, "else": { "operation": "boost", "score": -0.11234042048454285 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.01355533953756094 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187158.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "boost", "score": 0.11200857907533646 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224059.0, "then": { "operation": "boost", "score": -0.2574765980243683 }, "else": { "operation": "boost", "score": 0.06750861555337906 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1381366103887558 }, "else": { "operation": "boost", "score": 0.10905906558036804 } } }, "else": { "operation": "boost", "score": 0.06103358417749405 } }, "else": { "operation": "boost", "score": -0.11020558327436447 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.007711453828960657 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14130692183971405 }, "else": { "operation": "boost", "score": 0.03155611455440521 } }, "else": { "operation": "boost", "score": 0.09342598915100098 } }, "else": { "operation": "boost", "score": -0.10596001148223877 } }, "else": { "operation": "boost", "score": -0.04668719694018364 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264171.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273025.5, "then": { "operation": "boost", "score": 0.06353171914815903 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09695468097925186 }, "else": { "operation": "boost", "score": -0.127621591091156 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01749139465391636 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0023943136911839247 }, "else": { "operation": "boost", "score": -0.04995359107851982 } }, "else": { "operation": "boost", "score": -0.0004405655199661851 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04439201205968857 }, "else": { "operation": "boost", "score": -0.35184887051582336 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.06777811050415039 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07079055160284042 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187158.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.09374208748340607 }, "else": { "operation": "boost", "score": 0.0009674985776655376 } }, "else": { "operation": "boost", "score": -0.017816107720136642 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3004.5, "then": { "operation": "boost", "score": 0.06397901475429535 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2985.0, "then": { "operation": "boost", "score": 0.15305960178375244 }, "else": { "operation": "boost", "score": 0.06550242006778717 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059811633080244064 }, "else": { "operation": "boost", "score": 0.028305046260356903 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.028898194432258606 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04882432520389557 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029941553249955177 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.038290102034807205 }, "else": { "operation": "boost", "score": 0.11986848711967468 } }, "else": { "operation": "boost", "score": 0.014596058055758476 } }, "else": { "operation": "boost", "score": -0.01807071454823017 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.03280336782336235 }, "else": { "operation": "boost", "score": 0.00670249667018652 } }, "else": { "operation": "boost", "score": 0.004220736678689718 } } } } }, "else": { "operation": "boost", "score": -0.07799830287694931 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02193453162908554 }, "else": { "operation": "boost", "score": 0.01363146398216486 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02737162448465824 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04578683525323868 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12529128789901733 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.034083347767591476 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09061284363269806 }, "else": { "operation": "boost", "score": 0.0024396658409386873 } } } }, "else": { "operation": "boost", "score": -0.11440881341695786 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.05317814648151398 }, "else": { "operation": "boost", "score": 0.03451225534081459 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11888.0, "then": { "operation": "boost", "score": 0.05948670953512192 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.029625078663229942 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.054664235562086105 }, "else": { "operation": "boost", "score": 0.004659419413655996 } } } }, "else": { "operation": "boost", "score": 0.04460899904370308 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.04755246266722679 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07145605236291885 }, "else": { "operation": "boost", "score": 0.1392282098531723 } }, "else": { "operation": "boost", "score": -0.20422066748142242 } } }, "else": { "operation": "boost", "score": 0.0767349973320961 } }, "else": { "operation": "boost", "score": 0.023465260863304138 } }, "else": { "operation": "boost", "score": 0.04890785366296768 } }, "else": { "operation": "boost", "score": 0.03276113420724869 } }, "else": { "operation": "boost", "score": 0.02448778599500656 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.054128605872392654 }, "else": { "operation": "boost", "score": 0.032930709421634674 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.028497571125626564 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04506896808743477 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005785374902188778 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.05346151813864708 }, "else": { "operation": "boost", "score": 0.022947175428271294 } }, "else": { "operation": "boost", "score": -0.21058300137519836 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07276642322540283 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.024816883727908134 }, "else": { "operation": "boost", "score": -0.015591593459248543 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08356624841690063 }, "else": { "operation": "boost", "score": 0.032550498843193054 } }, "else": { "operation": "boost", "score": 0.0018611741252243519 } }, "else": { "operation": "boost", "score": -0.014954203739762306 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.039972517639398575 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0010246318997815251 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03796696662902832 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.013970296829938889 }, "else": { "operation": "boost", "score": 0.03406781703233719 } } }, "else": { "operation": "boost", "score": -0.0067428844049572945 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08237181603908539 }, "else": { "operation": "boost", "score": 0.01395344827324152 } }, "else": { "operation": "boost", "score": -0.022766271606087685 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.05882170796394348 }, "else": { "operation": "boost", "score": 0.011888988316059113 } }, "else": { "operation": "boost", "score": 0.06865949183702469 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.07781830430030823 }, "else": { "operation": "boost", "score": 0.0424567349255085 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03783193603157997 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.016339482739567757 }, "else": { "operation": "boost", "score": -0.00270156585611403 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04469988867640495 }, "else": { "operation": "boost", "score": 0.012112072668969631 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037620335817337036 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00048645713832229376 }, "else": { "operation": "boost", "score": -0.04125671461224556 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.053060054779052734 }, "else": { "operation": "boost", "score": -0.12653855979442596 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11371316015720367 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024203669279813766 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0786629244685173 }, "else": { "operation": "boost", "score": -0.012047077529132366 } }, "else": { "operation": "boost", "score": 0.02754506655037403 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047685299068689346 }, "else": { "operation": "boost", "score": 0.004417781252413988 } } } }, "else": { "operation": "boost", "score": -0.0046876175329089165 } }, "else": { "operation": "boost", "score": -0.0735803097486496 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04861900210380554 }, "else": { "operation": "boost", "score": 0.029482562094926834 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.040832217782735825 }, "else": { "operation": "boost", "score": 0.024108482524752617 } }, "else": { "operation": "boost", "score": -0.07205265015363693 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0256027989089489 }, "else": { "operation": "boost", "score": 0.013100171461701393 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 405.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02773132547736168 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63549.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": 0.0005596401751972735 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08333856612443924 }, "else": { "operation": "boost", "score": 0.010400199331343174 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.06436473876237869 }, "else": { "operation": "boost", "score": 0.03943123668432236 } } }, "else": { "operation": "boost", "score": 0.005696565378457308 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219281.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": -0.17751248180866241 }, "else": { "operation": "boost", "score": 0.08979954570531845 } }, "else": { "operation": "boost", "score": -0.07268907874822617 } }, "else": { "operation": "boost", "score": -0.061111148446798325 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09699857980012894 }, "else": { "operation": "boost", "score": -0.24054081737995148 } } }, "else": { "operation": "boost", "score": 0.008970317430794239 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56762.0, "then": { "operation": "boost", "score": -0.15655069053173065 }, "else": { "operation": "boost", "score": -0.05170828476548195 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.03681467846035957 }, "else": { "operation": "boost", "score": -0.03568938001990318 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0972171425819397 }, "else": { "operation": "boost", "score": 0.04801947623491287 } }, "else": { "operation": "boost", "score": 0.02417183294892311 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0712391659617424 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.07200003415346146 }, "else": { "operation": "boost", "score": 0.15799188613891602 } }, "else": { "operation": "boost", "score": 0.05948223918676376 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06261057406663895 }, "else": { "operation": "boost", "score": 0.01702168397605419 } } }, "else": { "operation": "boost", "score": -0.025302479043602943 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03670765459537506 }, "else": { "operation": "boost", "score": -0.04495887830853462 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03583855554461479 }, "else": { "operation": "boost", "score": -0.0417327880859375 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11243508011102676 }, "else": { "operation": "boost", "score": -0.014528091065585613 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07899399846792221 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05216791853308678 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323.0, "then": { "operation": "boost", "score": 0.15599288046360016 }, "else": { "operation": "boost", "score": 0.05761278048157692 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04252394288778305 }, "else": { "operation": "boost", "score": -0.006544902920722961 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003715314669534564 }, "else": { "operation": "boost", "score": -0.12360826879739761 } } }, "else": { "operation": "boost", "score": 0.015206053853034973 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.07379497587680817 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 192.5, "then": { "operation": "boost", "score": 0.07379202544689178 }, "else": { "operation": "boost", "score": 0.015722934156656265 } } }, "else": { "operation": "boost", "score": -0.013038529083132744 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08220823854207993 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0712495818734169 }, "else": { "operation": "boost", "score": -0.05319187045097351 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.06910571455955505 }, "else": { "operation": "boost", "score": 0.014923159033060074 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.036426905542612076 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0011773010483011603 }, "else": { "operation": "boost", "score": -0.065738745033741 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0046147010289132595 }, "else": { "operation": "boost", "score": -0.020184842869639397 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07550982385873795 }, "else": { "operation": "boost", "score": 0.03807228058576584 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.15192309021949768, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07019275426864624 }, "else": { "operation": "boost", "score": 0.03506721183657646 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0480586513876915 }, "else": { "operation": "boost", "score": 0.01716713234782219 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.011793110519647598 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12980742752552032 }, "else": { "operation": "boost", "score": 0.16105139255523682 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.059584084898233414 }, "else": { "operation": "boost", "score": 0.14751183986663818 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "boost", "score": 0.04963616654276848 }, "else": { "operation": "boost", "score": 0.018252283334732056 } } } } }, "else": { "operation": "boost", "score": -0.08099988847970963 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 781.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.039465054869651794 }, "else": { "operation": "boost", "score": 0.06587834656238556 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059564363211393356 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01671665720641613 }, "else": { "operation": "boost", "score": -0.03314676135778427 } } }, "else": { "operation": "boost", "score": 0.03551669046282768 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0061782547272741795 }, "else": { "operation": "boost", "score": 0.02862749807536602 } }, "else": { "operation": "boost", "score": -0.08463281393051147 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02533457987010479 }, "else": { "operation": "boost", "score": 0.012968111783266068 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.05210459232330322 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.06678520143032074 }, "else": { "operation": "boost", "score": -0.0029395841993391514 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03747597709298134 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033670421689748764 }, "else": { "operation": "boost", "score": 0.021105077117681503 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.07722873985767365 }, "else": { "operation": "boost", "score": 0.03032219596207142 } }, "else": { "operation": "boost", "score": 0.010057525709271431 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07860057801008224 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06820987910032272 }, "else": { "operation": "boost", "score": 0.011107103899121284 } } }, "else": { "operation": "boost", "score": -0.023441849276423454 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.01582440920174122 }, "else": { "operation": "boost", "score": -0.03624780848622322 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.07357162237167358 }, "else": { "operation": "boost", "score": 0.034410636872053146 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "boost", "score": 0.09597110003232956 }, "else": { "operation": "boost", "score": 0.028703702613711357 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03547021001577377 }, "else": { "operation": "boost", "score": -0.04761481657624245 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03701276704668999 }, "else": { "operation": "boost", "score": -0.025389650836586952 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13909004628658295 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.02697233483195305 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0405697263777256 }, "else": { "operation": "boost", "score": 0.0328681617975235 } }, "else": { "operation": "boost", "score": -0.03633427619934082 } } } }, "else": { "operation": "boost", "score": -0.02991386130452156 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.053270597010850906 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": -0.029646828770637512 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.007416322361677885 }, "else": { "operation": "boost", "score": 0.07546789199113846 } }, "else": { "operation": "boost", "score": -0.14249774813652039 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07797374576330185 }, "else": { "operation": "boost", "score": -0.09758633375167847 } } }, "else": { "operation": "boost", "score": -0.18108922243118286 } }, "else": { "operation": "boost", "score": 0.08230838924646378 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04174318164587021 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.008531571365892887 }, "else": { "operation": "boost", "score": -0.1017933115363121 } } } }, "else": { "operation": "boost", "score": 0.011910250410437584 } } }, "else": { "operation": "boost", "score": -0.00795077346265316 } }, "else": { "operation": "boost", "score": -0.03514333814382553 } }, "else": { "operation": "boost", "score": -0.023120615631341934 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.047771379351615906 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04291694611310959 }, "else": { "operation": "boost", "score": 0.06355299055576324 } }, "else": { "operation": "boost", "score": -0.06617020070552826 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.01840541698038578 }, "else": { "operation": "boost", "score": -0.011264830827713013 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "boost", "score": -0.1618807017803192 }, "else": { "operation": "boost", "score": 0.07121019810438156 } }, "else": { "operation": "boost", "score": 0.1365642249584198 } }, "else": { "operation": "boost", "score": 0.028725987300276756 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.014787374064326286 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009715214371681213 }, "else": { "operation": "boost", "score": 0.034543491899967194 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03894994780421257 }, "else": { "operation": "boost", "score": -0.023703856393694878 } }, "else": { "operation": "boost", "score": 0.042187757790088654 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.02538362704217434 }, "else": { "operation": "boost", "score": -0.00264080916531384 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03139190375804901 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0617092102766037 }, "else": { "operation": "boost", "score": -0.003749942174181342 } } }, "else": { "operation": "boost", "score": -0.09180091321468353 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09400768578052521 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04526599124073982 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.041306979954242706 }, "else": { "operation": "boost", "score": -0.0654696673154831 } } }, "else": { "operation": "boost", "score": -0.06735393404960632 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08570375293493271 }, "else": { "operation": "boost", "score": 0.001407311880029738 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.012273700907826424 }, "else": { "operation": "boost", "score": 0.07933919876813889 } }, "else": { "operation": "boost", "score": -0.005390367936342955 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08730253577232361 }, "else": { "operation": "boost", "score": 0.025262825191020966 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.049639321863651276 }, "else": { "operation": "boost", "score": 0.006771992892026901 } }, "else": { "operation": "boost", "score": -0.01841561496257782 } }, "else": { "operation": "boost", "score": -0.07183375954627991 } } } } }, "else": { "operation": "boost", "score": -0.06458237767219543 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03950027376413345 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06618261337280273 }, "else": { "operation": "boost", "score": 0.03687319904565811 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11579413712024689 }, "else": { "operation": "boost", "score": 0.059675607830286026 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014361249282956123 }, "else": { "operation": "boost", "score": -0.211867094039917 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.056146908551454544 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14434584975242615 }, "else": { "operation": "boost", "score": 0.005867535248398781 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.11543954908847809 }, "else": { "operation": "boost", "score": -0.11925447732210159 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.09331438690423965 }, "else": { "operation": "boost", "score": 0.017553487792611122 } }, "else": { "operation": "boost", "score": 0.020232701674103737 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03145531937479973 }, "else": { "operation": "boost", "score": 0.03007105551660061 } } }, "else": { "operation": "boost", "score": -0.09685542434453964 } } } } } }, "else": { "operation": "boost", "score": -0.016183285042643547 } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.049956660717725754 }, "else": { "operation": "boost", "score": 0.031239956617355347 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05862895026803017 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68401.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104000.0, "then": { "operation": "boost", "score": 0.05867299437522888 }, "else": { "operation": "boost", "score": 0.09863559901714325 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.02524024061858654 }, "else": { "operation": "boost", "score": 0.05231805890798569 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.062344275414943695 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.13172481954097748 }, "else": { "operation": "boost", "score": -0.1480574607849121 } } }, "else": { "operation": "boost", "score": 0.07244444638490677 } }, "else": { "operation": "boost", "score": 0.01953882910311222 } }, "else": { "operation": "boost", "score": 0.04140869528055191 } }, "else": { "operation": "boost", "score": 0.02410312369465828 } }, "else": { "operation": "boost", "score": 0.02365925908088684 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.037520881742239 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03648074343800545 }, "else": { "operation": "boost", "score": 0.00703191664069891 } }, "else": { "operation": "boost", "score": 0.009971879422664642 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04270098730921745 }, "else": { "operation": "boost", "score": 0.02785448543727398 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002389879198744893 }, "else": { "operation": "boost", "score": 0.022263912484049797 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009101544506847858 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.11159166693687439 }, "else": { "operation": "boost", "score": -0.19239746034145355 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.046848442405462265 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06851338595151901 }, "else": { "operation": "boost", "score": 0.02065277472138405 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator" ], "then": { "operation": "boost", "score": 0.03736865520477295 }, "else": { "operation": "boost", "score": -0.06645026803016663 } }, "else": { "operation": "boost", "score": 0.06613047420978546 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8881.5, "then": { "operation": "boost", "score": 0.062476616352796555 }, "else": { "operation": "boost", "score": 0.03922422230243683 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07350879907608032 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03980124369263649 }, "else": { "operation": "boost", "score": 0.004587230272591114 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04331672191619873 }, "else": { "operation": "boost", "score": 0.001824265462346375 } } }, "else": { "operation": "boost", "score": 0.003431019838899374 } } }, "else": { "operation": "boost", "score": 0.026770321652293205 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.04982702061533928 }, "else": { "operation": "boost", "score": 0.02358301915228367 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.053544528782367706 }, "else": { "operation": "boost", "score": 0.03145914897322655 } } }, "else": { "operation": "boost", "score": -0.08163149654865265 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.03145310655236244 }, "else": { "operation": "boost", "score": 0.015582697466015816 } }, "else": { "operation": "boost", "score": 0.004029351286590099 } } }, "else": { "operation": "boost", "score": -0.041841715574264526 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.05870567634701729 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04022315889596939 }, "else": { "operation": "boost", "score": 0.018651120364665985 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04614538699388504 }, "else": { "operation": "boost", "score": -0.005999754182994366 } }, "else": { "operation": "boost", "score": 0.05684206634759903 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.004736734554171562 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.03485250473022461 }, "else": { "operation": "boost", "score": -0.03358859941363335 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "boost", "score": 0.0499725416302681 }, "else": { "operation": "boost", "score": 0.02326243557035923 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 41.0, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03156422823667526 }, "else": { "operation": "boost", "score": -0.029647981747984886 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05855005234479904 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011079584248363972 }, "else": { "operation": "boost", "score": 0.002938284073024988 } } }, "else": { "operation": "boost", "score": -0.07890838384628296 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0209646075963974 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05676725134253502 }, "else": { "operation": "boost", "score": 0.005832510534673929 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.04742514714598656 }, "else": { "operation": "boost", "score": 0.03656671941280365 } }, "else": { "operation": "boost", "score": -0.06506279110908508 } } } }, "else": { "operation": "boost", "score": -0.16359049081802368 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.03248673304915428 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.032346196472644806 }, "else": { "operation": "boost", "score": 0.0022234914358705282 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.04385679215192795 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06200229004025459 }, "else": { "operation": "boost", "score": 0.004940178710967302 } } }, "else": { "operation": "boost", "score": -0.0966622531414032 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11492576450109482 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10512825101613998 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.045135825872421265 }, "else": { "operation": "boost", "score": 0.018871912732720375 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.042838387191295624 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.008608483709394932 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04245873540639877 }, "else": { "operation": "boost", "score": 0.02579193376004696 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.014984079636633396 }, "else": { "operation": "boost", "score": 0.06937959790229797 } }, "else": { "operation": "boost", "score": -0.12743166089057922 } }, "else": { "operation": "boost", "score": 0.06732077151536942 } }, "else": { "operation": "boost", "score": -0.1538708657026291 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0790986716747284 }, "else": { "operation": "boost", "score": -0.11504478752613068 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.04740636423230171 }, "else": { "operation": "boost", "score": 0.030124090611934662 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.023027723655104637 }, "else": { "operation": "boost", "score": -0.12284502387046814 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.07484111934900284 }, "else": { "operation": "boost", "score": 0.07968355715274811 } }, "else": { "operation": "boost", "score": 0.02190416492521763 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.05594908446073532 }, "else": { "operation": "boost", "score": -0.11859598755836487 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0109062809497118 }, "else": { "operation": "boost", "score": 0.021659398451447487 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.07650461792945862 }, "else": { "operation": "boost", "score": 0.02886613830924034 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.03232250362634659 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.15138640999794006 }, "else": { "operation": "boost", "score": -0.11464961618185043 } }, "else": { "operation": "boost", "score": 0.03374004736542702 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0219353549182415 }, "else": { "operation": "boost", "score": -0.10078100860118866 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.0015199421904981136 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.05039697885513306 }, "else": { "operation": "boost", "score": 0.018641386181116104 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.015716630965471268 }, "else": { "operation": "boost", "score": -0.02834298647940159 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.005805009510368109 }, "else": { "operation": "boost", "score": -0.02677016891539097 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.13403953611850739 }, "else": { "operation": "boost", "score": 0.09208918362855911 } }, "else": { "operation": "boost", "score": -0.05066600814461708 } } }, "else": { "operation": "boost", "score": -0.015294873155653477 } } } } } } } }, "else": { "operation": "boost", "score": -0.07963337749242783 } } }, "else": { "operation": "boost", "score": 0.005116590298712254 } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07247808575630188 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.04229736328125 }, "else": { "operation": "boost", "score": 0.022963320836424828 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84795.5, "then": { "operation": "boost", "score": 0.0781632587313652 }, "else": { "operation": "boost", "score": 0.10387355834245682 } }, "else": { "operation": "boost", "score": 0.015439625829458237 } }, "else": { "operation": "boost", "score": 0.03988618403673172 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14230987429618835 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06337829679250717 }, "else": { "operation": "boost", "score": 0.03774401172995567 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08342903852462769 }, "else": { "operation": "boost", "score": 0.019884604960680008 } }, "else": { "operation": "boost", "score": -0.09845935553312302 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.06551193445920944 }, "else": { "operation": "boost", "score": 0.03882298991084099 } }, "else": { "operation": "boost", "score": 0.02115793526172638 } }, "else": { "operation": "boost", "score": -0.0003018011921085417 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09620208293199539 }, "else": { "operation": "boost", "score": 0.002394067822024226 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05980170890688896 }, "else": { "operation": "boost", "score": 0.028077594935894012 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.013886158354580402 }, "else": { "operation": "boost", "score": -0.07434076070785522 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006282659247517586 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06649159640073776 }, "else": { "operation": "boost", "score": 0.020384814590215683 } }, "else": { "operation": "boost", "score": -0.06440003961324692 } } }, "else": { "operation": "boost", "score": -0.09054682403802872 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.028153391554951668 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.0917113795876503 }, "else": { "operation": "boost", "score": 0.04918183758854866 } }, "else": { "operation": "boost", "score": 0.02737342193722725 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.03131360933184624 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.04647063463926315 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.094138003885746 }, "else": { "operation": "boost", "score": 0.029009006917476654 } }, "else": { "operation": "boost", "score": -0.009413576684892178 } } } } } } }, "else": { "operation": "boost", "score": -0.005392987746745348 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.04869041219353676 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11651960015296936 }, "else": { "operation": "boost", "score": 0.14859816431999207 } }, "else": { "operation": "boost", "score": 0.06029360741376877 } }, "else": { "operation": "boost", "score": 0.039447031915187836 } }, "else": { "operation": "boost", "score": 0.011800632812082767 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.048471469432115555 }, "else": { "operation": "boost", "score": -0.5559026598930359 } }, "else": { "operation": "boost", "score": -0.04583126679062843 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07193909585475922 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030304675921797752 }, "else": { "operation": "boost", "score": -0.01748245768249035 } } } }, "else": { "operation": "boost", "score": 0.018078207969665527 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.005503247492015362 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "boost", "score": 0.056676629930734634 }, "else": { "operation": "boost", "score": 0.11810944229364395 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.06179330497980118 }, "else": { "operation": "boost", "score": 0.1299510896205902 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06297170370817184 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.045765768736600876 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.03429022431373596 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08879710733890533 }, "else": { "operation": "boost", "score": 0.00803927518427372 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06954123079776764 }, "else": { "operation": "boost", "score": 0.021250471472740173 } }, "else": { "operation": "boost", "score": 0.02121652662754059 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.08168568462133408 }, "else": { "operation": "boost", "score": -0.01608211360871792 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.04514315724372864 }, "else": { "operation": "boost", "score": 0.01898307539522648 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0031392041128128767 }, "else": { "operation": "boost", "score": -0.11685195565223694 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06259544938802719 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08886168152093887 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1301860809326172 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.06277238577604294 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.0557672381401062 }, "else": { "operation": "boost", "score": 0.03452964499592781 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.012478293851017952 }, "else": { "operation": "boost", "score": -0.05641935393214226 } } }, "else": { "operation": "boost", "score": 0.002903748070821166 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "boost", "score": 0.056347813457250595 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06227140501141548 }, "else": { "operation": "boost", "score": 0.023837324231863022 } } } }, "else": { "operation": "boost", "score": -0.01534914132207632 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02130764164030552 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03139905259013176 }, "else": { "operation": "boost", "score": -0.1952972412109375 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03430650383234024 }, "else": { "operation": "boost", "score": 0.0023695784620940685 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0668870061635971 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0856887623667717 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06949755549430847 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.016853345558047295 }, "else": { "operation": "boost", "score": -0.15692877769470215 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "boost", "score": 0.09024835377931595 }, "else": { "operation": "boost", "score": 0.17090508341789246 } }, "else": { "operation": "boost", "score": 0.0203749667853117 } }, "else": { "operation": "boost", "score": 0.010832443833351135 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.018202826380729675 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.10597719252109528 }, "else": { "operation": "boost", "score": 0.03452155739068985 } }, "else": { "operation": "boost", "score": 0.025755340233445168 } }, "else": { "operation": "boost", "score": -0.0006445946637541056 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5898.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06871910393238068 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": -0.08803544193506241 }, "else": { "operation": "boost", "score": 0.06598098576068878 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.13516323268413544 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": 0.1589963287115097 }, "else": { "operation": "boost", "score": 0.019014764577150345 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04518408328294754 }, "else": { "operation": "boost", "score": -0.06495781242847443 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.05590163916349411 }, "else": { "operation": "boost", "score": 0.02336304262280464 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.049572307616472244 }, "else": { "operation": "boost", "score": 0.015236495062708855 } }, "else": { "operation": "boost", "score": 0.007586566265672445 } }, "else": { "operation": "boost", "score": -0.07026010751724243 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0072482796385884285 }, "else": { "operation": "boost", "score": 0.04309898987412453 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02973208948969841 }, "else": { "operation": "boost", "score": 0.0038890521973371506 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0210165623575449 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": 0.009758383966982365 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12265463918447495 }, "else": { "operation": "boost", "score": -0.020547989755868912 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017112860456109047 }, "else": { "operation": "boost", "score": -0.013113302178680897 } }, "else": { "operation": "boost", "score": -0.05688409134745598 } } }, "else": { "operation": "boost", "score": -0.11444664746522903 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22431062161922455 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07086992263793945 }, "else": { "operation": "boost", "score": 0.033864576369524 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05568421259522438 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.08346764743328094 }, "else": { "operation": "boost", "score": 0.032560765743255615 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.036234866827726364 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.12479980289936066 }, "else": { "operation": "boost", "score": -0.12317384779453278 } } }, "else": { "operation": "boost", "score": 0.07552655041217804 } }, "else": { "operation": "boost", "score": 0.021351773291826248 } }, "else": { "operation": "boost", "score": 0.04757456108927727 } }, "else": { "operation": "boost", "score": 0.029948949813842773 } }, "else": { "operation": "boost", "score": 0.022298451513051987 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03499872609972954 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.034266263246536255 }, "else": { "operation": "boost", "score": 0.00597270205616951 } }, "else": { "operation": "boost", "score": 0.009151963517069817 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.02949659712612629 }, "else": { "operation": "boost", "score": 0.016039978712797165 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008779007010161877 }, "else": { "operation": "boost", "score": -0.146667018532753 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 185.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.014363494701683521 }, "else": { "operation": "boost", "score": 0.060232244431972504 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.07252568751573563 }, "else": { "operation": "boost", "score": 0.03884514421224594 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02065844088792801 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04106542095541954 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.019780393689870834 }, "else": { "operation": "boost", "score": -0.26822876930236816 } } }, "else": { "operation": "boost", "score": 0.009338932111859322 } }, "else": { "operation": "boost", "score": 0.02441820316016674 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004376117140054703 }, "else": { "operation": "boost", "score": -0.05452028661966324 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.027172280475497246 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.026249827817082405 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.005804743152111769 }, "else": { "operation": "boost", "score": 0.025556445121765137 } }, "else": { "operation": "boost", "score": -0.009328465908765793 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03665409982204437 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06493663787841797 }, "else": { "operation": "boost", "score": 0.003405379131436348 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.03230806812644005 }, "else": { "operation": "boost", "score": -0.013855344615876675 } }, "else": { "operation": "boost", "score": 0.0006414134986698627 } }, "else": { "operation": "boost", "score": -0.02983848936855793 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.053906120359897614 }, "else": { "operation": "boost", "score": 0.014884349890053272 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04255858436226845 }, "else": { "operation": "boost", "score": -0.40594643354415894 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "boost", "score": 0.04340120404958725 }, "else": { "operation": "boost", "score": 0.004859868437051773 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1370518058538437 }, "else": { "operation": "boost", "score": 0.04326716437935829 } }, "else": { "operation": "boost", "score": 0.06968940794467926 } }, "else": { "operation": "boost", "score": -0.0028432549443095922 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.007960844784975052 }, "else": { "operation": "boost", "score": 0.07142004370689392 } }, "else": { "operation": "boost", "score": -0.032559726387262344 } }, "else": { "operation": "boost", "score": -0.046917881816625595 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01565297693014145 }, "else": { "operation": "boost", "score": -0.05838087946176529 } }, "else": { "operation": "boost", "score": 0.045294713228940964 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.05937083438038826 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0990758016705513 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.057381726801395416 }, "else": { "operation": "boost", "score": 0.029470393434166908 } }, "else": { "operation": "boost", "score": -0.01413983665406704 } } } }, "else": { "operation": "boost", "score": -0.07128319144248962 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0015814144862815738 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09247621148824692 }, "else": { "operation": "boost", "score": 0.021583879366517067 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.0016557982889935374 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.044199179857969284 }, "else": { "operation": "boost", "score": 0.010748284868896008 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.052692949771881104 }, "else": { "operation": "boost", "score": 0.08402464538812637 } }, "else": { "operation": "boost", "score": 0.0040825288742780685 } }, "else": { "operation": "boost", "score": -0.016047563403844833 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.040982648730278015 }, "else": { "operation": "boost", "score": 0.0052618649788200855 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.014868457801640034 }, "else": { "operation": "boost", "score": -0.1452011615037918 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108013.0, "then": { "operation": "boost", "score": -0.04801083356142044 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.04573701694607735 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": 0.10424511879682541 }, "else": { "operation": "boost", "score": -0.0022924940567463636 } } } }, "else": { "operation": "boost", "score": 0.0037377553526312113 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.025441892445087433 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.042230024933815 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11747873574495316 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04380802437663078 }, "else": { "operation": "boost", "score": 0.018150243908166885 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016190404072403908 }, "else": { "operation": "boost", "score": -0.01609387993812561 } } } }, "else": { "operation": "boost", "score": -0.043260250240564346 } } }, "else": { "operation": "boost", "score": -0.035097382962703705 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.06614356487989426 }, "else": { "operation": "boost", "score": -0.12164463847875595 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.028041573241353035 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131033.0, "then": { "operation": "boost", "score": 0.06622854620218277 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.0931992381811142 }, "else": { "operation": "boost", "score": 0.1287935972213745 } }, "else": { "operation": "boost", "score": -0.13976381719112396 } } } }, "else": { "operation": "boost", "score": 0.03834804520010948 } }, "else": { "operation": "boost", "score": 0.005973609630018473 } }, "else": { "operation": "boost", "score": -0.019217321649193764 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3004.5, "then": { "operation": "boost", "score": 0.059422995895147324 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2985.0, "then": { "operation": "boost", "score": 0.1470845490694046 }, "else": { "operation": "boost", "score": 0.05705125629901886 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05603346228599548 }, "else": { "operation": "boost", "score": 0.02514943666756153 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00841135811060667 }, "else": { "operation": "boost", "score": 0.036980897188186646 } }, "else": { "operation": "boost", "score": 0.00912558939307928 } }, "else": { "operation": "boost", "score": 0.006550418678671122 } }, "else": { "operation": "boost", "score": -0.0677555724978447 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0019363068277016282 }, "else": { "operation": "boost", "score": 0.03295128419995308 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027813805267214775 }, "else": { "operation": "boost", "score": 0.0033973208628594875 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05389392375946045 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.018092239275574684 }, "else": { "operation": "boost", "score": -0.01577862538397312 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017127344384789467 }, "else": { "operation": "boost", "score": -0.013204323127865791 } }, "else": { "operation": "boost", "score": -0.05595478415489197 } } }, "else": { "operation": "boost", "score": -0.1134573444724083 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04522956907749176 }, "else": { "operation": "boost", "score": 0.027044471353292465 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "boost", "score": 0.08980147540569305 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05796465650200844 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08171381056308746 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02980971895158291 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.08523011952638626 }, "else": { "operation": "boost", "score": 0.01930636167526245 } }, "else": { "operation": "boost", "score": -0.00664533581584692 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0867115929722786 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03290332481265068 }, "else": { "operation": "boost", "score": -0.20333009958267212 } }, "else": { "operation": "boost", "score": 0.04285315051674843 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07964762300252914 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.06172364205121994 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.042302634567022324 }, "else": { "operation": "boost", "score": 0.0001955212646862492 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.046210210770368576 }, "else": { "operation": "boost", "score": -0.27425068616867065 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.027716834098100662 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.06555041670799255 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.08510170131921768 }, "else": { "operation": "boost", "score": 0.18767723441123962 } } }, "else": { "operation": "boost", "score": -0.026248635724186897 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06985568255186081 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.054437048733234406 }, "else": { "operation": "boost", "score": 0.019982578232884407 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.05073351785540581 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1994766891002655 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02167442813515663 }, "else": { "operation": "boost", "score": -0.0014934749342501163 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "boost", "score": 0.10764706134796143 }, "else": { "operation": "boost", "score": 0.030440399423241615 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0668119490146637 }, "else": { "operation": "boost", "score": 0.046510111540555954 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.043584030121564865 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08280552923679352 }, "else": { "operation": "boost", "score": 0.009764686226844788 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.033492133021354675 }, "else": { "operation": "boost", "score": -0.0542471818625927 } }, "else": { "operation": "boost", "score": 0.017023956403136253 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10581055283546448 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85516.0, "then": { "operation": "boost", "score": 0.04319296032190323 }, "else": { "operation": "boost", "score": 0.09883259981870651 } }, "else": { "operation": "boost", "score": 0.011294256895780563 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "boost", "score": 0.055968984961509705 }, "else": { "operation": "boost", "score": 0.02681775763630867 } }, "else": { "operation": "boost", "score": -0.03599412366747856 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.006339734420180321 }, "else": { "operation": "boost", "score": 0.03893870860338211 } }, "else": { "operation": "boost", "score": -0.001244599581696093 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.046517807990312576 }, "else": { "operation": "boost", "score": 0.005834463518112898 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08442479372024536 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.008419751189649105 }, "else": { "operation": "boost", "score": 0.07591750472784042 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.31822389364242554 }, "else": { "operation": "boost", "score": 0.06878990679979324 } }, "else": { "operation": "boost", "score": 0.027068739756941795 } } }, "else": { "operation": "boost", "score": 0.020820874720811844 } }, "else": { "operation": "boost", "score": -0.017080157995224 } } }, "else": { "operation": "boost", "score": -0.0015695919282734394 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06932314485311508 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "boost", "score": -0.09265671670436859 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.117274209856987 }, "else": { "operation": "boost", "score": -0.022840527817606926 } }, "else": { "operation": "boost", "score": 0.033806346356868744 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0299917571246624 }, "else": { "operation": "boost", "score": -0.08282597362995148 } }, "else": { "operation": "boost", "score": -0.11762502789497375 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.040541794151067734 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03479913994669914 }, "else": { "operation": "boost", "score": -0.010780276730656624 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06423155218362808 }, "else": { "operation": "boost", "score": 0.013571943156421185 } } }, "else": { "operation": "boost", "score": 0.03140143305063248 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0483546182513237 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0038071805611252785 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.043520599603652954 }, "else": { "operation": "boost", "score": 0.10414213687181473 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.15314218401908875 }, "else": { "operation": "boost", "score": -0.10050492733716965 } }, "else": { "operation": "boost", "score": 0.06776675581932068 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.14757053554058075 }, "else": { "operation": "boost", "score": 0.0721433237195015 } }, "else": { "operation": "boost", "score": 0.017207542434334755 } }, "else": { "operation": "boost", "score": -0.016564158722758293 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.11451734602451324 }, "else": { "operation": "boost", "score": -0.1639118492603302 } } } } } } } }, "else": { "operation": "boost", "score": -0.12300314754247665 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11555.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0058952756226062775 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06455206871032715 }, "else": { "operation": "boost", "score": 0.027663839980959892 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14424121379852295 }, "else": { "operation": "boost", "score": 0.025392672047019005 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5543.0, "then": { "operation": "boost", "score": -0.007692262995988131 }, "else": { "operation": "boost", "score": 0.07227473706007004 } }, "else": { "operation": "boost", "score": -0.08192294090986252 } }, "else": { "operation": "boost", "score": -0.024403762072324753 } }, "else": { "operation": "boost", "score": -0.08885055780410767 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06112951040267944 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type" ], "then": { "operation": "boost", "score": 0.019651861861348152 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022664451971650124 }, "else": { "operation": "boost", "score": -0.015991639345884323 } } }, "else": { "operation": "boost", "score": -0.012265325523912907 } } }, "else": { "operation": "boost", "score": -0.02803546003997326 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.03772295266389847 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.041829317808151245 }, "else": { "operation": "boost", "score": -0.06321455538272858 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.010972058400511742 }, "else": { "operation": "boost", "score": -0.014100838452577591 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 125.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.013015956617891788 }, "else": { "operation": "boost", "score": 0.029913943260908127 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07580244541168213 }, "else": { "operation": "boost", "score": 0.012128656730055809 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10543631762266159 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.015615857206285 }, "else": { "operation": "boost", "score": 0.05650855228304863 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04829734191298485 }, "else": { "operation": "boost", "score": 0.015550102107226849 } } } }, "else": { "operation": "boost", "score": -0.010355884209275246 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06932717561721802 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027786871418356895 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14016827940940857 }, "else": { "operation": "boost", "score": 0.0025677175726741552 } } }, "else": { "operation": "boost", "score": 0.052369412034749985 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015196210704743862 }, "else": { "operation": "boost", "score": -0.015840673819184303 } } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06844270974397659 }, "else": { "operation": "boost", "score": 0.03057914786040783 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06944481283426285 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.12438005208969116 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1215.5, "then": { "operation": "boost", "score": 0.06439794600009918 }, "else": { "operation": "boost", "score": 0.02766120247542858 } }, "else": { "operation": "boost", "score": 0.005026265978813171 } } } }, "else": { "operation": "boost", "score": 0.04126228392124176 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04299835115671158 }, "else": { "operation": "boost", "score": 0.005519367754459381 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.02852802351117134 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.048130180686712265 }, "else": { "operation": "boost", "score": 0.01765774004161358 } } }, "else": { "operation": "boost", "score": -0.06442414224147797 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008378199301660061 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05255172401666641 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.35038477182388306 }, "else": { "operation": "boost", "score": 0.02556304819881916 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.026256851851940155 }, "else": { "operation": "boost", "score": -0.010588455945253372 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.019837889820337296 }, "else": { "operation": "boost", "score": 0.023041047155857086 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_PreprocessorExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.061612773686647415 }, "else": { "operation": "boost", "score": 0.029885049909353256 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.032798539847135544 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.07759105414152145 }, "else": { "operation": "boost", "score": 0.0051263771019876 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.03852150961756706 }, "else": { "operation": "boost", "score": 0.014775962568819523 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.029167721047997475 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.07302569597959518 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.030204910784959793 }, "else": { "operation": "boost", "score": -0.27573978900909424 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0840630754828453 }, "else": { "operation": "boost", "score": 0.03109283745288849 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.009583202190697193 }, "else": { "operation": "boost", "score": 0.05921027436852455 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.05370551720261574 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.17553994059562683 }, "else": { "operation": "boost", "score": 0.07970771938562393 } } }, "else": { "operation": "boost", "score": -0.010915368795394897 } }, "else": { "operation": "boost", "score": 0.0139527078717947 } } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2713219225406647 }, "else": { "operation": "boost", "score": -0.036183297634124756 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.06878120452165604 }, "else": { "operation": "boost", "score": 0.10185915976762772 } }, "else": { "operation": "boost", "score": 0.06959839165210724 } }, "else": { "operation": "boost", "score": 0.03080286644399166 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "boost", "score": -0.0007818465819582343 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.08316665142774582 }, "else": { "operation": "boost", "score": -0.016115913167595863 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 185.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.040941108018159866 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06330488622188568 }, "else": { "operation": "boost", "score": 0.018786072731018066 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator" ], "then": { "operation": "boost", "score": 0.0346432588994503 }, "else": { "operation": "boost", "score": -0.06407027691602707 } }, "else": { "operation": "boost", "score": 0.06022511422634125 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7907.5, "then": { "operation": "boost", "score": 0.05794639512896538 }, "else": { "operation": "boost", "score": 0.03477279096841812 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020205404609441757 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.037532564252614975 }, "else": { "operation": "boost", "score": -0.03626039996743202 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.048133574426174164 }, "else": { "operation": "boost", "score": 0.017133360728621483 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06676259636878967 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.051491789519786835 }, "else": { "operation": "boost", "score": 0.035225141793489456 } }, "else": { "operation": "boost", "score": 0.03178318962454796 } }, "else": { "operation": "boost", "score": -0.08648519963026047 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1117236539721489 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005407707765698433 }, "else": { "operation": "boost", "score": -0.045515596866607666 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "boost", "score": 0.04296235367655754 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.03592968359589577 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016864430159330368 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.20827646553516388 }, "else": { "operation": "boost", "score": 0.054122645407915115 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.04183942824602127 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04457353428006172 }, "else": { "operation": "boost", "score": 0.028603818267583847 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011580881662666798 }, "else": { "operation": "boost", "score": -0.0088344756513834 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.023567114025354385 }, "else": { "operation": "boost", "score": 0.0041969395242631435 } }, "else": { "operation": "boost", "score": 0.0023467272985726595 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.013061432167887688 }, "else": { "operation": "boost", "score": 0.05937311798334122 } }, "else": { "operation": "boost", "score": -0.0020655766129493713 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.030817026272416115 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.037916913628578186 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03477254882454872 }, "else": { "operation": "boost", "score": 0.012768616899847984 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11555.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.004969597794115543 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.05696090683341026 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11124683916568756 }, "else": { "operation": "boost", "score": 0.0556669682264328 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172808.5, "then": { "operation": "boost", "score": -0.14920929074287415 }, "else": { "operation": "boost", "score": 0.028387049213051796 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13480712473392487 }, "else": { "operation": "boost", "score": 0.023774372413754463 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "boost", "score": -0.019041357561945915 }, "else": { "operation": "boost", "score": -0.08670307695865631 } }, "else": { "operation": "boost", "score": -0.01431447546929121 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "boost", "score": 0.03788820281624794 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.03940298780798912 }, "else": { "operation": "boost", "score": -0.05798754468560219 } }, "else": { "operation": "boost", "score": -0.005573473870754242 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 125.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.042265623807907104 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.053862057626247406 }, "else": { "operation": "boost", "score": 0.01422168780118227 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0741983950138092 }, "else": { "operation": "boost", "score": 0.011441342532634735 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.041560493409633636 }, "else": { "operation": "boost", "score": 0.12504084408283234 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.02658708393573761 }, "else": { "operation": "boost", "score": -0.09592384845018387 } }, "else": { "operation": "boost", "score": -0.05511634424328804 } } }, "else": { "operation": "boost", "score": -0.005906434264034033 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03266623988747597 }, "else": { "operation": "boost", "score": 0.012840572744607925 } }, "else": { "operation": "boost", "score": -0.02488432079553604 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12229486554861069 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.060992155224084854 }, "else": { "operation": "boost", "score": 0.0042813499458134174 } } }, "else": { "operation": "boost", "score": -0.01841607317328453 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.04542795568704605 }, "else": { "operation": "boost", "score": 0.0386803038418293 } } }, "else": { "operation": "boost", "score": 0.02267487905919552 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.035357747226953506 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18019481003284454, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08046498894691467 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.009993448853492737 }, "else": { "operation": "boost", "score": -0.15470243990421295 } }, "else": { "operation": "boost", "score": 0.02295607514679432 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06159157678484917 }, "else": { "operation": "boost", "score": 0.02504635974764824 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.048115115612745285 }, "else": { "operation": "boost", "score": 0.008184760808944702 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029183320701122284 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07356708496809006 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.29582011699676514 }, "else": { "operation": "boost", "score": 0.14368587732315063 } } }, "else": { "operation": "boost", "score": 0.030074821785092354 } }, "else": { "operation": "boost", "score": 0.013155731372535229 } }, "else": { "operation": "boost", "score": -0.029534265398979187 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0778205469250679 }, "else": { "operation": "boost", "score": 0.011188757605850697 } }, "else": { "operation": "boost", "score": 0.043171122670173645 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05439222604036331 }, "else": { "operation": "boost", "score": 0.036743782460689545 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.23273202776908875 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047638483345508575 }, "else": { "operation": "boost", "score": 0.12144908308982849 } }, "else": { "operation": "boost", "score": 0.013012873940169811 } }, "else": { "operation": "boost", "score": 0.010226404294371605 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.0448652058839798 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": -0.02865408919751644 }, "else": { "operation": "boost", "score": -0.10727567970752716 } }, "else": { "operation": "boost", "score": 0.005384459625929594 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12537957727909088 }, "else": { "operation": "boost", "score": 0.07638969272375107 } }, "else": { "operation": "boost", "score": 0.03341034799814224 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018701346591114998 }, "else": { "operation": "boost", "score": 0.011771881952881813 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.040750645101070404 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03215717896819115 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04170706123113632 }, "else": { "operation": "boost", "score": -0.36595916748046875 } }, "else": { "operation": "boost", "score": -0.04451196640729904 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06699047237634659 }, "else": { "operation": "boost", "score": 0.021891387179493904 } } }, "else": { "operation": "boost", "score": 0.014447606168687344 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08319980651140213 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.08352499455213547 }, "else": { "operation": "boost", "score": 0.033119674772024155 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03864997252821922 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.016295064240694046 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.008121650665998459 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.024639664217829704 }, "else": { "operation": "boost", "score": -0.01102107297629118 } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.018455447629094124 }, "else": { "operation": "boost", "score": -0.07023446261882782 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07688898593187332 }, "else": { "operation": "boost", "score": 0.02656453661620617 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.049695998430252075 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267507.5, "then": { "operation": "boost", "score": 0.08807612955570221 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08471459150314331 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.018271170556545258 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "boost", "score": 0.05508217588067055 }, "else": { "operation": "boost", "score": 0.006405639927834272 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.06443848460912704 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11366388201713562 }, "else": { "operation": "boost", "score": 0.047230180352926254 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.08682464063167572 }, "else": { "operation": "boost", "score": 0.003852015594020486 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.034947820007801056 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0560961589217186 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09596192836761475 }, "else": { "operation": "boost", "score": 0.06951343268156052 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 249.5, "then": { "operation": "boost", "score": 0.048372749239206314 }, "else": { "operation": "boost", "score": -0.011888813227415085 } } }, "else": { "operation": "boost", "score": 0.05072196573019028 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.005439593456685543 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11993.5, "then": { "operation": "boost", "score": -0.1544654816389084 }, "else": { "operation": "boost", "score": -0.021119533106684685 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.0021030153147876263 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06302369385957718 }, "else": { "operation": "boost", "score": 0.04252493008971214 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.019272392615675926 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11693311482667923 }, "else": { "operation": "boost", "score": 0.004160770680755377 } } } } }, "else": { "operation": "boost", "score": -0.11691557615995407 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0028744458686560392 }, "else": { "operation": "boost", "score": 0.1851627379655838 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0006613216828554869 }, "else": { "operation": "boost", "score": -0.017480632290244102 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06765304505825043 }, "else": { "operation": "boost", "score": -0.016673775389790535 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.06524734944105148 }, "else": { "operation": "boost", "score": -0.1456599235534668 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53585.5, "then": { "operation": "boost", "score": -0.11108022183179855 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13850609958171844 }, "else": { "operation": "boost", "score": 0.026993196457624435 } }, "else": { "operation": "boost", "score": -0.04648430645465851 } } }, "else": { "operation": "boost", "score": -0.0649753212928772 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25503.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.09979459643363953 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187158.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.0675610825419426 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1309090256690979 }, "else": { "operation": "boost", "score": 0.10454949736595154 } } }, "else": { "operation": "boost", "score": 0.0490572415292263 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.022460779175162315 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11318811774253845 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.058399152010679245 }, "else": { "operation": "boost", "score": 0.037703126668930054 } }, "else": { "operation": "boost", "score": 0.018547700718045235 } } }, "else": { "operation": "boost", "score": -0.10776608437299728 } }, "else": { "operation": "boost", "score": -0.06354043632745743 } }, "else": { "operation": "boost", "score": -0.001802551792934537 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 103.5, "then": { "operation": "boost", "score": 0.06024285405874252 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.024767369031906128 }, "else": { "operation": "boost", "score": 0.04422618821263313 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10819622874259949 }, "else": { "operation": "boost", "score": 0.04537419602274895 } }, "else": { "operation": "boost", "score": -0.018117211759090424 } }, "else": { "operation": "boost", "score": 0.020417936146259308 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.05040516331791878 }, "else": { "operation": "boost", "score": 0.026224059984087944 } }, "else": { "operation": "boost", "score": -0.08591160178184509 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.14639674127101898 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58696.0, "then": { "operation": "boost", "score": 0.05135684460401535 }, "else": { "operation": "boost", "score": 0.10796714574098587 } }, "else": { "operation": "boost", "score": -0.024938838556408882 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04446640610694885, "then": { "operation": "boost", "score": 0.0071297260001301765 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46972.0, "then": { "operation": "boost", "score": -0.16538503766059875 }, "else": { "operation": "boost", "score": -0.011831644922494888 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.037701621651649475 }, "else": { "operation": "boost", "score": 0.007797681260854006 } } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.04121404141187668 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.08169223368167877 }, "else": { "operation": "boost", "score": 0.028445115312933922 } }, "else": { "operation": "boost", "score": 0.0500020869076252 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.08893795311450958 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.03333276882767677 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.11775468289852142 }, "else": { "operation": "boost", "score": -0.11147429794073105 } } }, "else": { "operation": "boost", "score": 0.07431341707706451 } }, "else": { "operation": "boost", "score": 0.03854887932538986 } }, "else": { "operation": "boost", "score": 0.004549737554043531 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.11078296601772308 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.027325917035341263 }, "else": { "operation": "boost", "score": -0.06267203390598297 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0314410962164402 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.039059117436409 }, "else": { "operation": "boost", "score": 0.1509227454662323 } }, "else": { "operation": "boost", "score": -0.03051225282251835 } } } }, "else": { "operation": "boost", "score": 0.03588617965579033 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.060863468796014786 }, "else": { "operation": "boost", "score": 0.02356981299817562 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.16484467685222626 }, "else": { "operation": "boost", "score": 0.05766594782471657 } }, "else": { "operation": "boost", "score": 0.013796490617096424 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.02321823313832283 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.07306509464979172 }, "else": { "operation": "boost", "score": 0.034208573400974274 } } } }, "else": { "operation": "boost", "score": 0.009219408966600895 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010345007292926311 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02017570100724697 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016547854989767075 }, "else": { "operation": "boost", "score": 0.0012086721835657954 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07604867964982986 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.010681849904358387 }, "else": { "operation": "boost", "score": -0.08247840404510498 } }, "else": { "operation": "boost", "score": 0.01360731478780508 } } }, "else": { "operation": "boost", "score": -0.01794356480240822 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 185.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.03939212113618851 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 129672.5, "then": { "operation": "boost", "score": -0.14148636162281036 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": 0.100898377597332 }, "else": { "operation": "boost", "score": 0.02859473042190075 } } }, "else": { "operation": "boost", "score": -0.031240813434123993 } } }, "else": { "operation": "boost", "score": 0.048495542258024216 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7907.5, "then": { "operation": "boost", "score": 0.05562294274568558 }, "else": { "operation": "boost", "score": 0.03396828845143318 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.033927690237760544 }, "else": { "operation": "boost", "score": 0.024615367874503136 } }, "else": { "operation": "boost", "score": -0.08978009968996048 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04713717848062515 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019028954207897186 }, "else": { "operation": "boost", "score": 0.016760069876909256 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08065859973430634 }, "else": { "operation": "boost", "score": 0.0346776619553566 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005932931322604418 }, "else": { "operation": "boost", "score": -0.04594539478421211 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10840378701686859 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "boost", "score": 0.04035293683409691 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.031990811228752136 }, "else": { "operation": "boost", "score": 0.0117153599858284 } } }, "else": { "operation": "boost", "score": 0.0030540956649929285 } }, "else": { "operation": "boost", "score": -0.002617946360260248 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.051126834005117416 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07162024825811386 }, "else": { "operation": "boost", "score": 0.026704687625169754 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.007334337569773197 }, "else": { "operation": "boost", "score": 0.02244790457189083 } }, "else": { "operation": "boost", "score": -0.06534408777952194 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11056222766637802 }, "else": { "operation": "boost", "score": 0.020924126729369164 } }, "else": { "operation": "boost", "score": -0.006883667781949043 } } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08906982839107513 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03570019081234932 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08358123153448105 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04789023846387863 }, "else": { "operation": "boost", "score": 0.010395677760243416 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.031586967408657074 }, "else": { "operation": "boost", "score": -0.0004214816144667566 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05879303812980652 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01973395235836506 }, "else": { "operation": "boost", "score": -0.06255916506052017 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.04283977299928665 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1845.0, "then": { "operation": "boost", "score": 0.021513618528842926 }, "else": { "operation": "boost", "score": 0.15211866796016693 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0549892783164978 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1745585799217224 }, "else": { "operation": "boost", "score": 0.023266324773430824 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11809152364730835 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.018036291003227234 }, "else": { "operation": "boost", "score": -0.0048095169477164745 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0796661302447319 }, "else": { "operation": "boost", "score": 0.011802656576037407 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.037672702223062515 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.061891861259937286 }, "else": { "operation": "boost", "score": -0.1584433764219284 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.046416718512773514 }, "else": { "operation": "boost", "score": 0.009849580004811287 } } }, "else": { "operation": "boost", "score": -0.011473488062620163 } }, "else": { "operation": "boost", "score": -0.05170639976859093 } } }, "else": { "operation": "boost", "score": -0.1274336278438568 } } } }, "else": { "operation": "boost", "score": -0.025715501978993416 } }, "else": { "operation": "boost", "score": -0.11694733053445816 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.04026065021753311 }, "else": { "operation": "boost", "score": -0.04530901461839676 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.0344853550195694 }, "else": { "operation": "boost", "score": -0.0062433574348688126 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07105395197868347 }, "else": { "operation": "boost", "score": 0.011587811633944511 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03558894246816635 }, "else": { "operation": "boost", "score": 0.11624029278755188 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02655174396932125 }, "else": { "operation": "boost", "score": -0.02573755942285061 } }, "else": { "operation": "boost", "score": 0.03453751280903816 } }, "else": { "operation": "boost", "score": -0.09411177039146423 } }, "else": { "operation": "boost", "score": -0.04857299104332924 } } }, "else": { "operation": "boost", "score": -0.007229749578982592 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.002554848324507475 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07873047888278961 }, "else": { "operation": "boost", "score": 0.02964862249791622 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.062103476375341415 }, "else": { "operation": "boost", "score": -0.09582530707120895 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.025087304413318634 }, "else": { "operation": "boost", "score": 0.0030881878919899464 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3595663607120514 }, "else": { "operation": "boost", "score": 0.06140308082103729 } }, "else": { "operation": "boost", "score": 0.011383644305169582 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12356028705835342 }, "else": { "operation": "boost", "score": -0.01535834837704897 } } }, "else": { "operation": "boost", "score": -0.1121119037270546 } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.039628565311431885 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.07485251128673553 }, "else": { "operation": "boost", "score": 0.12261559814214706 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05130638927221298 }, "else": { "operation": "boost", "score": 0.01952507346868515 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.039364688098430634 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.07241897284984589 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.061094556003808975 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03751993179321289 }, "else": { "operation": "boost", "score": -0.0006564091891050339 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.055610425770282745 }, "else": { "operation": "boost", "score": 0.019549399614334106 } }, "else": { "operation": "boost", "score": -0.22940821945667267 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.029548177495598793 }, "else": { "operation": "boost", "score": 0.11094774305820465 } }, "else": { "operation": "boost", "score": -0.03722427785396576 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05410680174827576 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07210544496774673 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13551577925682068 }, "else": { "operation": "boost", "score": 0.030619075521826744 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06098366528749466 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.053304273635149 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 400.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05372639000415802 }, "else": { "operation": "boost", "score": 0.03274466469883919 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.012877172790467739 }, "else": { "operation": "boost", "score": 0.03266851231455803 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.044497787952423096 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.058891747146844864 }, "else": { "operation": "boost", "score": -0.014985806308686733 } } }, "else": { "operation": "boost", "score": -0.12245313078165054 } }, "else": { "operation": "boost", "score": 0.009141246788203716 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13185422122478485 }, "else": { "operation": "boost", "score": 0.046168290078639984 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05024109408259392 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.029537487775087357 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013762615621089935 }, "else": { "operation": "boost", "score": 0.023838387802243233 } }, "else": { "operation": "boost", "score": -0.014480187557637691 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012001363560557365 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12827402353286743 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.06777115166187286 }, "else": { "operation": "boost", "score": 0.03346888720989227 } }, "else": { "operation": "boost", "score": 0.02059670351445675 } } } }, "else": { "operation": "boost", "score": 0.02149559184908867 } }, "else": { "operation": "boost", "score": 0.008149090223014355 } }, "else": { "operation": "boost", "score": -0.01181876566261053 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0410303995013237 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.05135336145758629 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06677845120429993 }, "else": { "operation": "boost", "score": 0.01617927849292755 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0023523583076894283 }, "else": { "operation": "boost", "score": -0.09776680171489716 } }, "else": { "operation": "boost", "score": 0.03977624699473381 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "boost", "score": 0.08824768662452698 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030675845220685005 }, "else": { "operation": "boost", "score": -0.37451475858688354 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06020655483007431 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "boost", "score": -0.10161961615085602 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.10291920602321625 }, "else": { "operation": "boost", "score": -0.01856055110692978 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.02404148317873478 }, "else": { "operation": "boost", "score": -0.023584390059113503 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85516.0, "then": { "operation": "boost", "score": 0.036197781562805176 }, "else": { "operation": "boost", "score": 0.10010956227779388 } }, "else": { "operation": "boost", "score": 0.007601069752126932 } }, "else": { "operation": "boost", "score": -0.007698419503867626 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.029877537861466408 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019268754869699478 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.04519396275281906 }, "else": { "operation": "boost", "score": 0.002499293303117156 } }, "else": { "operation": "boost", "score": 0.022259561344981194 } }, "else": { "operation": "boost", "score": 0.0126774488016963 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03663361817598343 }, "else": { "operation": "boost", "score": -0.00012632129073608667 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05795746669173241 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09135466068983078 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06092318892478943 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011726953089237213 }, "else": { "operation": "boost", "score": -0.1862047016620636 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.17322753369808197 }, "else": { "operation": "boost", "score": 0.01317803654819727 } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.07311218231916428 }, "else": { "operation": "boost", "score": 0.003146946895867586 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.043254341930150986 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82959.0, "then": { "operation": "boost", "score": 0.04708936810493469 }, "else": { "operation": "boost", "score": 0.002880425425246358 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.0008532438077963889 }, "else": { "operation": "boost", "score": -0.02430083602666855 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05870278179645538 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3004.5, "then": { "operation": "boost", "score": 0.05041685327887535 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2985.0, "then": { "operation": "boost", "score": 0.14047473669052124 }, "else": { "operation": "boost", "score": 0.0704355239868164 } } }, "else": { "operation": "boost", "score": 0.02436167374253273 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03726881742477417 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06438565254211426 }, "else": { "operation": "boost", "score": 0.021360518410801888 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0037876428104937077 }, "else": { "operation": "boost", "score": 0.05974738299846649 } }, "else": { "operation": "boost", "score": 0.17986536026000977 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.04922432079911232 }, "else": { "operation": "boost", "score": -0.06976261734962463 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025140436366200447 }, "else": { "operation": "boost", "score": -0.030459614470601082 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06343905627727509 }, "else": { "operation": "boost", "score": 0.01224122941493988 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 162.5, "then": { "operation": "boost", "score": 0.030369816347956657 }, "else": { "operation": "boost", "score": -0.03224799409508705 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.16132418811321259 }, "else": { "operation": "boost", "score": 0.049612171947956085 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04735911637544632 }, "else": { "operation": "boost", "score": 0.007371734827756882 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.046323176473379135 }, "else": { "operation": "boost", "score": -0.09160660952329636 } }, "else": { "operation": "boost", "score": -0.03601416200399399 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12147493660449982 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020645540207624435 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03993361443281174 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004757683724164963 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.011427977122366428 }, "else": { "operation": "boost", "score": -0.11672241985797882 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02286115102469921 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.20145928859710693 }, "else": { "operation": "boost", "score": 0.06993667781352997 } }, "else": { "operation": "boost", "score": -0.09739593416452408 } }, "else": { "operation": "boost", "score": -0.01028459146618843 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020920775830745697 }, "else": { "operation": "boost", "score": -0.020445672795176506 } } } }, "else": { "operation": "boost", "score": -0.05206241458654404 } } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07154560089111328 }, "else": { "operation": "boost", "score": 0.03201992064714432 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.07278937846422195 }, "else": { "operation": "boost", "score": 0.11995746940374374 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05050789564847946 }, "else": { "operation": "boost", "score": 0.019270852208137512 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03726689890027046 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.0672619417309761 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0585143156349659 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03540948033332825 }, "else": { "operation": "boost", "score": 0.00019737420370802283 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.01790224015712738 }, "else": { "operation": "boost", "score": 0.05447905510663986 } }, "else": { "operation": "boost", "score": -0.20090675354003906 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "boost", "score": 0.07334059476852417 }, "else": { "operation": "boost", "score": -0.03546256944537163 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.051510151475667953 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06440527737140656 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13100633025169373 }, "else": { "operation": "boost", "score": 0.029350707307457924 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.26491230726242065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.028368866071105003 }, "else": { "operation": "boost", "score": -0.09223974496126175 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024631574749946594 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.020303405821323395 }, "else": { "operation": "boost", "score": 0.0049098036251962185 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "boost", "score": 0.052662625908851624 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.029460569843649864 }, "else": { "operation": "boost", "score": -0.13809114694595337 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13704590499401093 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": -0.003980227280408144 }, "else": { "operation": "boost", "score": 0.12603415548801422 } }, "else": { "operation": "boost", "score": 0.04211189225316048 } } }, "else": { "operation": "boost", "score": -0.07104276865720749 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1603301614522934 }, "else": { "operation": "boost", "score": 0.10678412020206451 } }, "else": { "operation": "boost", "score": 0.030979221686720848 } } } }, "else": { "operation": "boost", "score": 0.020734965801239014 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06971538066864014 }, "else": { "operation": "boost", "score": 0.013577399775385857 } }, "else": { "operation": "boost", "score": -0.025312472134828568 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03869310021400452 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.04977113753557205 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.057153597474098206 }, "else": { "operation": "boost", "score": 0.01831021159887314 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007608082611113787 }, "else": { "operation": "boost", "score": -0.06081931293010712 } }, "else": { "operation": "boost", "score": 0.036299996078014374 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 201698.0, "then": { "operation": "boost", "score": 0.07739368081092834 }, "else": { "operation": "boost", "score": 0.12620994448661804 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05732831358909607 }, "else": { "operation": "boost", "score": -0.023244263604283333 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.04393601417541504 }, "else": { "operation": "boost", "score": 0.005674996413290501 } }, "else": { "operation": "boost", "score": -0.3736592233181 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06104101240634918 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 110487.0, "then": { "operation": "boost", "score": -0.23480072617530823 }, "else": { "operation": "boost", "score": -0.016615090891718864 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15299668908119202 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12734007835388184 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015643680468201637 }, "else": { "operation": "boost", "score": 0.03746248781681061 } }, "else": { "operation": "boost", "score": 0.0007395740831270814 } } } }, "else": { "operation": "boost", "score": -0.022494107484817505 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25183.5, "then": { "operation": "boost", "score": 0.035376500338315964 }, "else": { "operation": "boost", "score": 0.0018808842869475484 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172808.5, "then": { "operation": "boost", "score": -0.1726091355085373 }, "else": { "operation": "boost", "score": 0.029163077473640442 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019645772874355316 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.038625724613666534 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.026785816997289658 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0529007688164711 }, "else": { "operation": "boost", "score": -0.042241744697093964 } } }, "else": { "operation": "boost", "score": 0.01046082191169262 } } }, "else": { "operation": "boost", "score": 0.01661137491464615 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03808339312672615 }, "else": { "operation": "boost", "score": 0.0004336383135523647 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04192867875099182 }, "else": { "operation": "boost", "score": -0.29537901282310486 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96.5, "then": { "operation": "boost", "score": 0.037926290184259415 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.013372012414038181 }, "else": { "operation": "boost", "score": -0.015854109078645706 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.020739633589982986 }, "else": { "operation": "boost", "score": -0.01579350046813488 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03752703219652176 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.034062061458826065 }, "else": { "operation": "boost", "score": -0.05040958151221275 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.024484071880578995 }, "else": { "operation": "boost", "score": -0.0008928679162636399 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5898.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.05716140568256378 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "boost", "score": 0.1324758380651474 }, "else": { "operation": "boost", "score": 0.001299406518228352 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01791957952082157 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6655.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.036914873868227005 }, "else": { "operation": "boost", "score": -0.055077798664569855 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34039.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "boost", "score": 0.05245080217719078 }, "else": { "operation": "boost", "score": 0.14296773076057434 } }, "else": { "operation": "boost", "score": 0.024268943816423416 } } }, "else": { "operation": "boost", "score": 0.07965770363807678 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.045113641768693924 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04392411187291145 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.061675939708948135 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.016367489472031593 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0014266662765294313 }, "else": { "operation": "boost", "score": 0.05615190416574478 } }, "else": { "operation": "boost", "score": 0.1458011418581009 } }, "else": { "operation": "boost", "score": -0.06514354795217514 } }, "else": { "operation": "boost", "score": -0.022292710840702057 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.059744272381067276 }, "else": { "operation": "boost", "score": 0.011823197826743126 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 162.5, "then": { "operation": "boost", "score": 0.028079137206077576 }, "else": { "operation": "boost", "score": -0.03429033234715462 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.134795680642128 }, "else": { "operation": "boost", "score": 0.042590927332639694 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04266943782567978 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012631678953766823 }, "else": { "operation": "boost", "score": 0.012943951413035393 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.0027190253604203463 }, "else": { "operation": "boost", "score": -0.052376601845026016 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11917109042406082 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06285563111305237 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0570080429315567 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03926096856594086 }, "else": { "operation": "boost", "score": 0.010027051903307438 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.04334818571805954 }, "else": { "operation": "boost", "score": -0.00430144090205431 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.02135797217488289 }, "else": { "operation": "boost", "score": -0.027931593358516693 } }, "else": { "operation": "boost", "score": -0.018664300441741943 } } } } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.03687473386526108 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11777876317501068 }, "else": { "operation": "boost", "score": 0.059410661458969116 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06110817566514015 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.049471043050289154 }, "else": { "operation": "boost", "score": 0.020442664623260498 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03604026138782501 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.06664188951253891 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05691034719347954 }, "else": { "operation": "boost", "score": 0.0053681558929383755 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.04130653664469719 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0015500321751460433 }, "else": { "operation": "boost", "score": 0.0950370505452156 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.022368617355823517 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.0, "then": { "operation": "boost", "score": 0.09562364965677261 }, "else": { "operation": "boost", "score": 0.013259077444672585 } }, "else": { "operation": "boost", "score": -0.044673770666122437 } } } } } } } }, "else": { "operation": "boost", "score": 0.02895142324268818 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.051940616220235825 }, "else": { "operation": "boost", "score": 0.018482523038983345 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1259.0, "then": { "operation": "boost", "score": 0.04159155115485191 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.08418316394090652 }, "else": { "operation": "boost", "score": 0.01959332451224327 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014652823098003864 }, "else": { "operation": "boost", "score": -0.02656221203505993 } } }, "else": { "operation": "boost", "score": 0.0268325824290514 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.01634577475488186 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06329875439405441 }, "else": { "operation": "boost", "score": 0.03690503537654877 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05094030499458313 }, "else": { "operation": "boost", "score": 0.025021839886903763 } }, "else": { "operation": "boost", "score": -0.0007119461661204696 } } }, "else": { "operation": "boost", "score": 0.0010924249654635787 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.04295707121491432 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.032030798494815826 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04051338881254196 }, "else": { "operation": "boost", "score": 0.015724370256066322 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06953221559524536 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07124026864767075 }, "else": { "operation": "boost", "score": 0.01158017199486494 } } }, "else": { "operation": "boost", "score": -0.022066760808229446 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03620756417512894 }, "else": { "operation": "boost", "score": 0.016228923574090004 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 458944.5, "then": { "operation": "boost", "score": 0.08452052623033524 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016634756699204445 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.04271538183093071 }, "else": { "operation": "boost", "score": 0.001974282553419471 } }, "else": { "operation": "boost", "score": -0.1682370901107788 } }, "else": { "operation": "boost", "score": 0.018002042546868324 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1156669482588768 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009994427673518658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7616.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7681.0, "then": { "operation": "boost", "score": 0.023364940658211708 }, "else": { "operation": "boost", "score": 0.12262655794620514 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.07336243242025375 }, "else": { "operation": "boost", "score": -0.07820173352956772 } }, "else": { "operation": "boost", "score": 0.07852856069803238 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.0020463308319449425 }, "else": { "operation": "boost", "score": 0.0814903974533081 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.0666801780462265 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.05696980282664299 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.02813979610800743 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04781473055481911 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.008058750070631504 }, "else": { "operation": "boost", "score": 0.05067116767168045 } } } } } }, "else": { "operation": "boost", "score": -0.0019526747055351734 } } } }, "else": { "operation": "boost", "score": -0.00414573447778821 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02215557172894478 }, "else": { "operation": "boost", "score": 0.00824067648500204 } }, "else": { "operation": "boost", "score": -0.0025176811031997204 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6920.5, "then": { "operation": "boost", "score": -0.5154335498809814 }, "else": { "operation": "boost", "score": -0.07838287204504013 } }, "else": { "operation": "boost", "score": 0.0012950343079864979 } } }, "else": { "operation": "boost", "score": -0.052310481667518616 } } }, "else": { "operation": "boost", "score": -0.00467847753316164 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001021072268486023 }, "else": { "operation": "boost", "score": 0.030295582488179207 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.11552947759628296 }, "else": { "operation": "boost", "score": 0.22357122600078583 } }, "else": { "operation": "boost", "score": 0.0768178328871727 } }, "else": { "operation": "boost", "score": 0.0321887731552124 } }, "else": { "operation": "boost", "score": 0.020706692710518837 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018024884164333344 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.013957766816020012 }, "else": { "operation": "boost", "score": -0.022313570603728294 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05545097216963768 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08748576790094376 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.053225159645080566 }, "else": { "operation": "boost", "score": 0.009427635930478573 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.014859492890536785 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92.5, "then": { "operation": "boost", "score": 0.04728587716817856 }, "else": { "operation": "boost", "score": 0.001689922297373414 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.056441884487867355 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3004.5, "then": { "operation": "boost", "score": 0.048770464956760406 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2985.0, "then": { "operation": "boost", "score": 0.1311950832605362 }, "else": { "operation": "boost", "score": 0.08421223610639572 } } }, "else": { "operation": "boost", "score": 0.023585204035043716 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03216199949383736 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.056143369525671005 }, "else": { "operation": "boost", "score": 0.01975894346833229 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0013063555816188455 }, "else": { "operation": "boost", "score": 0.052457209676504135 } }, "else": { "operation": "boost", "score": 0.11156368255615234 } }, "else": { "operation": "boost", "score": -0.06551887094974518 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025037188082933426 }, "else": { "operation": "boost", "score": -0.026530183851718903 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05801750719547272 }, "else": { "operation": "boost", "score": 0.011324777267873287 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 162.5, "then": { "operation": "boost", "score": 0.030769163742661476 }, "else": { "operation": "boost", "score": -0.030063508078455925 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.041300129145383835 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.08930535614490509 }, "else": { "operation": "boost", "score": -0.12347486615180969 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05118473991751671 }, "else": { "operation": "boost", "score": 0.0075763980858027935 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06296782195568085 }, "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": "boost", "score": 0.11355340480804443 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05437557399272919 }, "else": { "operation": "boost", "score": 0.00580636179074645 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.001024981727823615 }, "else": { "operation": "boost", "score": -0.12289755791425705 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.017320074141025543 }, "else": { "operation": "boost", "score": 0.06724175810813904 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03840448707342148 }, "else": { "operation": "boost", "score": -0.003622206626459956 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10995398461818695 }, "else": { "operation": "boost", "score": -0.005968765821307898 } } } }, "else": { "operation": "boost", "score": -0.11599605530500412 } }, "else": { "operation": "boost", "score": -0.05080345645546913 } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.035685401409864426 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.03326434642076492 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04028542712330818 }, "else": { "operation": "boost", "score": 0.004941465798765421 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09853839129209518 }, "else": { "operation": "boost", "score": 0.04110164940357208 } }, "else": { "operation": "boost", "score": 0.028138292953372 } }, "else": { "operation": "boost", "score": 0.002278057159855962 } }, "else": { "operation": "boost", "score": 0.018340976908802986 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007461160887032747 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03372155874967575 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04552208632230759 }, "else": { "operation": "boost", "score": -0.011134245432913303 } } }, "else": { "operation": "boost", "score": -0.06273901462554932 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.02250717766582966 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.031007084995508194 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.041803471744060516 }, "else": { "operation": "boost", "score": 0.019563624635338783 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06700340658426285 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.20910464227199554 }, "else": { "operation": "boost", "score": 0.05926065146923065 } }, "else": { "operation": "boost", "score": 0.017478160560131073 } }, "else": { "operation": "boost", "score": 0.018681610003113747 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.055420707911252975 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1081058531999588 }, "else": { "operation": "boost", "score": 0.05864959955215454 } } }, "else": { "operation": "boost", "score": -0.01800018548965454 } } }, "else": { "operation": "boost", "score": -0.003407885553315282 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 185.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.013554221950471401 }, "else": { "operation": "boost", "score": 0.040843281894922256 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03089383989572525 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04372608661651611 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.061835940927267075 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.128494530916214 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "boost", "score": 0.025148676708340645 }, "else": { "operation": "boost", "score": -0.003086724551394582 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.15168949961662292 }, "else": { "operation": "boost", "score": -0.3452548086643219 } }, "else": { "operation": "boost", "score": 0.03884709253907204 } }, "else": { "operation": "boost", "score": 0.00971019547432661 } }, "else": { "operation": "boost", "score": -0.053770169615745544 } }, "else": { "operation": "boost", "score": -0.05645410344004631 } } }, "else": { "operation": "boost", "score": -0.005872584413737059 } } } } }, "else": { "operation": "boost", "score": 0.03365100920200348 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.031050406396389008 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03146350756287575 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.02131134644150734 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009808981791138649 }, "else": { "operation": "boost", "score": -0.044010844081640244 } } } }, "else": { "operation": "boost", "score": 0.006574918981641531 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027299052104353905 }, "else": { "operation": "boost", "score": 0.0015336191281676292 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04097340628504753 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0026295206043869257 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005514855030924082 }, "else": { "operation": "boost", "score": -0.06057935580611229 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96.5, "then": { "operation": "boost", "score": 0.035928044468164444 }, "else": { "operation": "boost", "score": 0.005207906011492014 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.021845536306500435 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02367737889289856 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.02853589691221714 }, "else": { "operation": "boost", "score": 0.04168299585580826 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.014411182142794132 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05273844674229622 }, "else": { "operation": "boost", "score": -0.03845735266804695 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.047625742852687836 }, "else": { "operation": "boost", "score": 0.06923598796129227 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08627963811159134 }, "else": { "operation": "boost", "score": 0.008077234029769897 } } }, "else": { "operation": "boost", "score": -0.01145399734377861 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.01563647948205471 }, "else": { "operation": "boost", "score": 0.0789041742682457 } }, "else": { "operation": "boost", "score": -0.04051728919148445 } }, "else": { "operation": "boost", "score": 0.08026840537786484 } }, "else": { "operation": "boost", "score": 0.005627820733934641 } }, "else": { "operation": "boost", "score": -0.022135311737656593 } } }, "else": { "operation": "boost", "score": -0.05338485166430473 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.013864162378013134 }, "else": { "operation": "boost", "score": -0.07113787531852722 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.05213538184762001 }, "else": { "operation": "boost", "score": -0.09691861271858215 } }, "else": { "operation": "boost", "score": 0.09240256994962692 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 251308.0, "then": { "operation": "boost", "score": -0.20719008147716522 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219439.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "boost", "score": 0.08884807676076889 }, "else": { "operation": "boost", "score": -0.25227174162864685 } }, "else": { "operation": "boost", "score": 0.10730250924825668 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.1632252037525177 }, "else": { "operation": "boost", "score": -0.03389706090092659 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1014399304986 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11363319307565689 }, "else": { "operation": "boost", "score": 0.014440487138926983 } }, "else": { "operation": "boost", "score": -0.1114482507109642 } }, "else": { "operation": "boost", "score": -0.00872083380818367 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 449.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.06017237529158592 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.0323248952627182 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.10693728923797607 }, "else": { "operation": "boost", "score": 0.010247703641653061 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": -0.03247803449630737 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12336838245391846 }, "else": { "operation": "boost", "score": -0.20015175640583038 } }, "else": { "operation": "boost", "score": 0.008403521962463856 } } } } }, "else": { "operation": "boost", "score": -0.04045327380299568 } }, "else": { "operation": "boost", "score": 0.040843475610017776 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.06102798879146576 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131033.0, "then": { "operation": "boost", "score": 0.02042931690812111 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.09709123522043228 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13527557253837585 }, "else": { "operation": "boost", "score": -0.1292627602815628 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03116259165108204 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 103.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.043295081704854965 }, "else": { "operation": "boost", "score": 0.14086639881134033 } }, "else": { "operation": "boost", "score": 0.0013270790223032236 } } } }, "else": { "operation": "boost", "score": -0.02974041737616062 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5898.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.05376705154776573 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "boost", "score": 0.12748722732067108 }, "else": { "operation": "boost", "score": 0.001223216182552278 } } }, "else": { "operation": "boost", "score": 0.027933040633797646 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02195758745074272 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03943977504968643 }, "else": { "operation": "boost", "score": 0.003999761305749416 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.008634945377707481 }, "else": { "operation": "boost", "score": 3.2727351936046034e-05 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.28382036089897156 }, "else": { "operation": "boost", "score": 0.012617564760148525 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028883157297968864 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.004185371100902557 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07820496708154678 }, "else": { "operation": "boost", "score": 0.01758917048573494 } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06813579797744751 }, "else": { "operation": "boost", "score": 0.02801465429365635 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.06838694959878922 }, "else": { "operation": "boost", "score": 0.12320278584957123 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.049814727157354355 }, "else": { "operation": "boost", "score": 0.026603875681757927 } }, "else": { "operation": "boost", "score": 0.01651277393102646 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03422358259558678 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.0622943751513958 }, "else": { "operation": "boost", "score": 0.004265814553946257 } } }, "else": { "operation": "boost", "score": 0.027096141129732132 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.03268662095069885 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16493552923202515 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03895554319024086 }, "else": { "operation": "boost", "score": 0.018597029149532318 } }, "else": { "operation": "boost", "score": 0.0063331774435937405 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20942983031272888, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0722176805138588 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0423538014292717 }, "else": { "operation": "boost", "score": -0.04413975402712822 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.02862616255879402 }, "else": { "operation": "boost", "score": -0.06860565394163132 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1322205364704132 }, "else": { "operation": "boost", "score": 0.059536710381507874 } }, "else": { "operation": "boost", "score": 0.05007411539554596 } }, "else": { "operation": "boost", "score": 0.00045403034891933203 } } }, "else": { "operation": "boost", "score": -0.06900983303785324 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.028506113216280937 }, "else": { "operation": "boost", "score": -0.00781386997550726 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.07987607270479202 }, "else": { "operation": "boost", "score": 0.00267965835519135 } }, "else": { "operation": "boost", "score": 0.026545090600848198 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.0775042399764061 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0794118270277977 }, "else": { "operation": "boost", "score": -0.0003722311230376363 } } }, "else": { "operation": "boost", "score": -0.02819809876382351 } } } } }, "else": { "operation": "boost", "score": 0.011932929046452045 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.03885679319500923 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1811893880367279 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0189548097550869 }, "else": { "operation": "boost", "score": -0.002300758846104145 } } } }, "else": { "operation": "boost", "score": 0.025863733142614365 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09340158104896545 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85516.0, "then": { "operation": "boost", "score": 0.03408270329236984 }, "else": { "operation": "boost", "score": 0.09589584916830063 } }, "else": { "operation": "boost", "score": 0.00967680849134922 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02359485626220703 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.1962067037820816 }, "else": { "operation": "boost", "score": -0.013898156583309174 } } } } }, "else": { "operation": "boost", "score": 0.003176626982167363 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0508747436106205 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "boost", "score": -0.07498485594987869 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.11240945756435394 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11398434638977051 }, "else": { "operation": "boost", "score": -0.016574569046497345 } } } }, "else": { "operation": "boost", "score": 0.03046819567680359 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05604904890060425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.10939390957355499 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.0829499363899231 }, "else": { "operation": "boost", "score": 0.13901621103286743 } } }, "else": { "operation": "boost", "score": 0.12850533425807953 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.020996907725930214 }, "else": { "operation": "boost", "score": 0.13528235256671906 } } } }, "else": { "operation": "boost", "score": 0.07462615519762039 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.14148801565170288 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.05079374834895134 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11658254265785217 }, "else": { "operation": "boost", "score": 0.07975340634584427 } } }, "else": { "operation": "boost", "score": 0.022368090227246284 } } } }, "else": { "operation": "boost", "score": -0.004271252546459436 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Variable" ], "then": { "operation": "boost", "score": 0.03343024104833603 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030990544706583023 }, "else": { "operation": "boost", "score": -0.017819514498114586 } }, "else": { "operation": "boost", "score": -0.07086755335330963 } } }, "else": { "operation": "boost", "score": 0.016282638534903526 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03249980881810188 }, "else": { "operation": "boost", "score": 0.0007111341692507267 } } } } }, "else": { "operation": "boost", "score": -0.1160259023308754 } }, "else": { "operation": "boost", "score": -0.11955055594444275 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.053845301270484924 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0793365091085434 }, "else": { "operation": "boost", "score": 0.008634760044515133 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.040169116109609604 }, "else": { "operation": "boost", "score": 0.028451869264245033 } }, "else": { "operation": "boost", "score": -0.01967122219502926 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.012068454176187515 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03297645226120949 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.09665914624929428 }, "else": { "operation": "boost", "score": 0.03496629744768143 } } }, "else": { "operation": "boost", "score": 0.014085836708545685 } }, "else": { "operation": "boost", "score": -0.00538007915019989 } } } }, "else": { "operation": "boost", "score": -0.05975513905286789 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205835.5, "then": { "operation": "boost", "score": 0.04982677102088928 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.109255850315094 }, "else": { "operation": "boost", "score": 0.05333747714757919 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172808.5, "then": { "operation": "boost", "score": -0.15091651678085327 }, "else": { "operation": "boost", "score": 0.024985317140817642 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04235963150858879 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.039623841643333435 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05742741376161575 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.014583921059966087 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00022807021741755307 }, "else": { "operation": "boost", "score": 0.05098012834787369 } }, "else": { "operation": "boost", "score": 0.10162442922592163 } }, "else": { "operation": "boost", "score": -0.05401912331581116 } }, "else": { "operation": "boost", "score": -0.018488705158233643 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05429839715361595 }, "else": { "operation": "boost", "score": 0.011362566612660885 } }, "else": { "operation": "boost", "score": -0.017559457570314407 } }, "else": { "operation": "boost", "score": 0.03316080570220947 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.008793504908680916 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.03944094851613045 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04987248778343201 }, "else": { "operation": "boost", "score": 0.007444296032190323 } } }, "else": { "operation": "boost", "score": -0.07708680629730225 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11770032346248627 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018749859184026718 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03566965460777283 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004493555054068565 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.009720046073198318 }, "else": { "operation": "boost", "score": -0.11366816610097885 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020264185965061188 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1629796177148819 }, "else": { "operation": "boost", "score": 0.05866702273488045 } }, "else": { "operation": "boost", "score": -0.11145104467868805 } }, "else": { "operation": "boost", "score": -0.009646838530898094 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016627321019768715 }, "else": { "operation": "boost", "score": -0.020336687564849854 } } } }, "else": { "operation": "boost", "score": -0.04406058415770531 } } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06599516421556473 }, "else": { "operation": "boost", "score": 0.027007006108760834 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06771646440029144 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.025830265134572983 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.10717461258172989 }, "else": { "operation": "boost", "score": -0.10626735538244247 } } }, "else": { "operation": "boost", "score": 0.03865004703402519 } }, "else": { "operation": "boost", "score": 0.02656443789601326 } }, "else": { "operation": "boost", "score": 0.0001861182099673897 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.019536521285772324 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.07099661976099014 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04526727646589279 }, "else": { "operation": "boost", "score": -0.07656855881214142 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04185245558619499 }, "else": { "operation": "boost", "score": -0.09628885984420776 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.007986792363226414 }, "else": { "operation": "boost", "score": 0.12551741302013397 } }, "else": { "operation": "boost", "score": 0.012176544405519962 } }, "else": { "operation": "boost", "score": 0.05576397478580475 } } }, "else": { "operation": "boost", "score": 0.018088987097144127 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.046480901539325714 }, "else": { "operation": "boost", "score": 0.02931865304708481 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.030032774433493614 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.13315695524215698 }, "else": { "operation": "boost", "score": 0.11204632371664047 } }, "else": { "operation": "boost", "score": 0.04475810378789902 } }, "else": { "operation": "boost", "score": 0.01662321761250496 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.038568805903196335 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06899367272853851 }, "else": { "operation": "boost", "score": -0.2675694525241852 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15016289055347443 }, "else": { "operation": "boost", "score": 0.012294663116335869 } }, "else": { "operation": "boost", "score": 0.10972605645656586 } }, "else": { "operation": "boost", "score": 0.0373389907181263 } }, "else": { "operation": "boost", "score": 0.024331461638212204 } }, "else": { "operation": "boost", "score": 0.005878875497728586 } } }, "else": { "operation": "boost", "score": 0.12353364378213882 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014929343946278095 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.05581148713827133 }, "else": { "operation": "boost", "score": -0.0774768814444542 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1496858447790146 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "boost", "score": 0.11649633198976517 }, "else": { "operation": "boost", "score": -0.12930066883563995 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.042502593249082565 }, "else": { "operation": "boost", "score": -0.012107286602258682 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03135654330253601 }, "else": { "operation": "boost", "score": 0.02034856379032135 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027514120563864708 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002623109146952629 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.05088033527135849 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.01834951899945736 }, "else": { "operation": "boost", "score": 0.05192353203892708 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": 0.011222305707633495 }, "else": { "operation": "boost", "score": 0.15998151898384094 } } }, "else": { "operation": "boost", "score": 0.0008877521031536162 } }, "else": { "operation": "boost", "score": 0.020474858582019806 } } } }, "else": { "operation": "boost", "score": -0.004246353637427092 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07458390295505524 }, "else": { "operation": "boost", "score": 0.013385028578341007 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0877976045012474 }, "else": { "operation": "boost", "score": -0.004517893772572279 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.007344111334532499 }, "else": { "operation": "boost", "score": 0.056168049573898315 } }, "else": { "operation": "boost", "score": 0.03792433813214302 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030750662088394165 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.009875200688838959 }, "else": { "operation": "boost", "score": -0.005435336381196976 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009983204305171967 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03333396092057228 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04595034569501877 }, "else": { "operation": "boost", "score": -0.004864725284278393 } }, "else": { "operation": "boost", "score": -0.11348192393779755 } }, "else": { "operation": "boost", "score": 0.0011619820725172758 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03939232602715492 }, "else": { "operation": "boost", "score": 0.015822671353816986 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021122626960277557 }, "else": { "operation": "boost", "score": 0.012184330262243748 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25537.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.012503293342888355 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32056.0, "then": { "operation": "boost", "score": 0.02778218500316143 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31126.5, "then": { "operation": "boost", "score": 0.13503733277320862 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.14372803270816803 }, "else": { "operation": "boost", "score": 0.07501694560050964 } } } }, "else": { "operation": "boost", "score": -0.039300452917814255 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023578768596053123 }, "else": { "operation": "boost", "score": -0.04446394369006157 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09083235263824463 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.06020916998386383 }, "else": { "operation": "boost", "score": 0.009180961176753044 } }, "else": { "operation": "boost", "score": -0.0054914215579628944 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.05347376689314842 }, "else": { "operation": "boost", "score": 0.024170711636543274 } } }, "else": { "operation": "boost", "score": -0.08242456614971161 } }, "else": { "operation": "boost", "score": -0.07274466007947922 } }, "else": { "operation": "boost", "score": -0.010811444371938705 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.03613352030515671 }, "else": { "operation": "boost", "score": -0.040632568299770355 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.02728436514735222 }, "else": { "operation": "boost", "score": -0.0036556199193000793 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 125.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69581.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08775845170021057 }, "else": { "operation": "boost", "score": 0.036362174898386 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "boost", "score": -0.06511369347572327 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2537919580936432 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.003800041740760207 }, "else": { "operation": "boost", "score": 0.11003678292036057 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.08690131455659866 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "boost", "score": 0.08025704324245453 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.24084053933620453 }, "else": { "operation": "boost", "score": 0.11868966370820999 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.1237448900938034 }, "else": { "operation": "boost", "score": 0.05445060506463051 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04196176677942276 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004746914841234684 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.019173603504896164 }, "else": { "operation": "boost", "score": 0.029147429391741753 } } } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02648601494729519 }, "else": { "operation": "boost", "score": -0.005364524200558662 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.008465414866805077 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.036969587206840515 }, "else": { "operation": "boost", "score": 0.10573001205921173 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02107248641550541 }, "else": { "operation": "boost", "score": -0.04670057073235512 } } }, "else": { "operation": "boost", "score": -0.004781418479979038 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024900181218981743 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.001884403987787664 }, "else": { "operation": "boost", "score": 0.04281124100089073 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0991370752453804 }, "else": { "operation": "boost", "score": -0.009535564109683037 } }, "else": { "operation": "boost", "score": -0.048902593553066254 } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.03185277432203293 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06600696593523026 }, "else": { "operation": "boost", "score": 0.01964903064072132 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 153.5, "then": { "operation": "boost", "score": 0.03832670673727989 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.054491881281137466 }, "else": { "operation": "boost", "score": 0.01857583038508892 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02684725821018219 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19462355971336365 }, "else": { "operation": "boost", "score": 0.07622232288122177 } }, "else": { "operation": "boost", "score": -0.000658760720398277 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.0, "then": { "operation": "boost", "score": -0.0019799857400357723 }, "else": { "operation": "boost", "score": 0.11317102611064911 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.04885664954781532 }, "else": { "operation": "boost", "score": 0.014953614212572575 } }, "else": { "operation": "boost", "score": -0.04389209300279617 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.1686832308769226 }, "else": { "operation": "boost", "score": -0.07062769681215286 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.01169491745531559 }, "else": { "operation": "boost", "score": 0.09443113207817078 } }, "else": { "operation": "boost", "score": 0.03518938645720482 } }, "else": { "operation": "boost", "score": -0.0047188797034323215 } }, "else": { "operation": "boost", "score": 0.0010288914199918509 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.015169814229011536 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12964653968811035 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.12661920487880707 }, "else": { "operation": "boost", "score": 0.04851605370640755 } } }, "else": { "operation": "boost", "score": -0.008078569546341896 } }, "else": { "operation": "boost", "score": 0.0522083044052124 } } }, "else": { "operation": "boost", "score": 0.025091493502259254 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03890569135546684 }, "else": { "operation": "boost", "score": 0.013286140747368336 } } } } } }, "else": { "operation": "boost", "score": 0.005623173899948597 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 443558.5, "then": { "operation": "boost", "score": 0.08054807782173157 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.023455718532204628 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92.5, "then": { "operation": "boost", "score": 0.04714222252368927 }, "else": { "operation": "boost", "score": 0.023630831390619278 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.04059493541717529 }, "else": { "operation": "boost", "score": -0.11523276567459106 } } }, "else": { "operation": "boost", "score": -0.003356190398335457 } }, "else": { "operation": "boost", "score": 0.03967219963669777 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "boost", "score": 0.09760750085115433 }, "else": { "operation": "boost", "score": 0.029845360666513443 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.028206879273056984 }, "else": { "operation": "boost", "score": 0.0432850606739521 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.15864048898220062 }, "else": { "operation": "boost", "score": 0.07351760566234589 } }, "else": { "operation": "boost", "score": 0.009502037428319454 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.03531753271818161 }, "else": { "operation": "boost", "score": 0.011737114749848843 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06268217414617538 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.017014803364872932 }, "else": { "operation": "boost", "score": 0.001895543304271996 } } } }, "else": { "operation": "boost", "score": 0.005671329330652952 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.033080894500017166 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.0023011721204966307 }, "else": { "operation": "boost", "score": -0.04298705980181694 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": 0.07635984569787979 }, "else": { "operation": "boost", "score": 0.11088424175977707 } }, "else": { "operation": "boost", "score": 0.03415834531188011 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.038417719304561615 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.012436351738870144 }, "else": { "operation": "boost", "score": -0.0001255378156201914 } }, "else": { "operation": "boost", "score": 0.04319315403699875 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.007247872184962034 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119809.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131033.0, "then": { "operation": "boost", "score": 0.08689755201339722 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10264934599399567 }, "else": { "operation": "boost", "score": 0.13499245047569275 } } }, "else": { "operation": "boost", "score": 0.08586341142654419 } }, "else": { "operation": "boost", "score": 0.016235224902629852 } } }, "else": { "operation": "boost", "score": -0.021487630903720856 } }, "else": { "operation": "boost", "score": -0.07637163996696472 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04598081856966019 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23047.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23667.0, "then": { "operation": "boost", "score": 0.036998897790908813 }, "else": { "operation": "boost", "score": 0.08052412420511246 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.010283700190484524 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.061519112437963486 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.05099557712674141 }, "else": { "operation": "boost", "score": -0.0002297559258295223 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281590.5, "then": { "operation": "boost", "score": 0.040802519768476486 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.01611262373626232 }, "else": { "operation": "boost", "score": -0.0007539942744188011 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04900979995727539 }, "else": { "operation": "boost", "score": -0.06930915266275406 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.04614109545946121 }, "else": { "operation": "boost", "score": -0.11478741466999054 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187158.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "boost", "score": 0.10413713753223419 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.22774949669837952 }, "else": { "operation": "boost", "score": 0.07293318212032318 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.13634440302848816 }, "else": { "operation": "boost", "score": 0.10010747611522675 } } }, "else": { "operation": "boost", "score": 0.05000597611069679 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 153907.0, "then": { "operation": "boost", "score": -0.2670902907848358 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.07268374413251877 }, "else": { "operation": "boost", "score": -0.01826605573296547 } }, "else": { "operation": "boost", "score": 0.028909100219607353 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53585.5, "then": { "operation": "boost", "score": -0.029718928039073944 }, "else": { "operation": "boost", "score": 0.09710567444562912 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25503.0, "then": { "operation": "boost", "score": 0.06254015862941742 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8246.5, "then": { "operation": "boost", "score": 0.03284737095236778 }, "else": { "operation": "boost", "score": -0.030439872294664383 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10807570070028305 }, "else": { "operation": "boost", "score": 0.057236652821302414 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.057623717933893204 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.048729512840509415 }, "else": { "operation": "boost", "score": 0.025386903434991837 } } } }, "else": { "operation": "boost", "score": -0.10573021322488785 } }, "else": { "operation": "boost", "score": 0.010989846661686897 } }, "else": { "operation": "boost", "score": 0.0031622766982764006 } }, "else": { "operation": "boost", "score": -0.019724467769265175 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 183.5, "then": { "operation": "boost", "score": 0.061464861035346985 }, "else": { "operation": "boost", "score": 0.014190821908414364 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.04177280142903328 }, "else": { "operation": "boost", "score": 0.0180609580129385 } }, "else": { "operation": "boost", "score": -0.07416082918643951 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46972.0, "then": { "operation": "boost", "score": -0.15487782657146454 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10589955002069473 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 420.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1449.5, "then": { "operation": "boost", "score": 0.02105853334069252 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1429.5, "then": { "operation": "boost", "score": 0.22994694113731384 }, "else": { "operation": "boost", "score": 0.07943032681941986 } } }, "else": { "operation": "boost", "score": 0.12720438838005066 } }, "else": { "operation": "boost", "score": 0.011072822846472263 } }, "else": { "operation": "boost", "score": -0.038213711231946945 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.001828620908781886 }, "else": { "operation": "boost", "score": 0.03125448897480965 } } }, "else": { "operation": "boost", "score": -0.009297071024775505 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05087712034583092 }, "else": { "operation": "boost", "score": -0.0032711524982005358 } }, "else": { "operation": "boost", "score": 0.005745461210608482 } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3150322735309601 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06332670897245407 }, "else": { "operation": "boost", "score": 0.024936603382229805 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68401.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104000.0, "then": { "operation": "boost", "score": 0.044759973883628845 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "boost", "score": 0.12990790605545044 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10149210691452026 }, "else": { "operation": "boost", "score": 0.057254306972026825 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62405.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07712960988283157 }, "else": { "operation": "boost", "score": -0.6988016963005066 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02252013236284256 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04230945557355881 }, "else": { "operation": "boost", "score": -0.002068500267341733 } } } } }, "else": { "operation": "boost", "score": 0.030502518638968468 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "boost", "score": 0.03824469819664955 }, "else": { "operation": "boost", "score": 0.010993768461048603 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.018170326948165894 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.06672044098377228 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04153907671570778 }, "else": { "operation": "boost", "score": -0.07331603765487671 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04017689451575279 }, "else": { "operation": "boost", "score": -0.08224816620349884 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6833333373069763, "then": { "operation": "boost", "score": -0.023492805659770966 }, "else": { "operation": "boost", "score": 0.1241416484117508 } }, "else": { "operation": "boost", "score": 0.014948275871574879 } }, "else": { "operation": "boost", "score": 0.05555806681513786 } } }, "else": { "operation": "boost", "score": 0.016027072444558144 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0059119779616594315 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.039423320442438126 }, "else": { "operation": "boost", "score": 0.1358916014432907 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.060445405542850494 }, "else": { "operation": "boost", "score": 0.00887239445000887 } } }, "else": { "operation": "boost", "score": -0.058783359825611115 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15921242535114288 }, "else": { "operation": "boost", "score": 0.02121574804186821 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.02848539873957634 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.038323551416397095 }, "else": { "operation": "boost", "score": 0.01796489953994751 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0622582770884037 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.01652233488857746 }, "else": { "operation": "boost", "score": -0.0004533436440397054 } }, "else": { "operation": "boost", "score": -0.017612449824810028 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0052430047653615475 }, "else": { "operation": "boost", "score": 0.042179640382528305 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.07968740165233612 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4678.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4927.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0880064070224762 }, "else": { "operation": "boost", "score": 0.03995514288544655 } }, "else": { "operation": "boost", "score": 0.11769755184650421 } }, "else": { "operation": "boost", "score": 0.020958367735147476 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.04947579652070999 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.15357670187950134 }, "else": { "operation": "boost", "score": 0.0910377949476242 } }, "else": { "operation": "boost", "score": 0.014629373326897621 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03404625505208969 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04822720214724541 }, "else": { "operation": "boost", "score": 0.012755039148032665 } } } }, "else": { "operation": "boost", "score": -0.05435968190431595 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02853870764374733 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.02579071931540966 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03869986534118652 }, "else": { "operation": "boost", "score": 0.012748331762850285 } } }, "else": { "operation": "boost", "score": -0.06938375532627106 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.017890850082039833 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10121551901102066 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047735750675201416 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.008937377482652664 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01575460471212864 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014350627548992634 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.07626311480998993 }, "else": { "operation": "boost", "score": -0.019952718168497086 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026939550414681435 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.039573170244693756 }, "else": { "operation": "boost", "score": 0.037206508219242096 } } } }, "else": { "operation": "boost", "score": -0.03904210403561592 } }, "else": { "operation": "boost", "score": 0.003354314947500825 } }, "else": { "operation": "boost", "score": -0.0008184568141587079 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03310787305235863 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.031794220209121704 }, "else": { "operation": "boost", "score": -0.0056568896397948265 } } }, "else": { "operation": "boost", "score": -0.02599988505244255 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.029116343706846237 }, "else": { "operation": "boost", "score": 0.014455555006861687 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023634951561689377 }, "else": { "operation": "boost", "score": -0.035194799304008484 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020588364452123642 }, "else": { "operation": "boost", "score": -0.13655290007591248 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.08969251066446304 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10159620642662048 }, "else": { "operation": "boost", "score": 0.04362988844513893 } }, "else": { "operation": "boost", "score": -0.15944910049438477 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09863307327032089 }, "else": { "operation": "boost", "score": 0.015169422142207623 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.09432277828454971 }, "else": { "operation": "boost", "score": -0.03518777713179588 } } }, "else": { "operation": "boost", "score": 0.026228733360767365 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.13669416308403015 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09594564139842987 }, "else": { "operation": "boost", "score": -0.20061367750167847 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.2461247593164444 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1226152554154396 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.02093491703271866 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.03804098814725876 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.024791307747364044 }, "else": { "operation": "boost", "score": -0.034680746495723724 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.031210025772452354 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.10639522969722748 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012012451887130737 }, "else": { "operation": "boost", "score": 0.12355966866016388 } }, "else": { "operation": "boost", "score": 0.09704960882663727 } } }, "else": { "operation": "boost", "score": 0.07267844676971436 } } }, "else": { "operation": "boost", "score": -0.006634158082306385 } }, "else": { "operation": "boost", "score": -0.027926357463002205 } } }, "else": { "operation": "boost", "score": -0.013660753145813942 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.02579347975552082 }, "else": { "operation": "boost", "score": -0.07009876519441605 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12277809530496597 }, "else": { "operation": "boost", "score": 0.0721064954996109 } }, "else": { "operation": "boost", "score": 0.03299844264984131 } }, "else": { "operation": "boost", "score": -0.0033102771267294884 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1646.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05328943952918053 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.013557597994804382 }, "else": { "operation": "boost", "score": -0.043568436056375504 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.03924234211444855 }, "else": { "operation": "boost", "score": 0.0202465932816267 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.02550564333796501 }, "else": { "operation": "boost", "score": -0.0056140064261853695 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.005834126845002174 }, "else": { "operation": "boost", "score": -0.06107764691114426 } }, "else": { "operation": "boost", "score": -0.003877968993037939 } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.029518358409404755 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.14891254901885986 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6397.0, "then": { "operation": "boost", "score": 0.08168542385101318 }, "else": { "operation": "boost", "score": 0.027322864159941673 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14524239301681519 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03894997388124466 }, "else": { "operation": "boost", "score": 0.01878349669277668 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011622094549238682 }, "else": { "operation": "boost", "score": -0.32438424229621887 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.06980464607477188 }, "else": { "operation": "boost", "score": 0.04826856032013893 } }, "else": { "operation": "boost", "score": 0.033942870795726776 } }, "else": { "operation": "boost", "score": -0.14366477727890015 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.05472857505083084 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": 0.11328479647636414 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.15971289575099945 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.12324393540620804 }, "else": { "operation": "boost", "score": 0.12622664868831635 } } } } }, "else": { "operation": "boost", "score": 0.06781888008117676 } }, "else": { "operation": "boost", "score": 0.02459508739411831 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.04432837292551994 }, "else": { "operation": "boost", "score": -0.06371011584997177 } } }, "else": { "operation": "boost", "score": 0.019716866314411163 } }, "else": { "operation": "boost", "score": -0.0027233115397393703 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.08503548055887222 }, "else": { "operation": "boost", "score": -0.0009523615008220077 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.028729598969221115 }, "else": { "operation": "boost", "score": -0.0019335818942636251 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03974420577287674 }, "else": { "operation": "boost", "score": -0.04788099601864815 } }, "else": { "operation": "boost", "score": 0.013470067642629147 } } } } } }, "else": { "operation": "boost", "score": 0.009931347332894802 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "boost", "score": 0.07260030508041382 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.051290638744831085 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.016866371035575867 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.030633170157670975 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05607203021645546 }, "else": { "operation": "boost", "score": 0.0035881693474948406 } }, "else": { "operation": "boost", "score": 0.027901340276002884 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62324.5, "then": { "operation": "boost", "score": 0.061268400400877 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.04508022964000702 }, "else": { "operation": "boost", "score": 0.02477002702653408 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010294867679476738 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.07242672890424728 }, "else": { "operation": "boost", "score": -0.008996978402137756 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.06846655905246735 }, "else": { "operation": "boost", "score": 0.14471328258514404 } }, "else": { "operation": "boost", "score": 0.0160425566136837 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.08133696019649506 }, "else": { "operation": "boost", "score": 0.16380886733531952 } } }, "else": { "operation": "boost", "score": 0.01830585114657879 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.028327608481049538 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0579410195350647 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15447598695755005 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0028927207458764315 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04816155880689621 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10154607892036438 }, "else": { "operation": "boost", "score": 0.12648095190525055 } } }, "else": { "operation": "boost", "score": 0.02116917073726654 } }, "else": { "operation": "boost", "score": 0.03562617301940918 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03682680055499077 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.008216231130063534 }, "else": { "operation": "boost", "score": 0.049695517867803574 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 127271.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.03230232745409012 }, "else": { "operation": "boost", "score": 0.09685645252466202 } }, "else": { "operation": "boost", "score": -0.2493424266576767 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": 0.11685050278902054 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.019918520003557205 }, "else": { "operation": "boost", "score": 0.14441601932048798 } }, "else": { "operation": "boost", "score": -0.002471942687407136 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.049823593348264694 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10001002252101898 }, "else": { "operation": "boost", "score": 0.05108213797211647 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.07667280733585358 }, "else": { "operation": "boost", "score": 0.011899604462087154 } }, "else": { "operation": "boost", "score": 0.00027067691553384066 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002877861959859729 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "boost", "score": 0.06741086393594742 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023839155212044716 }, "else": { "operation": "boost", "score": -0.09243499487638474 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016828861087560654 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.005006530322134495 }, "else": { "operation": "boost", "score": -0.05812980607151985 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.06399893760681152 }, "else": { "operation": "boost", "score": 0.028346847742795944 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.029666204005479813 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": 0.01858740672469139 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.15733471512794495 }, "else": { "operation": "boost", "score": -0.11930187046527863 } } }, "else": { "operation": "boost", "score": 0.006986898835748434 } } } }, "else": { "operation": "boost", "score": 0.019791506230831146 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03250298276543617 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04880952462553978, "then": { "operation": "boost", "score": 0.0021168862003833055 }, "else": { "operation": "boost", "score": 0.1077246442437172 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.12171506136655807 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10346771776676178 }, "else": { "operation": "boost", "score": 0.09501705318689346 } }, "else": { "operation": "boost", "score": 0.054042525589466095 } } }, "else": { "operation": "boost", "score": 0.0011201559100300074 } }, "else": { "operation": "boost", "score": -0.0072914049960672855 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10823965072631836 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.24329298734664917 }, "else": { "operation": "boost", "score": -0.12301970273256302 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04830457270145416 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07492697238922119 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008489402011036873 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.08954038470983505 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04387462139129639 }, "else": { "operation": "boost", "score": 0.06153779849410057 } } } } } }, "else": { "operation": "boost", "score": -0.011415326036512852 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5898.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.04976096749305725 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "boost", "score": 0.1261860430240631 }, "else": { "operation": "boost", "score": -0.009893939830362797 } } }, "else": { "operation": "boost", "score": 0.026066744700074196 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028422033414244652 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05191721022129059 }, "else": { "operation": "boost", "score": 0.017305100336670876 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004213890992105007 }, "else": { "operation": "boost", "score": -0.0837666466832161 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.011636472307145596 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.038415566086769104 }, "else": { "operation": "boost", "score": 0.06640665978193283 } }, "else": { "operation": "boost", "score": 0.0013842800399288535 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11476488411426544 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.0001051498475135304 }, "else": { "operation": "boost", "score": -0.046939488500356674 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.012585564516484737 }, "else": { "operation": "boost", "score": -0.002538092201575637 } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.028344156220555305 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06363079696893692 }, "else": { "operation": "boost", "score": 0.018236296251416206 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "boost", "score": 0.03279786929488182 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022797834128141403 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.0166033748537302 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.058560531586408615 }, "else": { "operation": "boost", "score": 0.012396966107189655 } }, "else": { "operation": "boost", "score": 0.028194133192300797 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07792744040489197 }, "else": { "operation": "boost", "score": -0.03352377563714981 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.14567887783050537 }, "else": { "operation": "boost", "score": -0.33251050114631653 } }, "else": { "operation": "boost", "score": 0.07768227159976959 } }, "else": { "operation": "boost", "score": 0.029740985482931137 } } }, "else": { "operation": "boost", "score": 0.0003032396489288658 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009048271924257278 }, "else": { "operation": "boost", "score": 0.009233581833541393 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010293903760612011 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07469969242811203 }, "else": { "operation": "boost", "score": -0.00431204866617918 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0013180304085835814 }, "else": { "operation": "boost", "score": 0.036363016813993454 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.07682221382856369 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "boost", "score": 0.0514121912419796 }, "else": { "operation": "boost", "score": 0.02349972352385521 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.0205409936606884 }, "else": { "operation": "boost", "score": 0.016601761803030968 } }, "else": { "operation": "boost", "score": -0.049540966749191284 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09386811405420303 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04290610924363136 }, "else": { "operation": "boost", "score": -0.015523991547524929 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.044851236045360565 }, "else": { "operation": "boost", "score": -0.050078898668289185 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.055406127125024796 }, "else": { "operation": "boost", "score": 0.019577806815505028 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011349315755069256 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03194013610482216 }, "else": { "operation": "boost", "score": -0.14729806780815125 } } } } } }, "else": { "operation": "boost", "score": -0.0012235015165060759 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01550176553428173 }, "else": { "operation": "boost", "score": 0.010400710627436638 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04037828743457794 }, "else": { "operation": "boost", "score": -0.00010789276711875573 } } } }, "else": { "operation": "boost", "score": -0.11562870442867279 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14372.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.03354918956756592 }, "else": { "operation": "boost", "score": 0.003168744733557105 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.0352800078690052 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03654273599386215 }, "else": { "operation": "boost", "score": -0.0014521604171022773 } } }, "else": { "operation": "boost", "score": -0.08618396520614624 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11163546144962311 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.007422917056828737 }, "else": { "operation": "boost", "score": 0.04237207770347595 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.016250479966402054 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04056255519390106 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02728543058037758 }, "else": { "operation": "boost", "score": 0.018069762736558914 } } }, "else": { "operation": "boost", "score": -0.01061770599335432 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.12403631210327148 }, "else": { "operation": "boost", "score": -0.02778046764433384 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0697815790772438 }, "else": { "operation": "boost", "score": 0.09478320926427841 } }, "else": { "operation": "boost", "score": 0.06070978194475174 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04367470741271973 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03827163949608803 }, "else": { "operation": "boost", "score": -0.01234228815883398 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.005479310639202595 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.06339535862207413 }, "else": { "operation": "boost", "score": -0.11914955079555511 } }, "else": { "operation": "boost", "score": 0.07532592117786407 } }, "else": { "operation": "boost", "score": -0.10733359307050705 } }, "else": { "operation": "boost", "score": 0.07321043312549591 } }, "else": { "operation": "boost", "score": -0.1450224220752716 } }, "else": { "operation": "boost", "score": 0.07440772652626038 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.1252143532037735 }, "else": { "operation": "boost", "score": 0.0663054883480072 } } } }, "else": { "operation": "boost", "score": -0.019737938418984413 } }, "else": { "operation": "boost", "score": -0.03877343609929085 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.03655645251274109 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05348433926701546 }, "else": { "operation": "boost", "score": -0.15787701308727264 } }, "else": { "operation": "boost", "score": 0.004877576604485512 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.001928027835674584 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.05213730409741402 }, "else": { "operation": "boost", "score": 0.0387892872095108 } }, "else": { "operation": "boost", "score": -0.14184752106666565 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.08588092029094696 }, "else": { "operation": "boost", "score": -0.005964307114481926 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.13172608613967896 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06404954195022583 }, "else": { "operation": "boost", "score": 0.0065474798902869225 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.10916602611541748 }, "else": { "operation": "boost", "score": 0.015734855085611343 } } }, "else": { "operation": "boost", "score": -0.10517902672290802 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06970490515232086 }, "else": { "operation": "boost", "score": 0.010267677716910839 } }, "else": { "operation": "boost", "score": -0.04154708608984947 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10080592334270477 }, "else": { "operation": "boost", "score": -0.1482430398464203 } } } } } }, "else": { "operation": "boost", "score": -0.019608668982982635 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04890824481844902 }, "else": { "operation": "boost", "score": 0.017013942822813988 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.030236436054110527 }, "else": { "operation": "boost", "score": -0.04158875346183777 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01988386921584606 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.044099707156419754 }, "else": { "operation": "boost", "score": -0.002097941702231765 } }, "else": { "operation": "boost", "score": 0.001588897779583931 } }, "else": { "operation": "boost", "score": -0.00805275235325098 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5898.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05189673602581024 }, "else": { "operation": "boost", "score": 0.022923942655324936 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019493643194437027 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03631434217095375 }, "else": { "operation": "boost", "score": 0.004299085587263107 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.004612463992089033 }, "else": { "operation": "boost", "score": -0.058023251593112946 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.022819219157099724 }, "else": { "operation": "boost", "score": 0.01349903829395771 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.025234537199139595 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03504638373851776 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1103881374001503 }, "else": { "operation": "boost", "score": 0.006185272708535194 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.021463114768266678 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03590245917439461 }, "else": { "operation": "boost", "score": -0.013805372640490532 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.036336783319711685 }, "else": { "operation": "boost", "score": 0.04686436802148819 } } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03237351030111313 }, "else": { "operation": "boost", "score": -0.03156250715255737 } }, "else": { "operation": "boost", "score": -0.10688316822052002 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.08056818693876266 }, "else": { "operation": "boost", "score": -0.1023520976305008 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08368158340454102 }, "else": { "operation": "boost", "score": -0.013645214028656483 } }, "else": { "operation": "boost", "score": 0.04660370200872421 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029734313488006592 }, "else": { "operation": "boost", "score": 0.012180114164948463 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02513471618294716 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.005861897487193346 }, "else": { "operation": "boost", "score": -0.02645217254757881 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.014727617613971233 }, "else": { "operation": "boost", "score": -0.12358443439006805 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03345167264342308 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.15000559389591217 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.0988524779677391 }, "else": { "operation": "boost", "score": 0.0459587387740612 } }, "else": { "operation": "boost", "score": -0.01814989186823368 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.010040149092674255 }, "else": { "operation": "boost", "score": -0.11976847797632217 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.037665825337171555 }, "else": { "operation": "boost", "score": -0.04340199753642082 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.034680552780628204 }, "else": { "operation": "boost", "score": -0.13369305431842804 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.04360782727599144 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.057689227163791656 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0431709922850132 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.03909771516919136 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013458352535963058 }, "else": { "operation": "boost", "score": -0.09674172848463058 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03443927690386772 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0003040516749024391 }, "else": { "operation": "boost", "score": 0.05093694478273392 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05374142900109291 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "boost", "score": 0.07148976624011993 }, "else": { "operation": "boost", "score": 0.1245587021112442 } }, "else": { "operation": "boost", "score": 0.0028835050761699677 } }, "else": { "operation": "boost", "score": 0.002516498789191246 } } } }, "else": { "operation": "boost", "score": -0.002752893604338169 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04132842272520065 }, "else": { "operation": "boost", "score": 0.01576550304889679 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04932120814919472 }, "else": { "operation": "boost", "score": 0.017092561349272728 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.010718714445829391 }, "else": { "operation": "boost", "score": -0.02348782867193222 } } }, "else": { "operation": "boost", "score": -0.0025395285338163376 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.049892719835042953 }, "else": { "operation": "boost", "score": 0.015008090063929558 } }, "else": { "operation": "boost", "score": 0.01430212240666151 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.030407723039388657 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.07301373779773712 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.12336883693933487 }, "else": { "operation": "boost", "score": 0.1680920124053955 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004422527272254229 }, "else": { "operation": "boost", "score": 0.04250997304916382 } } } }, "else": { "operation": "boost", "score": 0.0024732269812375307 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.18509477376937866 }, "else": { "operation": "boost", "score": 0.12069874256849289 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94786.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.017008939757943153 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148934.5, "then": { "operation": "boost", "score": 0.0474570170044899 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.06434082984924316 }, "else": { "operation": "boost", "score": 0.13507506251335144 } }, "else": { "operation": "boost", "score": -0.14598602056503296 } } } }, "else": { "operation": "boost", "score": 0.027493707835674286 } }, "else": { "operation": "boost", "score": -0.026684043928980827 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.06181695684790611 }, "else": { "operation": "boost", "score": -0.0019068651599809527 } } }, "else": { "operation": "boost", "score": 0.04571026191115379 } } } }, "else": { "operation": "boost", "score": 0.050979118794202805 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.048603348433971405 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00019587029237300158 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34243.5, "then": { "operation": "boost", "score": 0.06037047505378723 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2671273946762085 }, "else": { "operation": "boost", "score": 0.023205429315567017 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.11847671121358871 }, "else": { "operation": "boost", "score": 0.018161825835704803 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04545454680919647, "then": { "operation": "boost", "score": 0.12698349356651306 }, "else": { "operation": "boost", "score": 0.12330633401870728 } }, "else": { "operation": "boost", "score": 0.07646258175373077 } }, "else": { "operation": "boost", "score": -0.05363034829497337 } }, "else": { "operation": "boost", "score": 0.06286618113517761 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.010601761750876904 }, "else": { "operation": "boost", "score": 0.013709502294659615 } }, "else": { "operation": "boost", "score": 0.042083073407411575 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.04987650364637375 }, "else": { "operation": "boost", "score": -8.707261440576985e-05 } }, "else": { "operation": "boost", "score": 0.008135441690683365 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016412384808063507 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.004056458827108145 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007825520820915699 }, "else": { "operation": "boost", "score": 0.055987659841775894 } }, "else": { "operation": "boost", "score": 0.007051027845591307 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03710594400763512 }, "else": { "operation": "boost", "score": -0.13241954147815704 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06209050118923187 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.013181084766983986 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0016188351437449455 }, "else": { "operation": "boost", "score": 0.03212911635637283 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03554157167673111 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.010257530957460403 }, "else": { "operation": "boost", "score": -0.21813078224658966 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003321306314319372 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.05268391966819763 }, "else": { "operation": "boost", "score": 0.11044403165578842 } }, "else": { "operation": "boost", "score": -0.07087605446577072 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06066427752375603 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007405574433505535 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0038683153688907623 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05794771760702133 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.019359517842531204 }, "else": { "operation": "boost", "score": 0.044035404920578 } } } }, "else": { "operation": "boost", "score": -0.0038216484244912863 } }, "else": { "operation": "boost", "score": 0.024480648338794708 } } }, "else": { "operation": "boost", "score": -0.002597517566755414 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09589219838380814 }, "else": { "operation": "boost", "score": 0.015654820948839188 } }, "else": { "operation": "boost", "score": -0.01015009917318821 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0704164057970047 }, "else": { "operation": "boost", "score": -0.09039995074272156 } }, "else": { "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_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.032936859875917435 }, "else": { "operation": "boost", "score": -0.03757384419441223 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04574383795261383 }, "else": { "operation": "boost", "score": 0.002362153260037303 } }, "else": { "operation": "boost", "score": -0.0595037005841732 } } }, "else": { "operation": "boost", "score": -0.010897117666900158 } } } } } }, "else": { "operation": "boost", "score": -0.10950612276792526 } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.05944008380174637 }, "else": { "operation": "boost", "score": 0.1194356307387352 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0972369834780693 }, "else": { "operation": "boost", "score": 0.03558103367686272 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05232113599777222 }, "else": { "operation": "boost", "score": -0.06823897361755371 } } }, "else": { "operation": "boost", "score": 0.006129433400928974 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11157327145338058 }, "else": { "operation": "boost", "score": 0.039436157792806625 } }, "else": { "operation": "boost", "score": 0.021321117877960205 } }, "else": { "operation": "boost", "score": 0.12922966480255127 } }, "else": { "operation": "boost", "score": -0.008879323489964008 } }, "else": { "operation": "boost", "score": -0.023896707221865654 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.026307646185159683 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.13217797875404358 }, "else": { "operation": "boost", "score": 0.11398869752883911 } } }, "else": { "operation": "boost", "score": -0.10706824064254761 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.13315151631832123 }, "else": { "operation": "boost", "score": 0.11698681116104126 } }, "else": { "operation": "boost", "score": 0.03212253376841545 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.04480677470564842 }, "else": { "operation": "boost", "score": 0.010440630838274956 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "boost", "score": 0.03095298260450363 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3131951689720154 }, "else": { "operation": "boost", "score": 0.027867961674928665 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4409722089767456, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014731482602655888 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024755820631980896 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.036056723445653915 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.13191694021224976 }, "else": { "operation": "boost", "score": -0.034959692507982254 } } } }, "else": { "operation": "boost", "score": 0.035129401832818985 } } }, "else": { "operation": "boost", "score": 0.00693721417337656 } }, "else": { "operation": "boost", "score": -0.09666159749031067 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1488601118326187 }, "else": { "operation": "boost", "score": -0.10535126179456711 } }, "else": { "operation": "boost", "score": 0.03419611603021622 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.01925099827349186 }, "else": { "operation": "boost", "score": -0.015673860907554626 } } }, "else": { "operation": "boost", "score": 0.019542088732123375 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.053574852645397186 }, "else": { "operation": "boost", "score": -0.007513819728046656 } }, "else": { "operation": "boost", "score": 0.14421014487743378 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05012550577521324 }, "else": { "operation": "boost", "score": -0.0515170656144619 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.0009494354599155486 }, "else": { "operation": "boost", "score": 0.1528455913066864 } }, "else": { "operation": "boost", "score": 0.0790838897228241 } }, "else": { "operation": "boost", "score": 0.03212624043226242 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.03354231268167496 }, "else": { "operation": "boost", "score": 0.002263030968606472 } }, "else": { "operation": "boost", "score": -0.009689218364655972 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.05133965611457825 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": -0.02415419928729534 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11090321838855743 }, "else": { "operation": "boost", "score": -0.09691590815782547 } } }, "else": { "operation": "boost", "score": -0.050047166645526886 } }, "else": { "operation": "boost", "score": 0.024119161069393158 } }, "else": { "operation": "boost", "score": -0.013035263866186142 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006093696691095829 }, "else": { "operation": "boost", "score": -0.13991934061050415 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2125382125377655 }, "else": { "operation": "boost", "score": 0.022442752495408058 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 443558.5, "then": { "operation": "boost", "score": 0.07706760615110397 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.026817260310053825 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.010089797899127007 }, "else": { "operation": "boost", "score": -0.0035717375576496124 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": -0.07446784526109695 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.06907937675714493 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 127271.0, "then": { "operation": "boost", "score": -0.08487830311059952 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "boost", "score": 0.08877373486757278 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0019179219380021095 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.0230843685567379 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0105823939666152 }, "else": { "operation": "boost", "score": -0.0011192617239430547 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.016838645562529564 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.032017387449741364 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005360722541809082 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.12089831382036209 }, "else": { "operation": "boost", "score": 0.08412431925535202 } }, "else": { "operation": "boost", "score": -0.03982770815491676 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.20648279786109924 }, "else": { "operation": "boost", "score": 0.08307991921901703 } }, "else": { "operation": "boost", "score": -0.030643971636891365 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "boost", "score": -1.202111005783081 }, "else": { "operation": "boost", "score": 0.012955508194863796 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02715340629220009 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07171360403299332 }, "else": { "operation": "boost", "score": 0.021605174988508224 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.10117487609386444 }, "else": { "operation": "boost", "score": -0.013085567392408848 } }, "else": { "operation": "boost", "score": 0.02575511857867241 } }, "else": { "operation": "boost", "score": -0.029958106577396393 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005856631323695183 }, "else": { "operation": "boost", "score": -0.02673337794840336 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.011067919433116913 }, "else": { "operation": "boost", "score": -0.0681920200586319 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.023722810670733452 }, "else": { "operation": "boost", "score": 0.0931207537651062 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 251308.0, "then": { "operation": "boost", "score": -0.19359195232391357 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219439.0, "then": { "operation": "boost", "score": 0.0013906712410971522 }, "else": { "operation": "boost", "score": 0.098707415163517 } }, "else": { "operation": "boost", "score": -0.004722291138023138 } } } }, "else": { "operation": "boost", "score": -0.026610445231199265 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.061278048902750015 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.031042736023664474 }, "else": { "operation": "boost", "score": -0.022272970527410507 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.02477280981838703 }, "else": { "operation": "boost", "score": -0.06199798360466957 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.036659616976976395 }, "else": { "operation": "boost", "score": -0.0021293330937623978 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69581.5, "then": { "operation": "boost", "score": 0.036840926855802536 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "boost", "score": -0.05729000270366669 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22045603394508362 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.006874884478747845 }, "else": { "operation": "boost", "score": 0.1029396504163742 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.0792083591222763 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.11948675662279129 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09508539736270905 }, "else": { "operation": "boost", "score": 0.05138392001390457 } } }, "else": { "operation": "boost", "score": 0.018052857369184494 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.016673343256115913 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.007197351660579443 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03511970862746239 }, "else": { "operation": "boost", "score": 0.09366658329963684 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02038237638771534 }, "else": { "operation": "boost", "score": -0.042077500373125076 } } }, "else": { "operation": "boost", "score": -0.003583386540412903 } } }, "else": { "operation": "boost", "score": -0.0038710832595825195 } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.07783982157707214 }, "else": { "operation": "boost", "score": 0.03807879611849785 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0951598733663559 }, "else": { "operation": "boost", "score": 0.032984815537929535 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0499747097492218 }, "else": { "operation": "boost", "score": -0.06007838249206543 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019815636798739433 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06054336577653885 }, "else": { "operation": "boost", "score": 0.00204429286532104 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11159086227416992 }, "else": { "operation": "boost", "score": 0.05836672708392143 } }, "else": { "operation": "boost", "score": 0.010174103081226349 } }, "else": { "operation": "boost", "score": 0.013398370705544949 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.014807409606873989 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1051780954003334 }, "else": { "operation": "boost", "score": 0.13968174159526825 } }, "else": { "operation": "boost", "score": 0.025568567216396332 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.02465202473104 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.05592609941959381 }, "else": { "operation": "boost", "score": 0.09195660799741745 } }, "else": { "operation": "boost", "score": -0.002449724590405822 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008124840445816517 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.06883756071329117 }, "else": { "operation": "boost", "score": 0.03508324921131134 } } }, "else": { "operation": "boost", "score": 0.00032069714507088065 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08498905599117279 }, "else": { "operation": "boost", "score": 0.020198684185743332 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.06574603170156479 }, "else": { "operation": "boost", "score": 0.0011964760487899184 } } }, "else": { "operation": "boost", "score": -0.003434103215113282 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.022033268585801125 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09673745930194855 }, "else": { "operation": "boost", "score": -0.18622885644435883 } }, "else": { "operation": "boost", "score": 0.21168190240859985 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.07927114516496658 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03105495497584343 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0638909712433815 }, "else": { "operation": "boost", "score": -0.0506594181060791 } } } }, "else": { "operation": "boost", "score": 0.031496912240982056 } } } } }, "else": { "operation": "boost", "score": 0.0024616767186671495 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.5, "then": { "operation": "boost", "score": 0.09281805157661438 }, "else": { "operation": "boost", "score": 0.1209552064538002 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.0, "then": { "operation": "boost", "score": 0.1443425565958023 }, "else": { "operation": "boost", "score": 0.10235652327537537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12891879677772522 }, "else": { "operation": "boost", "score": -0.055701449513435364 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4305555522441864, "then": { "operation": "boost", "score": 0.04259919747710228 }, "else": { "operation": "boost", "score": 0.01320596132427454 } } } }, "else": { "operation": "boost", "score": -0.014658037573099136 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.007307675201445818 }, "else": { "operation": "boost", "score": 0.02117861621081829 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014511502347886562 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.046642303466796875 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11973614990711212 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.06384696066379547 }, "else": { "operation": "boost", "score": 0.1325548142194748 } } } }, "else": { "operation": "boost", "score": -0.04620324820280075 } }, "else": { "operation": "boost", "score": 0.05542948096990585 } }, "else": { "operation": "boost", "score": 0.020467065274715424 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04817112535238266 }, "else": { "operation": "boost", "score": 0.015198469161987305 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014216596260666847 }, "else": { "operation": "boost", "score": 0.014543615281581879 } } }, "else": { "operation": "boost", "score": 0.0019239264074712992 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.006523359566926956 }, "else": { "operation": "boost", "score": -0.09342163056135178 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04563390091061592 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.04690547287464142 }, "else": { "operation": "boost", "score": 0.05047669634222984 } }, "else": { "operation": "boost", "score": 0.10516437888145447 } } }, "else": { "operation": "boost", "score": -0.0006706796702928841 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.010200460441410542 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.038940537720918655 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.00497979624196887 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.03406664729118347 }, "else": { "operation": "boost", "score": 0.0062378463335335255 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.03916854038834572 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0040156044997274876 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.047498419880867004 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0018274649046361446 }, "else": { "operation": "boost", "score": 0.03635337948799133 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.11761781573295593 }, "else": { "operation": "boost", "score": 0.04539550468325615 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.05193039029836655 }, "else": { "operation": "boost", "score": 0.0358036607503891 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.002354951109737158 }, "else": { "operation": "boost", "score": -0.0653892382979393 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.02587965503334999 }, "else": { "operation": "boost", "score": 0.08558264374732971 } }, "else": { "operation": "boost", "score": 0.04292575269937515 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.05542775243520737 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97784.5, "then": { "operation": "boost", "score": -0.09935300797224045 }, "else": { "operation": "boost", "score": 0.04748992994427681 } }, "else": { "operation": "boost", "score": -0.0025724531151354313 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012586679309606552 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.03540997952222824 }, "else": { "operation": "boost", "score": 0.08858969807624817 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.1616353839635849 }, "else": { "operation": "boost", "score": -0.02863086760044098 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03183393552899361 }, "else": { "operation": "boost", "score": -0.11536179482936859 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08885039389133453 }, "else": { "operation": "boost", "score": 0.0025919058825820684 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.023223668336868286 }, "else": { "operation": "boost", "score": 0.03602071478962898 } } }, "else": { "operation": "boost", "score": -0.03288566693663597 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": 0.04103514924645424 }, "else": { "operation": "boost", "score": -0.0417940728366375 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 130.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03419599309563637 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1318535.0, "then": { "operation": "boost", "score": -0.4588862657546997 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120391.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 125771.5, "then": { "operation": "boost", "score": -0.026484476402401924 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13276895880699158 }, "else": { "operation": "boost", "score": -0.12310326844453812 } } }, "else": { "operation": "boost", "score": 0.032555364072322845 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.019387833774089813 }, "else": { "operation": "boost", "score": 0.018201172351837158 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07099331170320511 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08490655571222305 }, "else": { "operation": "boost", "score": 0.012509100139141083 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0004297455889172852 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10748737305402756 }, "else": { "operation": "boost", "score": 0.01251264289021492 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02582438476383686 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11106449365615845 }, "else": { "operation": "boost", "score": 0.047174010425806046 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0017978358082473278 }, "else": { "operation": "boost", "score": 0.020411254838109016 } } } } }, "else": { "operation": "boost", "score": -0.10259103775024414 } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "boost", "score": 0.0669485330581665 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0403277650475502 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2046610563993454 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07070837914943695 }, "else": { "operation": "boost", "score": 0.019064778462052345 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0562322624027729 }, "else": { "operation": "boost", "score": 0.016043605282902718 } }, "else": { "operation": "boost", "score": -0.02081209234893322 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05471723899245262 }, "else": { "operation": "boost", "score": 0.00250087957829237 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.00955228041857481 }, "else": { "operation": "boost", "score": 0.03858266770839691 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118.5, "then": { "operation": "boost", "score": 0.03097316063940525 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1457304209470749 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025323254987597466 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4409722089767456, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.003690059296786785 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.1365300863981247 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07173657417297363 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": 0.12325357645750046 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0019929443951696157 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.17464402318000793 }, "else": { "operation": "boost", "score": 0.0774165689945221 } }, "else": { "operation": "boost", "score": 0.1226639598608017 } } } } } } }, "else": { "operation": "boost", "score": 0.04588470235466957 } }, "else": { "operation": "boost", "score": 0.008076044730842113 } }, "else": { "operation": "boost", "score": 0.007629083003848791 } }, "else": { "operation": "boost", "score": -0.08434988558292389 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.14089737832546234 }, "else": { "operation": "boost", "score": -0.09464501589536667 } }, "else": { "operation": "boost", "score": 0.03205668926239014 } }, "else": { "operation": "boost", "score": 0.002415245398879051 } }, "else": { "operation": "boost", "score": 0.018435880541801453 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.046760305762290955 }, "else": { "operation": "boost", "score": -0.0044740475714206696 } }, "else": { "operation": "boost", "score": 0.13910794258117676 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05160613730549812 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.006230470724403858 }, "else": { "operation": "boost", "score": -0.08814743906259537 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.024843955412507057 }, "else": { "operation": "boost", "score": 0.1385258287191391 } }, "else": { "operation": "boost", "score": 0.0750664472579956 } }, "else": { "operation": "boost", "score": 0.027716418728232384 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02225402183830738 }, "else": { "operation": "boost", "score": -0.006759664975106716 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.046984802931547165 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": -0.04106384143233299 }, "else": { "operation": "boost", "score": 0.020258933305740356 } }, "else": { "operation": "boost", "score": -0.011730240657925606 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009748408570885658 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07666249573230743 }, "else": { "operation": "boost", "score": -0.0035449874121695757 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.020959777757525444 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "boost", "score": 0.07705967128276825 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024711906909942627 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.00925609190016985 }, "else": { "operation": "boost", "score": -0.0033290074206888676 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": -0.06783748418092728 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.06465093791484833 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "boost", "score": -0.07392913848161697 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": 0.053854454308748245 }, "else": { "operation": "boost", "score": 0.1392991840839386 } }, "else": { "operation": "boost", "score": 0.061968397349119186 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.022866886109113693 }, "else": { "operation": "boost", "score": 0.0006749511230736971 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6731.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7092.5, "then": { "operation": "boost", "score": -0.04056865721940994 }, "else": { "operation": "boost", "score": -0.46331706643104553 } }, "else": { "operation": "boost", "score": -0.04578372836112976 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11884935945272446 }, "else": { "operation": "boost", "score": 0.10160478204488754 } }, "else": { "operation": "boost", "score": 0.03356080874800682 } }, "else": { "operation": "boost", "score": -0.000688007683493197 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.019477667286992073 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.009300579316914082 }, "else": { "operation": "boost", "score": -0.0011082966811954975 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.031243907287716866 }, "else": { "operation": "boost", "score": 0.001313940272666514 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04525928944349289 }, "else": { "operation": "boost", "score": 0.02025272138416767 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.014805309474468231 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.024014370515942574 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.005108109209686518 }, "else": { "operation": "boost", "score": 0.04407354071736336 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.021541893482208252 }, "else": { "operation": "boost", "score": -0.0199350006878376 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0593155212700367 }, "else": { "operation": "boost", "score": 0.012883846648037434 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10939280688762665 }, "else": { "operation": "boost", "score": 0.0037009681109339 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.01632048189640045 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02906283736228943 }, "else": { "operation": "boost", "score": -0.07135161757469177 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07247715443372726 }, "else": { "operation": "boost", "score": -0.0206089336425066 } } } }, "else": { "operation": "boost", "score": 0.014809241518378258 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006184176541864872 }, "else": { "operation": "boost", "score": 0.036706238985061646 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.010453733615577221 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.10159973055124283 }, "else": { "operation": "boost", "score": 0.01332151424139738 } } } }, "else": { "operation": "boost", "score": -0.01830599643290043 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0012367902090772986 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04477526620030403 }, "else": { "operation": "boost", "score": 0.04942285269498825 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0019415990682318807 }, "else": { "operation": "boost", "score": -0.058337513357400894 } }, "else": { "operation": "boost", "score": 0.015024877153337002 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.030286086723208427 }, "else": { "operation": "boost", "score": 0.012483504600822926 } }, "else": { "operation": "boost", "score": 0.033955007791519165 } }, "else": { "operation": "boost", "score": -0.011300098150968552 } } }, "else": { "operation": "boost", "score": -0.018340392038226128 } } } }, "else": { "operation": "boost", "score": -0.11185437440872192 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10816860944032669 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.004169804975390434 }, "else": { "operation": "boost", "score": 0.04297995939850807 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.022447532042860985 }, "else": { "operation": "boost", "score": -0.10955038666725159 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.085345059633255 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.04353662580251694 }, "else": { "operation": "boost", "score": -0.0657368078827858 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11759180575609207 }, "else": { "operation": "boost", "score": 0.005724205169826746 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06541253626346588 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.022472260519862175 }, "else": { "operation": "boost", "score": -0.04046831652522087 } } }, "else": { "operation": "boost", "score": -0.08117755502462387 } }, "else": { "operation": "boost", "score": -0.019550932571291924 } } } } } }, "else": { "operation": "boost", "score": -0.11044760048389435 } } } } } }, { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": 0.0434676818549633 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06537231057882309 }, "else": { "operation": "boost", "score": 0.030004555359482765 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04614033177495003 }, "else": { "operation": "boost", "score": -0.060666874051094055 } } }, "else": { "operation": "boost", "score": 0.004917940590530634 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.016607005149126053 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.015522509813308716 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10091196745634079 }, "else": { "operation": "boost", "score": 0.13683739304542542 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.04631711170077324 }, "else": { "operation": "boost", "score": 0.006820891052484512 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10082.5, "then": { "operation": "boost", "score": 0.05263073742389679 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13729296624660492 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00021719647338613868 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.01750040240585804 }, "else": { "operation": "boost", "score": 0.025309456512331963 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.05938597023487091 }, "else": { "operation": "boost", "score": 0.016718652099370956 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027594275772571564 }, "else": { "operation": "boost", "score": 0.05990315601229668 } }, "else": { "operation": "boost", "score": 0.008796686306595802 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.04632173478603363 }, "else": { "operation": "boost", "score": 0.03905278816819191 } } } }, "else": { "operation": "boost", "score": -0.0126465680077672 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.5, "then": { "operation": "boost", "score": 0.08483608812093735 }, "else": { "operation": "boost", "score": 0.11915308237075806 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.0, "then": { "operation": "boost", "score": 0.13914854824543 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.09499769657850266 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.125129833817482 }, "else": { "operation": "boost", "score": -0.06502658873796463 } } } }, "else": { "operation": "boost", "score": 0.029831886291503906 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.013631048612296581 }, "else": { "operation": "boost", "score": 0.0022733230143785477 } } } } } } }, "else": { "operation": "boost", "score": 0.004695722367614508 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.01991737075150013 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.00886403489857912 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": 0.06500323116779327 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": -0.09156626462936401 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.05948089808225632 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "boost", "score": -0.06911660730838776 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "boost", "score": 0.08618050068616867 }, "else": { "operation": "boost", "score": 0.0016890473198145628 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022246865555644035 }, "else": { "operation": "boost", "score": -0.05731528624892235 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212623.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.018013272434473038 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.08540664613246918 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1012294590473175 }, "else": { "operation": "boost", "score": 0.04339785873889923 } }, "else": { "operation": "boost", "score": -0.13818757236003876 } } } }, "else": { "operation": "boost", "score": 0.06475590914487839 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.1444423794746399 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09398183971643448 }, "else": { "operation": "boost", "score": -0.19713540375232697 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159339.0, "then": { "operation": "boost", "score": -0.22856277227401733 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.20566076040267944 }, "else": { "operation": "boost", "score": 0.13626264035701752 } }, "else": { "operation": "boost", "score": 0.027822067961096764 } }, "else": { "operation": "boost", "score": 0.040303487330675125 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.04007554426789284 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.03751187026500702 }, "else": { "operation": "boost", "score": 0.0003286873979959637 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010526537895202637 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.056307993829250336 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.034858766943216324 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33342.0, "then": { "operation": "boost", "score": 0.06103077903389931 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04720829054713249 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10947704315185547 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.025996359065175056 }, "else": { "operation": "boost", "score": -0.09361021965742111 } }, "else": { "operation": "boost", "score": 0.0390082448720932 } }, "else": { "operation": "boost", "score": -0.07355809956789017 } }, "else": { "operation": "boost", "score": 0.031476955860853195 } } } } } } }, "else": { "operation": "boost", "score": -0.012988271191716194 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 448.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.018615808337926865 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006494444794952869 }, "else": { "operation": "boost", "score": -0.06157669052481651 } } }, "else": { "operation": "boost", "score": -0.02460254170000553 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.016912449151277542 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.11848071217536926 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.06467700004577637 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.09611944109201431 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.06177370995283127 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.1484692543745041 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06424812972545624 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.119837187230587 }, "else": { "operation": "boost", "score": 0.06176620349287987 } } } } } } } }, "else": { "operation": "boost", "score": 0.0005432674661278725 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.029925454407930374 }, "else": { "operation": "boost", "score": 0.0519048236310482 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.005981202702969313 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.036434393376111984 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.009300119243562222 }, "else": { "operation": "boost", "score": 0.03233451023697853 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0119941933080554 }, "else": { "operation": "boost", "score": -0.07174067944288254 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0011287499219179153 }, "else": { "operation": "boost", "score": -0.06079039350152016 } } }, "else": { "operation": "boost", "score": -0.04479892551898956 } } } } } } } }, "else": { "operation": "boost", "score": 0.01769552007317543 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.042738176882267 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011078440584242344 }, "else": { "operation": "boost", "score": -0.044913433492183685 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69581.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.041943054646253586 }, "else": { "operation": "boost", "score": -0.14767305552959442 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120391.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123410.5, "then": { "operation": "boost", "score": 0.060498230159282684 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.09394924342632294 }, "else": { "operation": "boost", "score": 0.1322462409734726 } }, "else": { "operation": "boost", "score": -0.1141667515039444 } } }, "else": { "operation": "boost", "score": 0.0334947407245636 } } }, "else": { "operation": "boost", "score": -0.028784077614545822 } }, "else": { "operation": "boost", "score": -0.07660795748233795 } }, "else": { "operation": "boost", "score": 0.0979456827044487 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.12229518592357635 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.11395049095153809 }, "else": { "operation": "boost", "score": 0.02025422267615795 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022736577317118645 }, "else": { "operation": "boost", "score": -0.0078004891984164715 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0009485561749897897 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10531524568796158 }, "else": { "operation": "boost", "score": 0.011810597032308578 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.10888850688934326 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.18700574338436127 }, "else": { "operation": "boost", "score": 0.013010665774345398 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13479238748550415 }, "else": { "operation": "boost", "score": 0.010494804941117764 } } }, "else": { "operation": "boost", "score": -0.008105181157588959 } }, "else": { "operation": "boost", "score": -0.09009432792663574 } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04105702042579651 }, "else": { "operation": "boost", "score": -0.017231881618499756 } }, "else": { "operation": "boost", "score": -0.17604584991931915 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08283902704715729 }, "else": { "operation": "boost", "score": -0.014637026935815811 } }, "else": { "operation": "boost", "score": 0.0424962043762207 } }, "else": { "operation": "boost", "score": 0.020236322656273842 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0463605560362339 }, "else": { "operation": "boost", "score": 0.016872631385922432 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.003959497436881065 }, "else": { "operation": "boost", "score": -0.025029011070728302 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.010767867788672447 }, "else": { "operation": "boost", "score": -0.11612685769796371 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.031486593186855316 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.14725276827812195 }, "else": { "operation": "boost", "score": -0.009049896150827408 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.03747669234871864 }, "else": { "operation": "boost", "score": -0.11760041862726212 } }, "else": { "operation": "boost", "score": -0.04166598990559578 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.004418191034346819 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04965889826416969 }, "else": { "operation": "boost", "score": -0.1290377378463745 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04008049517869949 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.018790144473314285 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.036790307611227036 }, "else": { "operation": "boost", "score": -0.07423635572195053 } }, "else": { "operation": "boost", "score": -0.06203550472855568 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1300.5, "then": { "operation": "boost", "score": 0.06818202137947083 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.03639160469174385 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03024807572364807 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04574919119477272 }, "else": { "operation": "boost", "score": 0.00880042091012001 } }, "else": { "operation": "boost", "score": -0.005724189803004265 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03892077878117561 }, "else": { "operation": "boost", "score": 0.012033442966639996 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.03009229339659214 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.06078767776489258 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": 0.12603884935379028 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4938.5, "then": { "operation": "boost", "score": 0.00610078452154994 }, "else": { "operation": "boost", "score": 0.052912041544914246 } } } }, "else": { "operation": "boost", "score": 0.0023054652847349644 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.16105873882770538 }, "else": { "operation": "boost", "score": 0.11564847826957703 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01048929151147604 }, "else": { "operation": "boost", "score": -0.038581185042858124 } }, "else": { "operation": "boost", "score": 0.03914244845509529 } } } }, "else": { "operation": "boost", "score": 0.04662083089351654 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.044552549719810486 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0005204029148444533 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34243.5, "then": { "operation": "boost", "score": 0.056882500648498535 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22162650525569916 }, "else": { "operation": "boost", "score": 0.020706042647361755 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1392.0, "then": { "operation": "boost", "score": -0.05439665913581848 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.1438538134098053 }, "else": { "operation": "boost", "score": 0.18355749547481537 } } }, "else": { "operation": "boost", "score": 0.06596371531486511 } }, "else": { "operation": "boost", "score": 0.017023714259266853 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.055574558675289154 }, "else": { "operation": "boost", "score": 0.007061059586703777 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.044468484818935394 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.021174969151616096 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.19044767320156097 }, "else": { "operation": "boost", "score": 0.10685832053422928 } }, "else": { "operation": "boost", "score": 0.0025846934877336025 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.07518445700407028 }, "else": { "operation": "boost", "score": -0.08775011450052261 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05749422311782837 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.05776900425553322 }, "else": { "operation": "boost", "score": 0.12906663119792938 } }, "else": { "operation": "boost", "score": 0.03637619689106941 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.00022969962446950376 }, "else": { "operation": "boost", "score": 0.025984404608607292 } } }, "else": { "operation": "boost", "score": -0.03813124820590019 } }, "else": { "operation": "boost", "score": -0.0062629482708871365 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10085245221853256 }, "else": { "operation": "boost", "score": 0.030609816312789917 } }, "else": { "operation": "boost", "score": 0.00851849652826786 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.06804139167070389 }, "else": { "operation": "boost", "score": 0.11053574830293655 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013453341089189053 }, "else": { "operation": "boost", "score": 0.03371778875589371 } } }, "else": { "operation": "boost", "score": 0.003305082907900214 } } }, "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_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012791267596185207 }, "else": { "operation": "boost", "score": -0.06440457701683044 } }, "else": { "operation": "boost", "score": -0.03451082482933998 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.039276912808418274 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.031052321195602417 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20880979299545288 }, "else": { "operation": "boost", "score": -0.11235108971595764 } }, "else": { "operation": "boost", "score": 0.008451576344668865 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.041748981922864914 }, "else": { "operation": "boost", "score": 0.009075114503502846 } }, "else": { "operation": "boost", "score": 0.0009624421363696456 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10410244017839432 }, "else": { "operation": "boost", "score": -0.15531226992607117 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.0958361029624939 }, "else": { "operation": "boost", "score": 0.023621493950486183 } }, "else": { "operation": "boost", "score": -0.0021904688328504562 } }, "else": { "operation": "boost", "score": 0.022085458040237427 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.0516928993165493 }, "else": { "operation": "boost", "score": -0.04822525009512901 } }, "else": { "operation": "boost", "score": 0.0299016572535038 } } }, "else": { "operation": "boost", "score": -0.12644533812999725 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.04803824797272682 }, "else": { "operation": "boost", "score": -0.07177163660526276 } }, "else": { "operation": "boost", "score": -0.002357656368985772 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.05354788526892662 }, "else": { "operation": "boost", "score": -0.03105163387954235 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07607553154230118 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0348626933991909 }, "else": { "operation": "boost", "score": -0.003758589504286647 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09758062660694122 }, "else": { "operation": "boost", "score": -0.0016921875067055225 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04691476374864578 }, "else": { "operation": "boost", "score": 0.008272189646959305 } }, "else": { "operation": "boost", "score": -0.04011697694659233 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.041110701858997345 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.045772671699523926 }, "else": { "operation": "boost", "score": -0.01907969079911709 } }, "else": { "operation": "boost", "score": 0.0488976426422596 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014501474797725677 }, "else": { "operation": "boost", "score": -0.008779989555478096 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 23.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0815599113702774 }, "else": { "operation": "boost", "score": 0.03848912939429283 } }, "else": { "operation": "boost", "score": 0.01352621614933014 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.014388681389391422 }, "else": { "operation": "boost", "score": 0.041829053312540054 } }, "else": { "operation": "boost", "score": 0.0014898446388542652 } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.07206141948699951 }, "else": { "operation": "boost", "score": 0.032875906676054 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.060764748603105545 }, "else": { "operation": "boost", "score": 0.026925433427095413 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.043559178709983826 }, "else": { "operation": "boost", "score": -0.05464918911457062 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.017743553966283798 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05364804342389107 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04867655783891678 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.03745052218437195 }, "else": { "operation": "boost", "score": 0.003025791374966502 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0186779722571373 }, "else": { "operation": "boost", "score": 0.07884956896305084 } }, "else": { "operation": "boost", "score": 0.12263157963752747 } }, "else": { "operation": "boost", "score": -0.04094868153333664 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03918440267443657 }, "else": { "operation": "boost", "score": -0.040675681084394455 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03692564740777016 }, "else": { "operation": "boost", "score": -0.09175467491149902 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.04033005237579346 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.07578017562627792 }, "else": { "operation": "boost", "score": 0.12695612013339996 } }, "else": { "operation": "boost", "score": 0.06763997673988342 } } }, "else": { "operation": "boost", "score": 0.038844313472509384 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.04723542556166649 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.012276604771614075 }, "else": { "operation": "boost", "score": 0.08082020282745361 } }, "else": { "operation": "boost", "score": 0.001915031811222434 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.012564416043460369 }, "else": { "operation": "boost", "score": -0.014244114980101585 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Operator", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0018375503132119775 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.06696493923664093 }, "else": { "operation": "boost", "score": 0.03143089637160301 } }, "else": { "operation": "boost", "score": -0.0293552465736866 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.2692127823829651 }, "else": { "operation": "boost", "score": 0.008373741991817951 } }, "else": { "operation": "boost", "score": -0.053463615477085114 } } }, "else": { "operation": "boost", "score": -0.08557277172803879 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.045406240969896317 }, "else": { "operation": "boost", "score": 0.02811427041888237 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03848155215382576 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.5155418515205383 }, "else": { "operation": "boost", "score": -0.18863269686698914 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.0782860815525055 }, "else": { "operation": "boost", "score": 0.026128679513931274 } }, "else": { "operation": "boost", "score": 0.019840501248836517 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0745910257101059 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15171365439891815 }, "else": { "operation": "boost", "score": 0.14363425970077515 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": 0.06042564660310745 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.15943121910095215 }, "else": { "operation": "boost", "score": 0.06862872838973999 } } } }, "else": { "operation": "boost", "score": -0.006926950067281723 } }, "else": { "operation": "boost", "score": 0.03646276891231537 } }, "else": { "operation": "boost", "score": 0.022527875378727913 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.002756634261459112 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.09317293018102646 }, "else": { "operation": "boost", "score": 0.02109207585453987 } } }, "else": { "operation": "boost", "score": 0.006835853215306997 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0016145480331033468 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.13369978964328766 }, "else": { "operation": "boost", "score": -0.11170926690101624 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.03752858564257622 }, "else": { "operation": "boost", "score": 0.09271413832902908 } }, "else": { "operation": "boost", "score": 0.022404244169592857 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019557319581508636 }, "else": { "operation": "boost", "score": -0.004223562777042389 } }, "else": { "operation": "boost", "score": -0.016114210709929466 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.046873509883880615 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.007617449853569269 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.10105389356613159 }, "else": { "operation": "boost", "score": 0.05745235085487366 } }, "else": { "operation": "boost", "score": 0.00015539051673840731 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.029006032273173332 }, "else": { "operation": "boost", "score": -0.0015981891192495823 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.018687991425395012 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.00011117298708995804 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.09051787108182907 }, "else": { "operation": "boost", "score": 0.009430029429495335 } }, "else": { "operation": "boost", "score": 0.029012572020292282 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.07317130267620087 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25940.5, "then": { "operation": "boost", "score": 0.04225064814090729 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "boost", "score": 0.10088250786066055 }, "else": { "operation": "boost", "score": 0.04644254222512245 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.014859527349472046 }, "else": { "operation": "boost", "score": 0.02584080770611763 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.020688043907284737 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.028289271518588066 }, "else": { "operation": "boost", "score": 0.0068213921040296555 } } }, "else": { "operation": "boost", "score": -0.046918727457523346 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0038619970437139273 }, "else": { "operation": "boost", "score": 0.014250781387090683 } }, "else": { "operation": "boost", "score": -0.11621180921792984 } }, "else": { "operation": "boost", "score": -0.003931946121156216 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04324723407626152 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06764782965183258 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0454011894762516 }, "else": { "operation": "boost", "score": 0.009603488259017467 } }, "else": { "operation": "boost", "score": -0.174080491065979 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.07555735111236572 }, "else": { "operation": "boost", "score": 0.03278103098273277 } } } } }, "else": { "operation": "boost", "score": -0.009458140470087528 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4724.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4809.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04788602516055107 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0024646404199302197 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.037892721593379974 }, "else": { "operation": "boost", "score": 0.019695132970809937 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4777.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.2394275814294815 }, "else": { "operation": "boost", "score": 0.065458282828331 } }, "else": { "operation": "boost", "score": 0.09156343340873718 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14507848024368286 }, "else": { "operation": "boost", "score": 0.018006939440965652 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03204500675201416 }, "else": { "operation": "boost", "score": 0.002927349181845784 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07934954762458801 }, "else": { "operation": "boost", "score": 0.03982485830783844 } }, "else": { "operation": "boost", "score": -0.04359908401966095 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03934461250901222 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05611506476998329 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014449289999902248 }, "else": { "operation": "boost", "score": -0.01470847986638546 } } } }, "else": { "operation": "boost", "score": -0.032235078513622284 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010013054125010967 }, "else": { "operation": "boost", "score": -0.08339560776948929 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.004089669790118933 }, "else": { "operation": "boost", "score": -0.07885318249464035 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -9.687299461802468e-05 }, "else": { "operation": "boost", "score": 0.012244309298694134 } } }, "else": { "operation": "boost", "score": -0.009205595590174198 } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.027976421639323235 }, "else": { "operation": "boost", "score": -0.029897339642047882 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.12346014380455017 }, "else": { "operation": "boost", "score": -0.0852026492357254 } } }, "else": { "operation": "boost", "score": -0.10104726254940033 } }, "else": { "operation": "boost", "score": -0.16199244558811188 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07840599864721298 }, "else": { "operation": "boost", "score": -0.012243119068443775 } }, "else": { "operation": "boost", "score": 0.03993644565343857 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.018027449026703835 }, "else": { "operation": "boost", "score": -0.09946931898593903 } } }, "else": { "operation": "boost", "score": 0.01765330135822296 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.022511428222060204 }, "else": { "operation": "boost", "score": -0.11699681729078293 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07600966095924377 }, "else": { "operation": "boost", "score": 0.021067675203084946 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.00028935709269717336 }, "else": { "operation": "boost", "score": -0.048129767179489136 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.029456064105033875 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8217.5, "then": { "operation": "boost", "score": -0.26123306155204773 }, "else": { "operation": "boost", "score": -0.01658075861632824 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03152866289019585 }, "else": { "operation": "boost", "score": -0.03605586662888527 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.013706988655030727 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.02926739677786827 }, "else": { "operation": "boost", "score": -0.08642549812793732 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.1889885812997818 }, "else": { "operation": "boost", "score": 0.061760928481817245 } }, "else": { "operation": "boost", "score": 0.030248722061514854 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.050652436912059784 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.015098980627954006 }, "else": { "operation": "boost", "score": 0.012307027354836464 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.002782319439575076 }, "else": { "operation": "boost", "score": 0.0133379390463233 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.028956713154911995 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.025965576991438866 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63551.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": 0.00409740349277854 }, "else": { "operation": "boost", "score": 0.059568874537944794 } }, "else": { "operation": "boost", "score": 0.015330738388001919 } }, "else": { "operation": "boost", "score": 0.0042724586091935635 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "boost", "score": 0.06490904092788696 }, "else": { "operation": "boost", "score": 0.005402117967605591 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56762.0, "then": { "operation": "boost", "score": -0.157640278339386 }, "else": { "operation": "boost", "score": -0.036265868693590164 } } } }, "else": { "operation": "boost", "score": 0.11655662208795547 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.02359423227608204 }, "else": { "operation": "boost", "score": 0.03770177438855171 } } } }, "else": { "operation": "boost", "score": 0.04161845147609711 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04267645254731178 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.012104342691600323 }, "else": { "operation": "boost", "score": -0.02553577721118927 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.055320028215646744 }, "else": { "operation": "boost", "score": 0.002600056119263172 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10972978174686432 }, "else": { "operation": "boost", "score": 0.09063219279050827 } } }, "else": { "operation": "boost", "score": 0.019500402733683586 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11810559779405594 }, "else": { "operation": "boost", "score": 0.06927484273910522 } }, "else": { "operation": "boost", "score": -0.028027435764670372 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03637463226914406 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11570818722248077 }, "else": { "operation": "boost", "score": 0.019202303141355515 } }, "else": { "operation": "boost", "score": -0.02498564124107361 } }, "else": { "operation": "boost", "score": 0.035658638924360275 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.09819086641073227 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.02387552708387375 }, "else": { "operation": "boost", "score": 0.054393839091062546 } }, "else": { "operation": "boost", "score": -0.01422639936208725 } } } }, "else": { "operation": "boost", "score": -0.020927734673023224 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.009846163913607597 }, "else": { "operation": "boost", "score": -0.014134456403553486 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.023827601224184036 }, "else": { "operation": "boost", "score": 0.005768734961748123 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.002310876501724124 }, "else": { "operation": "boost", "score": -0.05969751626253128 } }, "else": { "operation": "boost", "score": 0.01252078264951706 } }, "else": { "operation": "boost", "score": 0.011251511983573437 } }, "else": { "operation": "boost", "score": -0.01151289977133274 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0025727611500769854 }, "else": { "operation": "boost", "score": -0.07177291065454483 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01827268861234188 }, "else": { "operation": "boost", "score": -0.016170555725693703 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.031125228852033615 }, "else": { "operation": "boost", "score": -0.0059385341592133045 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04941180720925331 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.057350169867277145 }, "else": { "operation": "boost", "score": 0.08480794727802277 } }, "else": { "operation": "boost", "score": 0.052195243537425995 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022854400798678398 }, "else": { "operation": "boost", "score": -0.025140108540654182 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.0495871976017952 }, "else": { "operation": "boost", "score": 0.014091034419834614 } } } }, "else": { "operation": "boost", "score": -0.12004073709249496 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.02593200094997883 }, "else": { "operation": "boost", "score": -0.045360397547483444 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.053334906697273254 }, "else": { "operation": "boost", "score": 0.025305328890681267 } } }, "else": { "operation": "boost", "score": 0.007872170768678188 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.027199266478419304 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.041848763823509216 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.019407017156481743 }, "else": { "operation": "boost", "score": 0.002760627306997776 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.029802381992340088 }, "else": { "operation": "boost", "score": -0.2259327471256256 } }, "else": { "operation": "boost", "score": -0.06943868845701218 } }, "else": { "operation": "boost", "score": -0.07334505766630173 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05342399701476097 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11120700091123581 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010385612957179546 }, "else": { "operation": "boost", "score": -0.059432677924633026 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.025490373373031616 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.027369698509573936 }, "else": { "operation": "boost", "score": 0.004565492272377014 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.002195828128606081 }, "else": { "operation": "boost", "score": -0.08970291167497635 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "boost", "score": 0.003149392083287239 }, "else": { "operation": "boost", "score": -0.0076941680163145065 } } } }, "else": { "operation": "boost", "score": -0.1118781790137291 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03667404502630234 }, "else": { "operation": "boost", "score": 0.009346842765808105 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05261973664164543 }, "else": { "operation": "boost", "score": 0.020371265709400177 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021131327375769615 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 23.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06351539492607117 }, "else": { "operation": "boost", "score": 0.03238349407911301 } }, "else": { "operation": "boost", "score": -0.061416566371917725 } }, "else": { "operation": "boost", "score": 0.0066382382065057755 } }, "else": { "operation": "boost", "score": -0.024585364386439323 } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "boost", "score": 0.059999845921993256 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03589833155274391 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0367005281150341 }, "else": { "operation": "boost", "score": 0.011135446839034557 } }, "else": { "operation": "boost", "score": 0.003299789736047387 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.006414040457457304 }, "else": { "operation": "boost", "score": 0.03496182709932327 } } } }, "else": { "operation": "boost", "score": -0.16796159744262695 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030494684353470802 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.04385679215192795 }, "else": { "operation": "boost", "score": -0.17262287437915802 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.07485323399305344 }, "else": { "operation": "boost", "score": 0.03418472409248352 } }, "else": { "operation": "boost", "score": 0.014904329553246498 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.06098787859082222 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "boost", "score": 0.10212890058755875 }, "else": { "operation": "boost", "score": 0.2015175074338913 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.038887783885002136 }, "else": { "operation": "boost", "score": -0.06041523069143295 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.07408419251441956 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1672564595937729 }, "else": { "operation": "boost", "score": 0.10258150100708008 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.4121217727661133 }, "else": { "operation": "boost", "score": 0.016623605042696 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.021299047395586967 }, "else": { "operation": "boost", "score": -0.07496010512113571 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.049314409494400024 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14595571160316467 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.04589444771409035 }, "else": { "operation": "boost", "score": 0.01499840896576643 } }, "else": { "operation": "boost", "score": -0.003364401403814554 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.052139174193143845 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "boost", "score": -0.10594604909420013 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.10820161551237106 }, "else": { "operation": "boost", "score": -0.01897764392197132 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 151424.0, "then": { "operation": "boost", "score": 0.06287229061126709 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05973834544420242 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.24603410065174103 }, "else": { "operation": "boost", "score": 0.11232347041368484 } } }, "else": { "operation": "boost", "score": -0.187574103474617 } }, "else": { "operation": "boost", "score": -0.02530699595808983 } }, "else": { "operation": "boost", "score": 0.016656072810292244 } }, "else": { "operation": "boost", "score": 0.007682160008698702 } } }, "else": { "operation": "boost", "score": -0.0005192339303903282 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0003423729503992945 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.05660240724682808 }, "else": { "operation": "boost", "score": 0.0967518538236618 } }, "else": { "operation": "boost", "score": 0.024446187540888786 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0443752221763134 }, "else": { "operation": "boost", "score": -0.08320096135139465 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011331886053085327 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03093569166958332 }, "else": { "operation": "boost", "score": 0.1203204020857811 } }, "else": { "operation": "boost", "score": 0.0017726122168824077 } }, "else": { "operation": "boost", "score": -0.04952637106180191 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "boost", "score": 0.016707489266991615 }, "else": { "operation": "boost", "score": 0.010185997001826763 } }, "else": { "operation": "boost", "score": -0.11947037279605865 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028603676706552505 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04880952462553978, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20978260040283203 }, "else": { "operation": "boost", "score": 0.04646321386098862 } }, "else": { "operation": "boost", "score": 0.010681167244911194 } }, "else": { "operation": "boost", "score": 0.00253682560287416 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09046617895364761 }, "else": { "operation": "boost", "score": -0.11752552539110184 } } }, "else": { "operation": "boost", "score": 0.10093560069799423 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05708376318216324 }, "else": { "operation": "boost", "score": 0.004402089398354292 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11433184146881104 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.05662062391638756 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08389978110790253 }, "else": { "operation": "boost", "score": 0.046299047768116 } } }, "else": { "operation": "boost", "score": -0.0063761938363313675 } }, "else": { "operation": "boost", "score": -0.010800966061651707 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.08153422921895981 }, "else": { "operation": "boost", "score": 0.001242998638190329 } }, "else": { "operation": "boost", "score": 0.0044263978488743305 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0782366544008255 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.21296614408493042 }, "else": { "operation": "boost", "score": -0.11019354313611984 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "boost", "score": 0.07425707578659058 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0333237498998642 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.011676819995045662 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.009918025694787502 }, "else": { "operation": "boost", "score": 0.011875782161951065 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.005416477099061012 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119809.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131033.0, "then": { "operation": "boost", "score": 0.08590472489595413 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09073320031166077 }, "else": { "operation": "boost", "score": 0.13240568339824677 } } }, "else": { "operation": "boost", "score": 0.07781877368688583 } }, "else": { "operation": "boost", "score": 0.015170847065746784 } } }, "else": { "operation": "boost", "score": -0.01536569558084011 } }, "else": { "operation": "boost", "score": -0.06772133708000183 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.040223628282547 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09854082763195038 }, "else": { "operation": "boost", "score": 0.042500194162130356 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.07135593146085739 }, "else": { "operation": "boost", "score": -9.488161595072597e-05 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23047.5, "then": { "operation": "boost", "score": 0.03951925039291382 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.006534911692142487 }, "else": { "operation": "boost", "score": 0.037082038819789886 } } } }, "else": { "operation": "boost", "score": 0.011492914520204067 } } }, "else": { "operation": "boost", "score": 0.0002596431295387447 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 304083.5, "then": { "operation": "boost", "score": -0.12658096849918365 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.0805462971329689 }, "else": { "operation": "boost", "score": -0.041913945227861404 } } }, "else": { "operation": "boost", "score": -0.06333062797784805 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8506.0, "then": { "operation": "boost", "score": 0.03779643774032593 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.08339829742908478 }, "else": { "operation": "boost", "score": 0.021531937643885612 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06374657899141312 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09826666116714478 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.018787328153848648 }, "else": { "operation": "boost", "score": 0.015264918096363544 } }, "else": { "operation": "boost", "score": -0.05601263418793678 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14277130365371704 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.012542026117444038 }, "else": { "operation": "boost", "score": -0.012850752100348473 } }, "else": { "operation": "boost", "score": 0.030736656859517097 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.001964410999789834 }, "else": { "operation": "boost", "score": 0.025860359892249107 } }, "else": { "operation": "boost", "score": -0.014374143444001675 } } } } } } }, "else": { "operation": "boost", "score": -0.1054556667804718 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.06809727102518082 }, "else": { "operation": "boost", "score": 0.012447888031601906 } }, "else": { "operation": "boost", "score": -0.009784668684005737 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02874496579170227 }, "else": { "operation": "boost", "score": 0.0037180916406214237 } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05655878409743309 }, "else": { "operation": "boost", "score": 0.018780697137117386 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0028569456189870834 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.029951946809887886 }, "else": { "operation": "boost", "score": 0.09278161078691483 } }, "else": { "operation": "boost", "score": 0.009011354297399521 } }, "else": { "operation": "boost", "score": -0.015428265556693077 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030848465859889984 }, "else": { "operation": "boost", "score": 0.016175219789147377 } }, "else": { "operation": "boost", "score": -0.12003493309020996 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04905340075492859 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.016562214121222496 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1962215006351471 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05213085561990738 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.03383727744221687 }, "else": { "operation": "boost", "score": 0.0007580540841445327 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.0012015588581562042 }, "else": { "operation": "boost", "score": 0.10590396076440811 } } } }, "else": { "operation": "boost", "score": -0.016966544091701508 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.017435694113373756 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021749896928668022 }, "else": { "operation": "boost", "score": -0.05458897724747658 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.0364827997982502 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029757201671600342 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04575693607330322 }, "else": { "operation": "boost", "score": 0.004576199222356081 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02566862851381302 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09967310726642609 }, "else": { "operation": "boost", "score": 0.0064409272745251656 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.18569549918174744 }, "else": { "operation": "boost", "score": 0.25252798199653625 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.13169491291046143 }, "else": { "operation": "boost", "score": 0.1021914929151535 } } } } }, "else": { "operation": "boost", "score": 0.007691866718232632 } } }, "else": { "operation": "boost", "score": 0.01079937070608139 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20039.5, "then": { "operation": "boost", "score": -0.03823171183466911 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19176.0, "then": { "operation": "boost", "score": 0.10350263118743896 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.042087361216545105 }, "else": { "operation": "boost", "score": 0.13448169827461243 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.03366788849234581 }, "else": { "operation": "boost", "score": 0.0026453742757439613 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13439612090587616 }, "else": { "operation": "boost", "score": 0.013730434700846672 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.011254052631556988 }, "else": { "operation": "boost", "score": -0.05039924383163452 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11066985130310059 }, "else": { "operation": "boost", "score": 0.032572221010923386 } }, "else": { "operation": "boost", "score": -0.11537347733974457 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08566278964281082 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11397617310285568 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "boost", "score": 0.024327926337718964 }, "else": { "operation": "boost", "score": -0.02563866786658764 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07851066440343857 }, "else": { "operation": "boost", "score": 0.012293297797441483 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32329.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.014783789403736591 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.010549576953053474 }, "else": { "operation": "boost", "score": 0.05731713026762009 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.014335177838802338 }, "else": { "operation": "boost", "score": -0.1126018762588501 } }, "else": { "operation": "boost", "score": -0.02320118434727192 } } } } } }, "else": { "operation": "boost", "score": -0.035509321838617325 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.07263775914907455 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "boost", "score": 0.049740228801965714 }, "else": { "operation": "boost", "score": -0.022784464061260223 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.013665090315043926 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 178863.5, "then": { "operation": "boost", "score": 0.052865561097860336 }, "else": { "operation": "boost", "score": 0.010308504104614258 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 443558.5, "then": { "operation": "boost", "score": -0.5279580354690552 }, "else": { "operation": "boost", "score": -0.027863604947924614 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.023461678996682167 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.13329261541366577 }, "else": { "operation": "boost", "score": 0.025821158662438393 } }, "else": { "operation": "boost", "score": -0.026992756873369217 } } }, "else": { "operation": "boost", "score": -0.04208843782544136 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.07519478350877762 }, "else": { "operation": "boost", "score": -0.10419312864542007 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.051098089665174484 }, "else": { "operation": "boost", "score": 0.025647277012467384 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.03845896199345589 }, "else": { "operation": "boost", "score": 0.0015722744865342975 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03745754063129425 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.010735615156590939 }, "else": { "operation": "boost", "score": -0.026646453887224197 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.0323273167014122 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10696668177843094 }, "else": { "operation": "boost", "score": 0.08574328571557999 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.11292045563459396 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.11005241423845291 }, "else": { "operation": "boost", "score": 0.017832661047577858 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.022462183609604836 }, "else": { "operation": "boost", "score": -0.013426230289041996 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.008277458138763905 }, "else": { "operation": "boost", "score": 0.04553498327732086 } }, "else": { "operation": "boost", "score": -0.0013333630049601197 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.18666324019432068 }, "else": { "operation": "boost", "score": -0.05785110220313072 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.002382950158789754 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10390473157167435 }, "else": { "operation": "boost", "score": 0.11020470410585403 } }, "else": { "operation": "boost", "score": 0.07790952175855637 } }, "else": { "operation": "boost", "score": 0.045853883028030396 } }, "else": { "operation": "boost", "score": 0.002504076110199094 } }, "else": { "operation": "boost", "score": 0.005653791129589081 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10010524094104767 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06553984433412552 }, "else": { "operation": "boost", "score": 0.009696713648736477 } }, "else": { "operation": "boost", "score": 0.02291863225400448 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.029492583125829697 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03730740770697594 }, "else": { "operation": "boost", "score": 0.004053792450577021 } } }, "else": { "operation": "boost", "score": -0.01511345710605383 } }, "else": { "operation": "boost", "score": -0.016853084787726402 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11349531263113022 }, "else": { "operation": "boost", "score": 0.056727562099695206 } }, "else": { "operation": "boost", "score": 0.00529444869607687 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05384319648146629 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.014144610613584518 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003342939307913184 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.036826737225055695 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.08325912803411484 }, "else": { "operation": "boost", "score": 0.007388814352452755 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007807630114257336 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.09175892919301987 }, "else": { "operation": "boost", "score": -0.12146227061748505 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.06677465885877609 }, "else": { "operation": "boost", "score": 0.03063090331852436 } }, "else": { "operation": "boost", "score": -0.11275365948677063 } } } }, "else": { "operation": "boost", "score": -0.028751235455274582 } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01150002982467413 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.09074285626411438 }, "else": { "operation": "boost", "score": 0.14880114793777466 } }, "else": { "operation": "boost", "score": 0.04605426639318466 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011581739410758018 }, "else": { "operation": "boost", "score": 0.034685373306274414 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04136919230222702 }, "else": { "operation": "boost", "score": 0.014901879243552685 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.021651336923241615 }, "else": { "operation": "boost", "score": -0.19233117997646332 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02704518660902977 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.14538906514644623 }, "else": { "operation": "boost", "score": -0.03323420137166977 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.07005158066749573 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.028905903920531273 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.012219890020787716 }, "else": { "operation": "boost", "score": -0.05458785593509674 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.020714046433568 }, "else": { "operation": "boost", "score": -0.08893156051635742 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6397.0, "then": { "operation": "boost", "score": 0.08002658188343048 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8819444179534912, "then": { "operation": "boost", "score": -0.295769602060318 }, "else": { "operation": "boost", "score": 0.03875812143087387 } }, "else": { "operation": "boost", "score": 0.012286447919905186 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04082502797245979 }, "else": { "operation": "boost", "score": 0.011789160780608654 } }, "else": { "operation": "boost", "score": 0.004695393610745668 } }, "else": { "operation": "boost", "score": -0.003968730568885803 } }, "else": { "operation": "boost", "score": 0.01186963077634573 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11538.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027728626504540443 }, "else": { "operation": "boost", "score": 0.03290214389562607 } }, "else": { "operation": "boost", "score": 0.002767222933471203 } }, "else": { "operation": "boost", "score": -0.06044550985097885 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.05206622555851936 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13537.0, "then": { "operation": "boost", "score": 0.017076730728149414 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.09357676655054092 }, "else": { "operation": "boost", "score": 0.06992003321647644 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.01752423495054245 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1282.0, "then": { "operation": "boost", "score": -0.036759428679943085 }, "else": { "operation": "boost", "score": 0.09643704444169998 } }, "else": { "operation": "boost", "score": 0.018648376688361168 } } }, "else": { "operation": "boost", "score": -0.07913464307785034 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6753.5, "then": { "operation": "boost", "score": -0.23702946305274963 }, "else": { "operation": "boost", "score": 0.028713738545775414 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 19.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0648217648267746 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11560741066932678 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0397600457072258 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.013937159441411495 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1347620040178299 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.00022021248878445476 }, "else": { "operation": "boost", "score": 0.03787078708410263 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04990806430578232 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05825858563184738 }, "else": { "operation": "boost", "score": -0.11484655737876892 } }, "else": { "operation": "boost", "score": 0.026996441185474396 } }, "else": { "operation": "boost", "score": -0.05418839305639267 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.15269342064857483 }, "else": { "operation": "boost", "score": 0.054033324122428894 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.040962908416986465 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.09795699268579483 }, "else": { "operation": "boost", "score": 0.08426354080438614 } } } }, "else": { "operation": "boost", "score": -0.005051585845649242 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.044524185359478 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06785233318805695 }, "else": { "operation": "boost", "score": 0.02631577104330063 } }, "else": { "operation": "boost", "score": -0.002940180478617549 } } } } } } } } } } }, "else": { "operation": "boost", "score": -0.016633426770567894 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05445033311843872 }, "else": { "operation": "boost", "score": 0.09381868690252304 } }, "else": { "operation": "boost", "score": 0.046487826853990555 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10288578271865845 }, "else": { "operation": "boost", "score": 0.00937761552631855 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.009100121445953846 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05594070628285408 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05587027221918106 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.09836450964212418 }, "else": { "operation": "boost", "score": 0.0416906476020813 } } }, "else": { "operation": "boost", "score": 0.009888457134366035 } }, "else": { "operation": "boost", "score": -0.0037047695368528366 } }, "else": { "operation": "boost", "score": -0.006857056636363268 } } } }, "else": { "operation": "boost", "score": -0.03903406858444214 } } } }, "else": { "operation": "boost", "score": -0.014745493419468403 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.041611939668655396 }, "else": { "operation": "boost", "score": 0.01045547891408205 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04328424111008644 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04545494541525841 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.059374988079071045 }, "else": { "operation": "boost", "score": -0.017712559551000595 } }, "else": { "operation": "boost", "score": 0.034874726086854935 } }, "else": { "operation": "boost", "score": 0.0014959834516048431 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.012851179577410221 }, "else": { "operation": "boost", "score": -0.020558562129735947 } } } } }, "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": "boost", "score": 0.10550690442323685 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.038360845297575 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.18151047825813293 }, "else": { "operation": "boost", "score": 0.13014563918113708 } }, "else": { "operation": "boost", "score": 0.00988228153437376 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0017220383742824197 }, "else": { "operation": "boost", "score": -0.12067995220422745 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.003860791679471731 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02678476646542549 }, "else": { "operation": "boost", "score": 0.08119005709886551 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.08698058873414993 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0992853045463562 }, "else": { "operation": "boost", "score": -0.07707279920578003 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05849084258079529 }, "else": { "operation": "boost", "score": 0.018477724865078926 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.034137625247240067 }, "else": { "operation": "boost", "score": 0.011897680349647999 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.5, "then": { "operation": "boost", "score": 0.006255957297980785 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.08327508717775345 }, "else": { "operation": "boost", "score": 0.13262230157852173 } }, "else": { "operation": "boost", "score": 0.05790461227297783 } } }, "else": { "operation": "boost", "score": -0.08849408477544785 } }, "else": { "operation": "boost", "score": 0.043239302933216095 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.046009719371795654 }, "else": { "operation": "boost", "score": 0.011723071336746216 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04492722079157829 }, "else": { "operation": "boost", "score": 0.008481742814183235 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.006423247512429953 }, "else": { "operation": "boost", "score": 0.04249892756342888 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01795179583132267 }, "else": { "operation": "boost", "score": -0.12106898427009583 } }, "else": { "operation": "boost", "score": -0.011949531733989716 } } }, "else": { "operation": "boost", "score": -0.05955107510089874 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08937552571296692 }, "else": { "operation": "boost", "score": 0.010798439383506775 } }, "else": { "operation": "boost", "score": -0.027031080797314644 } }, "else": { "operation": "boost", "score": -0.022945456206798553 } } } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.1672011762857437 }, "else": { "operation": "boost", "score": 0.08992193639278412 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.043713755905628204 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.10955479741096497 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.08793220669031143 }, "else": { "operation": "boost", "score": 0.10683734714984894 } }, "else": { "operation": "boost", "score": 0.041912298649549484 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1334502249956131 }, "else": { "operation": "boost", "score": 0.012314686551690102 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.02570102922618389 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07655194401741028 }, "else": { "operation": "boost", "score": 0.019364919513463974 } } }, "else": { "operation": "boost", "score": -0.003610124345868826 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1010725200176239 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05247248336672783 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017483724281191826 }, "else": { "operation": "boost", "score": -0.004310849588364363 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05602660030126572 }, "else": { "operation": "boost", "score": -0.041864726692438126 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.008493813686072826 }, "else": { "operation": "boost", "score": 0.020844873040914536 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.027429649606347084 }, "else": { "operation": "boost", "score": -0.014214739203453064 } }, "else": { "operation": "boost", "score": 0.0011995723471045494 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.024250537157058716 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008483229205012321 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.0909789651632309 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021020036190748215 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12303251028060913 }, "else": { "operation": "boost", "score": 0.14287889003753662 } } }, "else": { "operation": "boost", "score": 0.08173603564500809 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.05471886321902275 }, "else": { "operation": "boost", "score": -0.01265869289636612 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.06132253259420395 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02828373946249485 }, "else": { "operation": "boost", "score": -0.46777379512786865 } }, "else": { "operation": "boost", "score": 0.025369731709361076 } }, "else": { "operation": "boost", "score": -0.12219560146331787 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0556306354701519 }, "else": { "operation": "boost", "score": 0.011132343672215939 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23872.5, "then": { "operation": "boost", "score": 0.050364911556243896 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "boost", "score": 0.14764437079429626 }, "else": { "operation": "boost", "score": 0.07250925153493881 } } }, "else": { "operation": "boost", "score": 0.02134108357131481 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03186328709125519 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.026429973542690277 }, "else": { "operation": "boost", "score": -0.010955184698104858 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.01111049484461546 }, "else": { "operation": "boost", "score": 0.060490258038043976 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.0301316287368536 }, "else": { "operation": "boost", "score": 0.013008498586714268 } } } } }, "else": { "operation": "boost", "score": -0.10950282216072083 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.08033385872840881 }, "else": { "operation": "boost", "score": -0.11633839458227158 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.039697274565696716 }, "else": { "operation": "boost", "score": -0.0322967953979969 } } }, "else": { "operation": "boost", "score": -0.11660299450159073 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.028911828994750977 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0551726296544075 }, "else": { "operation": "boost", "score": -0.21477921307086945 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.025998283177614212 }, "else": { "operation": "boost", "score": 0.06474508345127106 } }, "else": { "operation": "boost", "score": 0.007003704085946083 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04827321320772171 }, "else": { "operation": "boost", "score": -0.020232729613780975 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.03188901022076607 }, "else": { "operation": "boost", "score": 0.00613003084436059 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": 0.04564954340457916 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.08740564435720444 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10475239157676697 }, "else": { "operation": "boost", "score": 0.0267327968031168 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.041107501834630966 }, "else": { "operation": "boost", "score": -0.23711994290351868 } }, "else": { "operation": "boost", "score": -0.018268423154950142 } }, "else": { "operation": "boost", "score": -0.11183249950408936 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.05060736462473869 }, "else": { "operation": "boost", "score": 0.08744215965270996 } }, "else": { "operation": "boost", "score": -0.02186942845582962 } }, "else": { "operation": "boost", "score": 0.03310148045420647 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0598205104470253 }, "else": { "operation": "boost", "score": 0.01761571504175663 } } }, "else": { "operation": "boost", "score": 0.008432230912148952 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0009137805318459868 }, "else": { "operation": "boost", "score": 0.04302852228283882 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.014039518311619759 }, "else": { "operation": "boost", "score": -0.03186482936143875 } }, "else": { "operation": "boost", "score": -0.006042721681296825 } } }, "else": { "operation": "boost", "score": -0.07968689501285553 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.0009640800999477506 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25286.5, "then": { "operation": "boost", "score": -0.1117279902100563 }, "else": { "operation": "boost", "score": 0.02334633469581604 } }, "else": { "operation": "boost", "score": 0.006447385996580124 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0048584407195448875 }, "else": { "operation": "boost", "score": -0.10441387444734573 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.028611522167921066 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.05748986452817917 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.12414827942848206 }, "else": { "operation": "boost", "score": 0.08766338974237442 } } }, "else": { "operation": "boost", "score": -0.059840548783540726 } }, "else": { "operation": "boost", "score": -0.02303328923881054 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.10357367247343063 }, "else": { "operation": "boost", "score": -0.10144715756177902 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.00016910943668335676 }, "else": { "operation": "boost", "score": -0.054193705320358276 } }, "else": { "operation": "boost", "score": 0.004347482230514288 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.07243475317955017 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.12995260953903198 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.9996175169944763 }, "else": { "operation": "boost", "score": -0.10086706280708313 } }, "else": { "operation": "boost", "score": 0.8737509846687317 } }, "else": { "operation": "boost", "score": -0.10194680839776993 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 1.1761845350265503 }, "else": { "operation": "boost", "score": -0.10083610564470291 } } } }, "else": { "operation": "boost", "score": 0.6098985075950623 } }, "else": { "operation": "boost", "score": 0.5003851652145386 } }, "else": { "operation": "boost", "score": -0.12335032224655151 } } }, "else": { "operation": "boost", "score": -0.04354546591639519 } } }, "else": { "operation": "boost", "score": 0.014233840629458427 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007861959747970104 }, "else": { "operation": "boost", "score": -0.02031085267663002 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.04347182810306549 }, "else": { "operation": "boost", "score": -0.06890421360731125 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09657695144414902 }, "else": { "operation": "boost", "score": -0.0060792709700763226 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.027196288108825684 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.00898686982691288 }, "else": { "operation": "boost", "score": -0.01755828782916069 } } } }, "else": { "operation": "boost", "score": -0.04981663450598717 } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "boost", "score": 0.057434018701314926 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.038852300494909286 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.016255537047982216 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.033104829490184784 }, "else": { "operation": "boost", "score": -0.027054650709033012 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.017789533361792564 }, "else": { "operation": "boost", "score": -0.0851164162158966 } }, "else": { "operation": "boost", "score": 0.03156503289937973 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": 0.0348152294754982 }, "else": { "operation": "boost", "score": 0.0035548999439924955 } } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.09116345643997192 }, "else": { "operation": "boost", "score": -0.16204077005386353 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.051204320043325424 }, "else": { "operation": "boost", "score": 0.02443871460855007 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": -0.05516062676906586 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.010217494331300259 }, "else": { "operation": "boost", "score": 0.08133838325738907 } }, "else": { "operation": "boost", "score": -0.01601145602762699 } }, "else": { "operation": "boost", "score": -0.05105886235833168 } }, "else": { "operation": "boost", "score": -0.016423214226961136 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03014920838177204 }, "else": { "operation": "boost", "score": -0.08804195374250412 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 152619.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 299159.5, "then": { "operation": "boost", "score": 0.03814125433564186 }, "else": { "operation": "boost", "score": 0.06916239857673645 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0329459086060524 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04080953076481819 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.10730478167533875 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.029371406883001328 }, "else": { "operation": "boost", "score": 0.12213048338890076 } } } }, "else": { "operation": "boost", "score": 0.026946716010570526 } }, "else": { "operation": "boost", "score": -0.03384548798203468 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.04338904470205307 }, "else": { "operation": "boost", "score": 0.011987020261585712 } }, "else": { "operation": "boost", "score": 0.0010719775455072522 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.005755984224379063 }, "else": { "operation": "boost", "score": 0.03665198013186455 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.03780032694339752 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17142857611179352, "then": { "operation": "boost", "score": -0.14219559729099274 }, "else": { "operation": "boost", "score": 0.3214721977710724 } }, "else": { "operation": "boost", "score": -0.10155407339334488 } }, "else": { "operation": "boost", "score": 0.10935366898775101 } } }, "else": { "operation": "boost", "score": -0.04433530941605568 } }, "else": { "operation": "boost", "score": 0.07686594873666763 } }, "else": { "operation": "boost", "score": 0.010156487114727497 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120524.0, "then": { "operation": "boost", "score": -0.043901000171899796 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58696.0, "then": { "operation": "boost", "score": 0.07718737423419952 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.00011024565901607275 }, "else": { "operation": "boost", "score": -0.04222094267606735 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "boost", "score": 0.032731931656599045 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Operator", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003168532159179449 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.06386128813028336 }, "else": { "operation": "boost", "score": 0.030323948711156845 } }, "else": { "operation": "boost", "score": -0.024629177525639534 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.120979443192482 }, "else": { "operation": "boost", "score": -0.07005836814641953 } } }, "else": { "operation": "boost", "score": -0.08009305596351624 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.027671249583363533 }, "else": { "operation": "boost", "score": -0.04473263770341873 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.018094312399625778 }, "else": { "operation": "boost", "score": 0.014411559328436852 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 126.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 130.5, "then": { "operation": "boost", "score": 0.15507842600345612 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.024737613275647163 }, "else": { "operation": "boost", "score": 0.24817320704460144 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.10334174335002899 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.13322322070598602 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06723824888467789 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10515835881233215 }, "else": { "operation": "boost", "score": 0.15720374882221222 } }, "else": { "operation": "boost", "score": 0.07018215209245682 } } } }, "else": { "operation": "boost", "score": 0.057987280189991 } }, "else": { "operation": "boost", "score": -0.003448744770139456 } } }, "else": { "operation": "boost", "score": 0.025963973253965378 } }, "else": { "operation": "boost", "score": 0.005752846598625183 } } }, "else": { "operation": "boost", "score": -0.007708538789302111 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.015564528293907642 }, "else": { "operation": "boost", "score": 0.00588969187811017 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.14751030504703522 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.008665794506669044 }, "else": { "operation": "boost", "score": 0.08805015683174133 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": -0.012711979448795319 }, "else": { "operation": "boost", "score": -0.0843718871474266 } }, "else": { "operation": "boost", "score": 0.024262169376015663 } }, "else": { "operation": "boost", "score": -0.07967641204595566 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05330895632505417 }, "else": { "operation": "boost", "score": 0.016066985204815865 } }, "else": { "operation": "boost", "score": -0.004632439464330673 } }, "else": { "operation": "boost", "score": 0.03224949911236763 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.017870379611849785 }, "else": { "operation": "boost", "score": -0.11369480937719345 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.045336224138736725 }, "else": { "operation": "boost", "score": -0.014868082478642464 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.03352372720837593 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13015176355838776 }, "else": { "operation": "boost", "score": 0.013986271806061268 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "boost", "score": 0.0015239089261740446 }, "else": { "operation": "boost", "score": 0.0951092541217804 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08625168353319168 }, "else": { "operation": "boost", "score": -0.1167207732796669 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05228208377957344 }, "else": { "operation": "boost", "score": 0.004467518534511328 } }, "else": { "operation": "boost", "score": -0.007038779091089964 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.07677242159843445 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.19298090040683746 }, "else": { "operation": "boost", "score": -0.10219791531562805 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037633925676345825 }, "else": { "operation": "boost", "score": 0.006346292328089476 } }, "else": { "operation": "boost", "score": -0.008310186676681042 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5898.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.04103269800543785 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "boost", "score": 0.12364301830530167 }, "else": { "operation": "boost", "score": -0.027902089059352875 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5908.5, "then": { "operation": "boost", "score": 0.021066877990961075 }, "else": { "operation": "boost", "score": 0.1135588064789772 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10490783303976059 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0432092547416687 }, "else": { "operation": "boost", "score": 0.009704730473458767 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04214794188737869 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09605629742145538 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.03377765789628029 }, "else": { "operation": "boost", "score": 0.025076471269130707 } } }, "else": { "operation": "boost", "score": -0.03507456183433533 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.032995790243148804 }, "else": { "operation": "boost", "score": 0.012742121703922749 } }, "else": { "operation": "boost", "score": -0.020801961421966553 } } }, "else": { "operation": "boost", "score": -0.025313911959528923 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.017519088461995125 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.06708414107561111 }, "else": { "operation": "boost", "score": -0.2716217637062073 } } } } }, "else": { "operation": "boost", "score": -0.001062791678123176 } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.022424008697271347 }, "else": { "operation": "boost", "score": 0.044719770550727844 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03237592428922653 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.004728218074887991 }, "else": { "operation": "boost", "score": 0.020171338692307472 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.028739577159285545 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023469913750886917 }, "else": { "operation": "boost", "score": -0.08639080822467804 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047842178493738174 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.01313652005046606 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.07009503245353699 }, "else": { "operation": "boost", "score": 0.02986270934343338 } } }, "else": { "operation": "boost", "score": -0.061199914664030075 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "boost", "score": -0.09078659117221832 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "boost", "score": 0.10850478708744049 }, "else": { "operation": "boost", "score": -0.014134753495454788 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160757.0, "then": { "operation": "boost", "score": 0.05943522974848747 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03697383031249046 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.7709452509880066 }, "else": { "operation": "boost", "score": 0.10475604236125946 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.04078303277492523 }, "else": { "operation": "boost", "score": 0.11808086186647415 } } } }, "else": { "operation": "boost", "score": 0.027875376865267754 } }, "else": { "operation": "boost", "score": -0.01177812460809946 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.03369489312171936 }, "else": { "operation": "boost", "score": -0.006001174449920654 } } }, "else": { "operation": "boost", "score": 0.007134441286325455 } } }, "else": { "operation": "boost", "score": -0.0002517095999792218 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.025965284556150436 }, "else": { "operation": "boost", "score": 0.004686519503593445 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008213505148887634 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.028210068121552467 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12256933003664017 }, "else": { "operation": "boost", "score": -0.45666950941085815 } } }, "else": { "operation": "boost", "score": 0.003929443191736937 } }, "else": { "operation": "boost", "score": -0.03985830023884773 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "boost", "score": 0.014236782677471638 }, "else": { "operation": "boost", "score": 0.008844412863254547 } }, "else": { "operation": "boost", "score": -0.11556033790111542 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.044988781213760376 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.1341850459575653 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.02683376893401146 }, "else": { "operation": "boost", "score": -0.17527104914188385 } }, "else": { "operation": "boost", "score": 0.034743424504995346 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06579270213842392 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.018671521916985512 }, "else": { "operation": "boost", "score": 0.0426197275519371 } }, "else": { "operation": "boost", "score": -0.06931557506322861 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14867597818374634 }, "else": { "operation": "boost", "score": 0.0012396987294778228 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Namespace" ], "then": { "operation": "boost", "score": 0.02147924154996872 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00781989935785532 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.07351981103420258 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.18647116422653198 }, "else": { "operation": "boost", "score": -0.10673105716705322 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "boost", "score": 0.07152165472507477 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.018274059519171715 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.024438854306936264 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023834899067878723 }, "else": { "operation": "boost", "score": 0.01310131698846817 } } } }, "else": { "operation": "boost", "score": -0.0072065419517457485 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.03425312042236328 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.012871936894953251 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.13151085376739502 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.05687014386057854 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.10747475177049637 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.056520864367485046 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.14571061730384827 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.050864268094301224 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.09428320825099945 }, "else": { "operation": "boost", "score": 0.050660502165555954 } } } } } } } }, "else": { "operation": "boost", "score": 0.00252702459692955 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05255269259214401 }, "else": { "operation": "boost", "score": -0.09036267548799515 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.00841303076595068 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04611080512404442 }, "else": { "operation": "boost", "score": -0.10881736874580383 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.00586438924074173 }, "else": { "operation": "boost", "score": 0.02392776869237423 } }, "else": { "operation": "boost", "score": -0.04775720834732056 } } } }, "else": { "operation": "boost", "score": 0.038305673748254776 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00027869187761098146 }, "else": { "operation": "boost", "score": -0.05425821989774704 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.013306746259331703 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.06278681755065918 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.15550115704536438 }, "else": { "operation": "boost", "score": -0.10828885436058044 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.15083342790603638 }, "else": { "operation": "boost", "score": 0.03298678249120712 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.004327040631324053 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.05277803912758827 }, "else": { "operation": "boost", "score": -0.008605851791799068 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005975387524813414 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.08723459392786026 }, "else": { "operation": "boost", "score": 0.0003872342058457434 } } } }, "else": { "operation": "boost", "score": 0.01776563748717308 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.02568986639380455 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5546.5, "then": { "operation": "boost", "score": -0.01710537262260914 }, "else": { "operation": "boost", "score": 0.05090288072824478 } }, "else": { "operation": "boost", "score": 0.0032961349934339523 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32454.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 245728.5, "then": { "operation": "boost", "score": -0.22694531083106995 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.08792002499103546 }, "else": { "operation": "boost", "score": 0.1165243536233902 } } }, "else": { "operation": "boost", "score": -0.03299134597182274 } }, "else": { "operation": "boost", "score": -0.16379031538963318 } }, "else": { "operation": "boost", "score": 0.021794775500893593 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13435152173042297 }, "else": { "operation": "boost", "score": -0.21990960836410522 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05867268517613411 }, "else": { "operation": "boost", "score": -0.06366857141256332 } } } }, "else": { "operation": "boost", "score": -0.006885842885822058 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": -0.107254758477211 }, "else": { "operation": "boost", "score": -0.022954484447836876 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.060219865292310715 }, "else": { "operation": "boost", "score": 0.015654228627681732 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11715234071016312 }, "else": { "operation": "boost", "score": -0.004379733465611935 } }, "else": { "operation": "boost", "score": 0.01937681995332241 } }, "else": { "operation": "boost", "score": -0.051213983446359634 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type" ], "then": { "operation": "boost", "score": 0.016854479908943176 }, "else": { "operation": "boost", "score": -0.02306055836379528 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003999622538685799 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69581.5, "then": { "operation": "boost", "score": 0.03488783910870552 }, "else": { "operation": "boost", "score": 0.01999494805932045 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01812909170985222 }, "else": { "operation": "boost", "score": -0.05197471007704735 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0014050399186089635 }, "else": { "operation": "boost", "score": -0.0067369830794632435 } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.023393960669636726 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016875959932804108 }, "else": { "operation": "boost", "score": -0.017406081780791283 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.0020318888127803802 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12286108732223511 }, "else": { "operation": "boost", "score": 0.12081676721572876 } } }, "else": { "operation": "boost", "score": 0.01744028367102146 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.03535402938723564 }, "else": { "operation": "boost", "score": 0.01082882471382618 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.06877851486206055 }, "else": { "operation": "boost", "score": -0.046541906893253326 } }, "else": { "operation": "boost", "score": 0.002167745493352413 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04386962950229645 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.023823466151952744 }, "else": { "operation": "boost", "score": -0.022414401173591614 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.008450840599834919 }, "else": { "operation": "boost", "score": -0.15390627086162567 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.026709062978625298 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": -0.055472198873758316 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.043821655213832855 }, "else": { "operation": "boost", "score": -0.04944739490747452 } }, "else": { "operation": "boost", "score": -0.021242186427116394 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.040833331644535065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7575.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7681.0, "then": { "operation": "boost", "score": 0.016784798353910446 }, "else": { "operation": "boost", "score": 0.11717686802148819 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.026396222412586212 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.0905475988984108 }, "else": { "operation": "boost", "score": 0.1454775482416153 } } }, "else": { "operation": "boost", "score": 0.005689991172403097 } }, "else": { "operation": "boost", "score": -0.05595921725034714 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.03322446718811989 }, "else": { "operation": "boost", "score": -0.03374385088682175 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028046857565641403 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.09785666316747665 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.04565230384469032 }, "else": { "operation": "boost", "score": 0.1098584458231926 } } }, "else": { "operation": "boost", "score": 0.031121309846639633 } }, "else": { "operation": "boost", "score": 0.02213222347199917 } }, "else": { "operation": "boost", "score": 0.028287876397371292 } }, "else": { "operation": "boost", "score": 0.005316158756613731 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02211897261440754 }, "else": { "operation": "boost", "score": -0.002706253668293357 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6920.5, "then": { "operation": "boost", "score": -0.42749086022377014 }, "else": { "operation": "boost", "score": -0.020933346822857857 } } } }, "else": { "operation": "boost", "score": 2.45273756980896 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06860829144716263 }, "else": { "operation": "boost", "score": 0.1257946938276291 } }, "else": { "operation": "boost", "score": 0.04299791529774666 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03133697807788849 }, "else": { "operation": "boost", "score": 0.007859385572373867 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "boost", "score": 0.030676977708935738 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0948372483253479 }, "else": { "operation": "boost", "score": 0.1191881000995636 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.030647272244095802 }, "else": { "operation": "boost", "score": 0.03354388102889061 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.059119343757629395 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.026751095429062843 }, "else": { "operation": "boost", "score": 0.11397317051887512 } } }, "else": { "operation": "boost", "score": -0.020040828734636307 } } }, "else": { "operation": "boost", "score": -0.06129121407866478 } }, "else": { "operation": "boost", "score": -0.06915709376335144 } }, "else": { "operation": "boost", "score": -0.20475341379642487 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20942983031272888, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.014768454246222973 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 331.5, "then": { "operation": "boost", "score": 0.20851945877075195 }, "else": { "operation": "boost", "score": 0.02246239222586155 } }, "else": { "operation": "boost", "score": -0.007829999551177025 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0139167420566082 }, "else": { "operation": "boost", "score": 0.0056691849604249 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1388888955116272, "then": { "operation": "boost", "score": 0.14293965697288513 }, "else": { "operation": "boost", "score": 0.06423050165176392 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.0016895747976377606 }, "else": { "operation": "boost", "score": 0.08225000649690628 } }, "else": { "operation": "boost", "score": 0.011939614079892635 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.04224705696105957 }, "else": { "operation": "boost", "score": -0.014560898765921593 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1432214379310608 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": 0.029593417420983315 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.2269800901412964 }, "else": { "operation": "boost", "score": 0.08748947083950043 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2967033088207245, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.07020515203475952 }, "else": { "operation": "boost", "score": 0.1118769571185112 } }, "else": { "operation": "boost", "score": 0.028908319771289825 } }, "else": { "operation": "boost", "score": 0.082688108086586 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03139038383960724 }, "else": { "operation": "boost", "score": -0.0009271121816709638 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.1651851087808609 }, "else": { "operation": "boost", "score": 0.4648086428642273 } }, "else": { "operation": "boost", "score": -0.0104170897975564 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.013029581867158413 }, "else": { "operation": "boost", "score": 0.002535431180149317 } } }, "else": { "operation": "boost", "score": 0.09408837556838989 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08442378044128418 }, "else": { "operation": "boost", "score": -0.11640388518571854 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.1021021157503128 }, "else": { "operation": "boost", "score": 0.0475919172167778 } }, "else": { "operation": "boost", "score": 0.0019996571354568005 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.006899653002619743 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10473156720399857 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.17867478728294373 }, "else": { "operation": "boost", "score": -0.09809662401676178 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.035975903272628784 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06484151631593704 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21717113256454468 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04083048179745674 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.04487402364611626 }, "else": { "operation": "boost", "score": 0.013956933282315731 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.02110833302140236 }, "else": { "operation": "boost", "score": 0.011627529747784138 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.19035032391548157 }, "else": { "operation": "boost", "score": -0.05382019281387329 } }, "else": { "operation": "boost", "score": 0.0184167493134737 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.06639424711465836 }, "else": { "operation": "boost", "score": 0.00828997790813446 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.019553298130631447 }, "else": { "operation": "boost", "score": 0.05999472737312317 } }, "else": { "operation": "boost", "score": -0.17481648921966553 } } }, "else": { "operation": "boost", "score": 0.014748971909284592 } } } } }, "else": { "operation": "boost", "score": -0.16630050539970398 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.5, "then": { "operation": "boost", "score": -0.13945895433425903 }, "else": { "operation": "boost", "score": -0.0077065653167665005 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1646.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03967147320508957 }, "else": { "operation": "boost", "score": 0.017796602100133896 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10356408357620239 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03997628390789032 }, "else": { "operation": "boost", "score": 0.007974939420819283 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006532543804496527 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.025782162323594093 }, "else": { "operation": "boost", "score": -0.0259876549243927 } } } }, "else": { "operation": "boost", "score": -0.0017215897096320987 } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.037703968584537506 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11112568527460098 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.0973752811551094 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09540975093841553 }, "else": { "operation": "boost", "score": 0.0374724417924881 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11592119187116623 }, "else": { "operation": "boost", "score": 0.011607781052589417 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.037578415125608444 }, "else": { "operation": "boost", "score": 0.012934810481965542 } }, "else": { "operation": "boost", "score": -0.0032454964239150286 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09702187776565552 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.044078245759010315 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.02097887545824051 }, "else": { "operation": "boost", "score": -0.006243009120225906 } } }, "else": { "operation": "boost", "score": -0.0032376472372561693 } }, "else": { "operation": "boost", "score": -0.033195603638887405 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022338656708598137 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.058251406997442245 }, "else": { "operation": "boost", "score": -0.045790836215019226 } } }, "else": { "operation": "boost", "score": -0.01685783639550209 } }, "else": { "operation": "boost", "score": 0.001496477983891964 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.022056538611650467 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011226153932511806 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.08576362580060959 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05000000074505806, "then": { "operation": "boost", "score": -0.01973530650138855 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.11678534746170044 }, "else": { "operation": "boost", "score": 0.14498525857925415 } } }, "else": { "operation": "boost", "score": 0.07992631196975708 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.051093120127916336 }, "else": { "operation": "boost", "score": -0.013118745759129524 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.05734270438551903 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.010731061920523643 }, "else": { "operation": "boost", "score": -0.10837003588676453 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05479481816291809 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08140316605567932 }, "else": { "operation": "boost", "score": 0.004414119757711887 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "boost", "score": 0.046530842781066895 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.14377610385417938 }, "else": { "operation": "boost", "score": 0.10399763286113739 } }, "else": { "operation": "boost", "score": 0.070024773478508 } } }, "else": { "operation": "boost", "score": 0.01960446871817112 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.07489890605211258 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11352191865444183 }, "else": { "operation": "boost", "score": -0.034395504742860794 } } }, "else": { "operation": "boost", "score": 0.0266929492354393 } }, "else": { "operation": "boost", "score": 0.014037338085472584 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02604440040886402 }, "else": { "operation": "boost", "score": -0.256021648645401 } }, "else": { "operation": "boost", "score": -0.010816991329193115 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.06535903364419937 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.114238440990448 }, "else": { "operation": "boost", "score": -0.022969355806708336 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.016344774514436722 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.030087871477007866 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.025354042649269104 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 492.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 953.5, "then": { "operation": "boost", "score": 0.025492805987596512 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 899.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.11301657557487488 }, "else": { "operation": "boost", "score": 0.1274406462907791 } }, "else": { "operation": "boost", "score": 0.07596437633037567 } } }, "else": { "operation": "boost", "score": 0.001350689330138266 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.02011210098862648 }, "else": { "operation": "boost", "score": 0.027601057663559914 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04768522456288338 }, "else": { "operation": "boost", "score": -0.23388324677944183 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.039285674691200256 }, "else": { "operation": "boost", "score": 0.008867972530424595 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.013527999632060528 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.028418395668268204 }, "else": { "operation": "boost", "score": 0.004863514099270105 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": 0.033078309148550034 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0918223038315773 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.14434446394443512 }, "else": { "operation": "boost", "score": 0.02077125944197178 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.01821650005877018 }, "else": { "operation": "boost", "score": -0.09188435971736908 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.0, "then": { "operation": "boost", "score": 0.12841925024986267 }, "else": { "operation": "boost", "score": 0.08693089336156845 } }, "else": { "operation": "boost", "score": 0.0654030591249466 } }, "else": { "operation": "boost", "score": -0.020435206592082977 } }, "else": { "operation": "boost", "score": 0.0167329553514719 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01268976554274559 }, "else": { "operation": "boost", "score": -0.0901099145412445 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28352.5, "then": { "operation": "boost", "score": -0.041085392236709595 }, "else": { "operation": "boost", "score": 0.0014445974957197905 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191.5, "then": { "operation": "boost", "score": 0.031524259597063065 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.051925960928201675 }, "else": { "operation": "boost", "score": -0.0117747588083148 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.07414814084768295 }, "else": { "operation": "boost", "score": 0.2142341285943985 } }, "else": { "operation": "boost", "score": 0.0162554569542408 } }, "else": { "operation": "boost", "score": -0.03378303349018097 } }, "else": { "operation": "boost", "score": 0.012547432444989681 } }, "else": { "operation": "boost", "score": -0.0031058844178915024 } }, "else": { "operation": "boost", "score": -0.04409098997712135 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0003616895410232246 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05358985438942909 }, "else": { "operation": "boost", "score": 0.014200911857187748 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.019634705036878586 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.08301091194152832 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.1170605942606926 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0776289775967598 }, "else": { "operation": "boost", "score": 0.011204355396330357 } } } } }, "else": { "operation": "boost", "score": -0.05747877061367035 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029881784692406654 }, "else": { "operation": "boost", "score": 0.03676402196288109 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.013708489947021008 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.010057748295366764 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009179881773889065 }, "else": { "operation": "boost", "score": -0.04722519963979721 } } } }, "else": { "operation": "boost", "score": 0.03504427149891853 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.05150406062602997 }, "else": { "operation": "boost", "score": -0.0009269930887967348 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03447171673178673 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01943589188158512 }, "else": { "operation": "boost", "score": 0.0302076768130064 } } }, "else": { "operation": "boost", "score": -0.001610844163224101 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011183620430529118 }, "else": { "operation": "boost", "score": -0.020620975643396378 } } } } }, "else": { "operation": "boost", "score": -0.022196628153324127 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0850372314453125, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.23901787400245667 }, "else": { "operation": "boost", "score": -0.4973312318325043 } }, "else": { "operation": "boost", "score": 0.16555023193359375 } }, "else": { "operation": "boost", "score": 0.1345115751028061 } } }, "else": { "operation": "boost", "score": -0.09926263988018036 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.05162927135825157 }, "else": { "operation": "boost", "score": -0.06773241609334946 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.010112243704497814 }, "else": { "operation": "boost", "score": 0.0011320925550535321 } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05389002710580826 }, "else": { "operation": "boost", "score": 0.01661154441535473 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0009421068243682384 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010713696479797363 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "boost", "score": 0.02399919554591179 }, "else": { "operation": "boost", "score": 0.007140217814594507 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.11026262491941452 }, "else": { "operation": "boost", "score": 0.07031583040952682 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.01367452833801508 }, "else": { "operation": "boost", "score": -0.03072693571448326 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02748003974556923 }, "else": { "operation": "boost", "score": 0.013715528883039951 } }, "else": { "operation": "boost", "score": -0.11564687639474869 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03798620402812958 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.014521687291562557 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12980788946151733 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.0026911080349236727 }, "else": { "operation": "boost", "score": 0.10093600302934647 } } }, "else": { "operation": "boost", "score": -0.01579108089208603 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.019925298169255257 }, "else": { "operation": "boost", "score": -0.14983415603637695 } }, "else": { "operation": "boost", "score": -0.0026117151137441397 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1806.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0024464258458465338 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04386616870760918 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.001807592692784965 }, "else": { "operation": "boost", "score": 0.02631285786628723 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2025275081396103 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.06307826191186905 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.059495311230421066 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.12653906643390656 }, "else": { "operation": "boost", "score": 0.05332442373037338 } }, "else": { "operation": "boost", "score": -0.02266327477991581 } } }, "else": { "operation": "boost", "score": 0.0044036447070539 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.03842472285032272 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0095536969602108 }, "else": { "operation": "boost", "score": 0.03265639767050743 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02104836143553257 }, "else": { "operation": "boost", "score": -0.021484250202775 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.009545119479298592 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.20476816594600677 }, "else": { "operation": "boost", "score": -0.04413534700870514 } }, "else": { "operation": "boost", "score": 0.007745806127786636 } } } } }, "else": { "operation": "boost", "score": -0.10685154050588608 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02818717621266842 }, "else": { "operation": "boost", "score": 0.06492865085601807 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.039825279265642166 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 548.5, "then": { "operation": "boost", "score": 0.05706578865647316 }, "else": { "operation": "boost", "score": 0.009680529125034809 } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.011916846968233585 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.012261577881872654 }, "else": { "operation": "boost", "score": 0.013393268920481205 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02761734277009964 }, "else": { "operation": "boost", "score": -0.0018493842799216509 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.05027791112661362 }, "else": { "operation": "boost", "score": 0.15624995529651642 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.08782786875963211 }, "else": { "operation": "boost", "score": 0.03620534762740135 } }, "else": { "operation": "boost", "score": -0.00505052087828517 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.052176833152770996 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.141835555434227 }, "else": { "operation": "boost", "score": 0.09895777702331543 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.014552833512425423 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.05832184851169586 }, "else": { "operation": "boost", "score": -0.026015067473053932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10548856854438782 }, "else": { "operation": "boost", "score": 0.08340681344270706 } } }, "else": { "operation": "boost", "score": 0.04827757179737091 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.028081152588129044 }, "else": { "operation": "boost", "score": 0.007028191816061735 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.14898401498794556 }, "else": { "operation": "boost", "score": -0.020751407369971275 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.036372411996126175 }, "else": { "operation": "boost", "score": 0.020669657737016678 } }, "else": { "operation": "boost", "score": -0.1082642674446106 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07322956621646881 }, "else": { "operation": "boost", "score": 0.03696579858660698 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.042947422713041306 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1755.5, "then": { "operation": "boost", "score": 0.13299337029457092 }, "else": { "operation": "boost", "score": -0.074998639523983 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10864917933940887 }, "else": { "operation": "boost", "score": 0.04691395163536072 } } } } }, "else": { "operation": "boost", "score": -0.00017939400277100503 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.05026007816195488 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.019633343443274498 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.032085686922073364 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04808421805500984 }, "else": { "operation": "boost", "score": -0.06130432337522507 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.054160311818122864 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11305700987577438 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0413113608956337 }, "else": { "operation": "boost", "score": 0.029463229700922966 } } } }, "else": { "operation": "boost", "score": -0.037728626281023026 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020476100966334343 }, "else": { "operation": "boost", "score": -0.019059419631958008 } } } } } } }, "else": { "operation": "boost", "score": -0.022448386996984482 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.021799376234412193 }, "else": { "operation": "boost", "score": 0.028584623709321022 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.065094493329525 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.02329234965145588 }, "else": { "operation": "boost", "score": -0.025753788650035858 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010885135270655155 }, "else": { "operation": "boost", "score": 0.014400629326701164 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.009833641350269318 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.045280177146196365 }, "else": { "operation": "boost", "score": -0.1306351274251938 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.02336900867521763 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02442571334540844 }, "else": { "operation": "boost", "score": 0.014611756429076195 } } }, "else": { "operation": "boost", "score": -0.06036724895238876 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1445903182029724 }, "else": { "operation": "boost", "score": 0.010138248093426228 } }, "else": { "operation": "boost", "score": 0.0010728162014856935 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.004113609902560711 }, "else": { "operation": "boost", "score": -0.10111788660287857 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.05150683969259262 }, "else": { "operation": "boost", "score": -0.015574995428323746 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.12992767989635468 }, "else": { "operation": "boost", "score": -0.14629556238651276 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.055571917444467545 }, "else": { "operation": "boost", "score": -0.08549552410840988 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.008606716059148312 }, "else": { "operation": "boost", "score": 0.03570609539747238 } }, "else": { "operation": "boost", "score": 0.002327321795746684 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04021833464503288 }, "else": { "operation": "boost", "score": -0.0017223469913005829 } }, "else": { "operation": "boost", "score": 0.019678814336657524 } }, "else": { "operation": "boost", "score": -0.022188350558280945 } } } } } }, "else": { "operation": "boost", "score": -0.00729366997256875 } } } } } } } } }, { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5394.0, "then": { "operation": "boost", "score": 0.05257115140557289 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.016847502440214157 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.0029181058052927256 }, "else": { "operation": "boost", "score": 0.018755847588181496 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002293347381055355 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10082.5, "then": { "operation": "boost", "score": 0.04692764952778816 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.10973736643791199 }, "else": { "operation": "boost", "score": 0.046852242201566696 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05510761961340904 }, "else": { "operation": "boost", "score": 0.02829638123512268 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": 0.010658026672899723 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.13344214856624603 }, "else": { "operation": "boost", "score": 0.06590430438518524 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.05192257836461067 }, "else": { "operation": "boost", "score": -0.30611133575439453 } } } }, "else": { "operation": "boost", "score": -0.04645320400595665 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2928921580314636, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.07413214445114136 }, "else": { "operation": "boost", "score": 0.005341779440641403 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04074614495038986 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03632489964365959 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.9991827607154846 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8541666269302368, "then": { "operation": "boost", "score": -1.1275469064712524 }, "else": { "operation": "boost", "score": 0.17608506977558136 } }, "else": { "operation": "boost", "score": -0.29389631748199463 } } }, "else": { "operation": "boost", "score": -0.08619474619626999 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": 0.03928826004266739 }, "else": { "operation": "boost", "score": 0.015208262950181961 } } }, "else": { "operation": "boost", "score": 0.004028852563351393 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.14975404739379883 }, "else": { "operation": "boost", "score": -0.12539565563201904 } }, "else": { "operation": "boost", "score": 0.004922868683934212 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.018797187134623528 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.02722748927772045 }, "else": { "operation": "boost", "score": -0.0023224493488669395 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 443558.5, "then": { "operation": "boost", "score": 0.06573652476072311 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.013531404547393322 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.005731872748583555 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": -0.057340752333402634 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.054322198033332825 }, "else": { "operation": "boost", "score": 0.001318494789302349 } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": 0.065703384578228 }, "else": { "operation": "boost", "score": 0.10486199706792831 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132310.5, "then": { "operation": "boost", "score": -0.274260014295578 }, "else": { "operation": "boost", "score": 0.03712190315127373 } }, "else": { "operation": "boost", "score": -0.032124899327754974 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.11173605918884277 }, "else": { "operation": "boost", "score": 0.12094463407993317 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0653286799788475 }, "else": { "operation": "boost", "score": 0.0172275397926569 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.028499556705355644 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0025212205946445465 }, "else": { "operation": "boost", "score": 0.030268298462033272 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": -0.0979294404387474 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08887732028961182 }, "else": { "operation": "boost", "score": 0.07140126079320908 } }, "else": { "operation": "boost", "score": -0.14986754953861237 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132310.5, "then": { "operation": "boost", "score": -0.1320609748363495 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.10992328077554703 }, "else": { "operation": "boost", "score": 0.05343719571828842 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.10281020402908325 }, "else": { "operation": "boost", "score": 0.1312291920185089 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.13530421257019043 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": 0.1465735286474228 }, "else": { "operation": "boost", "score": 0.06310753524303436 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 89117.0, "then": { "operation": "boost", "score": -0.1886807680130005 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11825.0, "then": { "operation": "boost", "score": 0.015304919332265854 }, "else": { "operation": "boost", "score": -0.011054432019591331 } } } } } }, "else": { "operation": "boost", "score": -0.06041985750198364 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.09107646346092224 }, "else": { "operation": "boost", "score": 0.03166515752673149 } }, "else": { "operation": "boost", "score": 0.03378962725400925 } }, "else": { "operation": "boost", "score": 0.04867080971598625 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155294.5, "then": { "operation": "boost", "score": 0.05361124128103256 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.004766432568430901 }, "else": { "operation": "boost", "score": 0.03096671961247921 } } } }, "else": { "operation": "boost", "score": 0.010012668557465076 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0013080986682325602 }, "else": { "operation": "boost", "score": -0.0791308805346489 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003412415971979499 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.02539672516286373 }, "else": { "operation": "boost", "score": -0.5336731672286987 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Other", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.014617936685681343 }, "else": { "operation": "boost", "score": 0.003711898811161518 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.12834221124649048 }, "else": { "operation": "boost", "score": 0.038734205067157745 } }, "else": { "operation": "boost", "score": -0.0020857553463429213 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04177385941147804 }, "else": { "operation": "boost", "score": 0.01385490596294403 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008189036510884762 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.07719503343105316 }, "else": { "operation": "boost", "score": 0.0021965873893350363 } } } }, "else": { "operation": "boost", "score": 0.01817588321864605 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03168300911784172 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5471.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.08207491785287857 }, "else": { "operation": "boost", "score": 0.14457537233829498 } }, "else": { "operation": "boost", "score": 0.03637154772877693 } } }, "else": { "operation": "boost", "score": -0.07661954313516617 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007694465108215809 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16397.5, "then": { "operation": "boost", "score": -0.15759122371673584 }, "else": { "operation": "boost", "score": -0.05342891067266464 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01606716401875019 }, "else": { "operation": "boost", "score": 0.028848430141806602 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.08389542251825333 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04436080530285835 }, "else": { "operation": "boost", "score": -0.011026114225387573 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09411738067865372 }, "else": { "operation": "boost", "score": 0.024162065237760544 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.01836632750928402 }, "else": { "operation": "boost", "score": 0.049854837357997894 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0012204822851344943 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.013703184202313423 }, "else": { "operation": "boost", "score": -0.010381274856626987 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.09880121797323227 }, "else": { "operation": "boost", "score": -0.009654349647462368 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09349554777145386 }, "else": { "operation": "boost", "score": -0.0036835509818047285 } } }, "else": { "operation": "boost", "score": -0.011626899242401123 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03755057975649834 }, "else": { "operation": "boost", "score": -0.05418563634157181 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8506.0, "then": { "operation": "boost", "score": 0.035254091024398804 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.021931633353233337 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09443136304616928 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05338224396109581 }, "else": { "operation": "boost", "score": 0.007471795193850994 } } } }, "else": { "operation": "boost", "score": -0.10433860123157501 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.0635608583688736 }, "else": { "operation": "boost", "score": 0.01340915821492672 } }, "else": { "operation": "boost", "score": -0.0069734458811581135 } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": 0.03336801752448082 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02892700955271721 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19982561469078064 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.36966753005981445 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.04021080583333969 }, "else": { "operation": "boost", "score": 0.012560467235744 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.021908462047576904 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12070177495479584 }, "else": { "operation": "boost", "score": 0.07842948287725449 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.05341653525829315 }, "else": { "operation": "boost", "score": 0.019655516371130943 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05542002245783806 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.11501879245042801 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18796497583389282 }, "else": { "operation": "boost", "score": 0.0004872353165410459 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.1679379791021347 }, "else": { "operation": "boost", "score": -0.0625460222363472 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.05881275609135628 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.15958909690380096 }, "else": { "operation": "boost", "score": -0.09224991500377655 } }, "else": { "operation": "boost", "score": -0.04459937661886215 } } }, "else": { "operation": "boost", "score": -0.17936980724334717 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.014502884820103645 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.14802014827728271 }, "else": { "operation": "boost", "score": 0.08858536928892136 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03832210972905159 }, "else": { "operation": "boost", "score": 0.000497597036883235 } } } } }, "else": { "operation": "boost", "score": -0.004918423481285572 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.001681619556620717 }, "else": { "operation": "boost", "score": 0.031248630955815315 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.029708851128816605 }, "else": { "operation": "boost", "score": -0.09713544696569443 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.09995914995670319 }, "else": { "operation": "boost", "score": -0.12261240184307098 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.007086066994816065 }, "else": { "operation": "boost", "score": -0.11455990374088287 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 185.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02308555692434311 }, "else": { "operation": "boost", "score": 0.002380102640017867 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.012848018668591976 }, "else": { "operation": "boost", "score": 0.0013450686819851398 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03485541790723801 }, "else": { "operation": "boost", "score": 0.00554298609495163 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.035844288766384125 }, "else": { "operation": "boost", "score": 0.08512801676988602 } }, "else": { "operation": "boost", "score": 0.0021524406038224697 } }, "else": { "operation": "boost", "score": -0.016346968710422516 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02101953513920307 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.15887193381786346 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.1073329970240593 }, "else": { "operation": "boost", "score": 0.18267673254013062 } }, "else": { "operation": "boost", "score": -0.13487526774406433 } }, "else": { "operation": "boost", "score": 0.1212310716509819 } }, "else": { "operation": "boost", "score": 0.07500051707029343 } } } }, "else": { "operation": "boost", "score": -0.02959008514881134 } }, "else": { "operation": "boost", "score": -0.02915174700319767 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0766424611210823 }, "else": { "operation": "boost", "score": -0.08151654899120331 } }, "else": { "operation": "boost", "score": 0.07456130534410477 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.023823196068406105 }, "else": { "operation": "boost", "score": -0.03618878126144409 } }, "else": { "operation": "boost", "score": 0.002745185513049364 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.029695868492126465 }, "else": { "operation": "boost", "score": -1.743262146192137e-05 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0006851644720882177 }, "else": { "operation": "boost", "score": -0.14412179589271545 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.04944298043847084 }, "else": { "operation": "boost", "score": 0.015724580734968185 } }, "else": { "operation": "boost", "score": -0.039180148392915726 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.026054291054606438 }, "else": { "operation": "boost", "score": -0.09995283931493759 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00593704404309392 }, "else": { "operation": "boost", "score": -0.008828331716358662 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.15275947749614716 }, "else": { "operation": "boost", "score": 0.098673515021801 } } }, "else": { "operation": "boost", "score": -0.08337195217609406 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.03761561959981918 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.02450009435415268 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 206450.5, "then": { "operation": "boost", "score": 0.13072368502616882 }, "else": { "operation": "boost", "score": -0.18578751385211945 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10397768020629883 }, "else": { "operation": "boost", "score": 0.06850039213895798 } }, "else": { "operation": "boost", "score": -0.018664013594388962 } }, "else": { "operation": "boost", "score": -0.08925441652536392 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.08088885992765427 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.12230633199214935 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.011729948222637177 }, "else": { "operation": "boost", "score": 0.1320265382528305 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.013110388070344925 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 217.0, "then": { "operation": "boost", "score": 0.06773949414491653 }, "else": { "operation": "boost", "score": 0.2559397220611572 } }, "else": { "operation": "boost", "score": 0.05188361555337906 } } }, "else": { "operation": "boost", "score": -0.03660484775900841 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.06591739505529404 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.049701027572155 }, "else": { "operation": "boost", "score": 0.0006840861169621348 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00767225818708539 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "boost", "score": -0.015101034194231033 }, "else": { "operation": "boost", "score": -0.09903965890407562 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.1374175250530243 }, "else": { "operation": "boost", "score": 0.09961593151092529 } }, "else": { "operation": "boost", "score": -0.17685678601264954 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43302.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14461465179920197 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.12543590366840363 }, "else": { "operation": "boost", "score": -0.009445380419492722 } } }, "else": { "operation": "boost", "score": 0.008291922509670258 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12912259995937347 }, "else": { "operation": "boost", "score": -0.019811924546957016 } } }, "else": { "operation": "boost", "score": -0.0154331149533391 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13344666361808777 }, "else": { "operation": "boost", "score": -0.11958706378936768 } }, "else": { "operation": "boost", "score": -0.04743655398488045 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.025974847376346588 }, "else": { "operation": "boost", "score": -0.0509253665804863 } }, "else": { "operation": "boost", "score": -0.011002857238054276 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2930.5, "then": { "operation": "boost", "score": 0.020184597000479698 }, "else": { "operation": "boost", "score": 0.09760720282793045 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10058116912841797 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03496941179037094 }, "else": { "operation": "boost", "score": 0.007839121855795383 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.026598481461405754 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.012814342975616455 }, "else": { "operation": "boost", "score": -0.018561558797955513 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 149.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167.5, "then": { "operation": "boost", "score": 0.059739600867033005 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 163.5, "then": { "operation": "boost", "score": 0.16898752748966217 }, "else": { "operation": "boost", "score": 0.09011197090148926 } } }, "else": { "operation": "boost", "score": -0.0062149278819561005 } }, "else": { "operation": "boost", "score": -0.07920090109109879 } } } }, "else": { "operation": "boost", "score": -0.0010287887416779995 } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.02118379808962345 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01756334863603115 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.031566739082336426 }, "else": { "operation": "boost", "score": -0.030289342626929283 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03912090137600899 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "boost", "score": 0.07738550007343292 }, "else": { "operation": "boost", "score": 0.008551066741347313 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.03876720368862152 }, "else": { "operation": "boost", "score": 0.006612319964915514 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03444904088973999 }, "else": { "operation": "boost", "score": 0.002259809523820877 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.04702698066830635 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": -0.09284695982933044 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.10282666981220245 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": 0.018446490168571472 }, "else": { "operation": "boost", "score": 0.10434967279434204 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07413999736309052 }, "else": { "operation": "boost", "score": 0.022670842707157135 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.016079600900411606 }, "else": { "operation": "boost", "score": -0.1808777153491974 } } }, "else": { "operation": "boost", "score": -0.06437505036592484 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022745613008737564 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07139638066291809 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005429718177765608 }, "else": { "operation": "boost", "score": -0.03915754333138466 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.07921392470598221 }, "else": { "operation": "boost", "score": 0.197668194770813 } }, "else": { "operation": "boost", "score": 0.03821028023958206 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.10128290951251984 }, "else": { "operation": "boost", "score": 0.2697811424732208 } }, "else": { "operation": "boost", "score": 0.04517754167318344 } }, "else": { "operation": "boost", "score": 0.03880804032087326 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00974472239613533 }, "else": { "operation": "boost", "score": -0.3300004005432129 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03853869065642357 }, "else": { "operation": "boost", "score": -0.16797341406345367 } }, "else": { "operation": "boost", "score": -0.022641560062766075 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 171597.5, "then": { "operation": "boost", "score": -0.18365494906902313 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04023100435733795 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0935416966676712 }, "else": { "operation": "boost", "score": -0.12897586822509766 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.08144306391477585 }, "else": { "operation": "boost", "score": 0.28016918897628784 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 166361.0, "then": { "operation": "boost", "score": -0.5944486260414124 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61294.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104857.0, "then": { "operation": "boost", "score": 0.009349036030471325 }, "else": { "operation": "boost", "score": 0.06197340413928032 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "boost", "score": -0.3381246030330658 }, "else": { "operation": "boost", "score": 0.010266601108014584 } } }, "else": { "operation": "boost", "score": -0.021405456587672234 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": 0.025444433093070984 }, "else": { "operation": "boost", "score": 0.1332324594259262 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92615.5, "then": { "operation": "boost", "score": -0.09873219579458237 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06976068019866943 }, "else": { "operation": "boost", "score": 0.02679525315761566 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02728590928018093 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03133952245116234 }, "else": { "operation": "boost", "score": 0.001280491822399199 } } }, "else": { "operation": "boost", "score": 0.0034893383271992207 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.052044790238142014 }, "else": { "operation": "boost", "score": -0.2763291895389557 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.141665518283844 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.035465024411678314 }, "else": { "operation": "boost", "score": 0.01046844758093357 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.1767125427722931 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04898098111152649 }, "else": { "operation": "boost", "score": 0.042339716106653214 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.04535214230418205 }, "else": { "operation": "boost", "score": 0.01697707735002041 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.5, "then": { "operation": "boost", "score": 0.13510216772556305 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.012071932666003704 }, "else": { "operation": "boost", "score": 0.07295087724924088 } }, "else": { "operation": "boost", "score": 0.02103416807949543 } } }, "else": { "operation": "boost", "score": -0.006131582427769899 } } } }, "else": { "operation": "boost", "score": -0.004443799611181021 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010177935473620892 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02947958931326866 }, "else": { "operation": "boost", "score": -0.11554163694381714 } } }, "else": { "operation": "boost", "score": -0.0054041980765759945 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08025916665792465 }, "else": { "operation": "boost", "score": -0.11525961756706238 } }, "else": { "operation": "boost", "score": -0.0007741269655525684 } }, "else": { "operation": "boost", "score": -0.024652574211359024 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.1019820123910904 }, "else": { "operation": "boost", "score": -0.11509784311056137 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02855687029659748 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.009743837639689445 }, "else": { "operation": "boost", "score": 0.0408795140683651 } }, "else": { "operation": "boost", "score": -0.003307042410597205 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.03890516236424446 }, "else": { "operation": "boost", "score": -0.019785692915320396 } }, "else": { "operation": "boost", "score": 0.06319000571966171 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.007279614452272654 }, "else": { "operation": "boost", "score": 0.10416655987501144 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09296872466802597 }, "else": { "operation": "boost", "score": 0.006783305201679468 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0006895192200317979 }, "else": { "operation": "boost", "score": -0.021495943889021873 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": -0.0608525313436985 }, "else": { "operation": "boost", "score": 0.01979639381170273 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.01729605533182621 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1210172027349472 }, "else": { "operation": "boost", "score": 0.2085186243057251 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.05794263631105423 }, "else": { "operation": "boost", "score": 0.015800783410668373 } } }, "else": { "operation": "boost", "score": -0.020114624872803688 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.014077137224376202 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08984849601984024 }, "else": { "operation": "boost", "score": 0.022916045039892197 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009602587670087814 }, "else": { "operation": "boost", "score": -0.03077421709895134 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13911615312099457 }, "else": { "operation": "boost", "score": -0.0017638576682657003 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03163838014006615 }, "else": { "operation": "boost", "score": 0.005108349956572056 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.5, "then": { "operation": "boost", "score": -0.1384374499320984 }, "else": { "operation": "boost", "score": -0.006784459576010704 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1594.5, "then": { "operation": "boost", "score": 0.019149744883179665 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09843491017818451 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030573133379220963 }, "else": { "operation": "boost", "score": 0.00805793609470129 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.02512171119451523 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011852575466036797 }, "else": { "operation": "boost", "score": -0.01730477437376976 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114.5, "then": { "operation": "boost", "score": 0.05900314450263977 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.006539011374115944 }, "else": { "operation": "boost", "score": -0.02102404087781906 } } }, "else": { "operation": "boost", "score": -0.06980973482131958 } } } }, "else": { "operation": "boost", "score": -0.0011111331405118108 } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5202.5, "then": { "operation": "boost", "score": 0.0854635164141655 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04322522133588791 }, "else": { "operation": "boost", "score": -0.033267565071582794 } } }, "else": { "operation": "boost", "score": 0.016281334683299065 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033897221088409424 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.09024187922477722 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09088081121444702 }, "else": { "operation": "boost", "score": 0.03679344430565834 } } }, "else": { "operation": "boost", "score": 0.009909510612487793 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08370309323072433 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1043529063463211 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07685965299606323 }, "else": { "operation": "boost", "score": 0.021171916276216507 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06113150715827942 }, "else": { "operation": "boost", "score": 0.034621693193912506 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03839277848601341 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.021576927974820137 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": -0.12948010861873627 }, "else": { "operation": "boost", "score": 0.11874180287122726 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11042477935552597 }, "else": { "operation": "boost", "score": -0.01409226842224598 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.04787728190422058 }, "else": { "operation": "boost", "score": 0.012434907257556915 } } }, "else": { "operation": "boost", "score": -0.10178021341562271 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.00816433783620596 }, "else": { "operation": "boost", "score": -0.006611641030758619 } } } } }, "else": { "operation": "boost", "score": -0.005424083210527897 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.21177905797958374 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.017628222703933716 }, "else": { "operation": "boost", "score": 0.05002228915691376 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06804531067609787 }, "else": { "operation": "boost", "score": -0.19614361226558685 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021829208359122276 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.05253734439611435 }, "else": { "operation": "boost", "score": -0.036996692419052124 } } }, "else": { "operation": "boost", "score": -0.015898829326033592 } }, "else": { "operation": "boost", "score": 0.0014825002290308475 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.0, "then": { "operation": "boost", "score": 0.1273084580898285 }, "else": { "operation": "boost", "score": 0.08138563483953476 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.00013326479529496282 }, "else": { "operation": "boost", "score": 0.05260862782597542 } } }, "else": { "operation": "boost", "score": -0.07980187237262726 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03655495122075081 }, "else": { "operation": "boost", "score": 0.008031471632421017 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.049125995486974716 }, "else": { "operation": "boost", "score": -0.026530671864748 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03360068425536156 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020924506708979607 }, "else": { "operation": "boost", "score": -0.012877063825726509 } } } }, "else": { "operation": "boost", "score": -0.003663829294964671 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84795.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 178863.5, "then": { "operation": "boost", "score": 0.04720024764537811 }, "else": { "operation": "boost", "score": 0.00858441460877657 } }, "else": { "operation": "boost", "score": 0.09361086040735245 } }, "else": { "operation": "boost", "score": 0.01025482825934887 } }, "else": { "operation": "boost", "score": -0.03992133587598801 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.055211834609508514 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": 0.11099489033222198 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007910286076366901 }, "else": { "operation": "boost", "score": 0.027748720720410347 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.037969425320625305 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": -0.06637982279062271 }, "else": { "operation": "boost", "score": 0.037464529275894165 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.08219332993030548 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "boost", "score": 0.052385300397872925 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10063176602125168 }, "else": { "operation": "boost", "score": -0.21203510463237762 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.08229514211416245 }, "else": { "operation": "boost", "score": -0.1855808049440384 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134893.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.11284840852022171 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08961518108844757 }, "else": { "operation": "boost", "score": -0.1474010944366455 } } }, "else": { "operation": "boost", "score": -0.20240333676338196 } }, "else": { "operation": "boost", "score": 0.0016037514433264732 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.13072209060192108 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10081485658884048 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.25025245547294617 }, "else": { "operation": "boost", "score": -0.10902591049671173 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.03964640572667122 }, "else": { "operation": "boost", "score": 0.015893323346972466 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.07150088995695114 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.14548887312412262 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.3715114891529083 }, "else": { "operation": "boost", "score": -0.10063597559928894 } }, "else": { "operation": "boost", "score": 0.3460303246974945 } }, "else": { "operation": "boost", "score": -0.1015121191740036 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.4091842770576477 }, "else": { "operation": "boost", "score": -0.10066814720630646 } } }, "else": { "operation": "boost", "score": 0.32386863231658936 } }, "else": { "operation": "boost", "score": 0.40326613187789917 } } }, "else": { "operation": "boost", "score": -0.12082025408744812 } } }, "else": { "operation": "boost", "score": -0.011999523267149925 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1829228550195694 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04447650909423828 }, "else": { "operation": "boost", "score": 0.01325142104178667 } } }, "else": { "operation": "boost", "score": -0.12450756132602692 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Symbol", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.009908009320497513 }, "else": { "operation": "boost", "score": 0.03088025189936161 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1150699034333229 }, "else": { "operation": "boost", "score": -0.13671426475048065 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.05363592877984047 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04101734608411789 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.04488654062151909 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.014199379831552505 }, "else": { "operation": "boost", "score": 0.029986973851919174 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.006765530910342932 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.08270730823278427 }, "else": { "operation": "boost", "score": 0.01267862319946289 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.06927471607923508 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11924902349710464 }, "else": { "operation": "boost", "score": 0.06529324501752853 } }, "else": { "operation": "boost", "score": 0.03260636329650879 } }, "else": { "operation": "boost", "score": -0.1352405548095703 } }, "else": { "operation": "boost", "score": -0.02175920642912388 } } }, "else": { "operation": "boost", "score": -0.06104453280568123 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04653679579496384, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05693056434392929 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.18240302801132202 }, "else": { "operation": "boost", "score": 0.00510060042142868 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02033267728984356 }, "else": { "operation": "boost", "score": 0.011254929006099701 } } }, "else": { "operation": "boost", "score": -0.004610279109328985 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09429626911878586 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.00326314615085721 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.039693813771009445 }, "else": { "operation": "boost", "score": 0.0027968892827630043 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.006868240889161825 }, "else": { "operation": "boost", "score": -0.01735859364271164 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.019179673865437508 }, "else": { "operation": "boost", "score": -0.06944719702005386 } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 243.5, "then": { "operation": "boost", "score": 0.03585617616772652 }, "else": { "operation": "boost", "score": 0.009448782540857792 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0023685165215283632 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.029201913625001907 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.008258026093244553 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07337544858455658 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.022845063358545303 }, "else": { "operation": "boost", "score": 0.1481810361146927 } } }, "else": { "operation": "boost", "score": 0.06593524664640427 } } } }, "else": { "operation": "boost", "score": 0.018771300092339516 } }, "else": { "operation": "boost", "score": -0.04963710159063339 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016986027359962463 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.05471126735210419 }, "else": { "operation": "boost", "score": -0.049727533012628555 } }, "else": { "operation": "boost", "score": 0.002202004427090287 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.04261041432619095 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10487981885671616 }, "else": { "operation": "boost", "score": 0.057191915810108185 } }, "else": { "operation": "boost", "score": 0.03057035803794861 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.034016016870737076 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014774609357118607 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.0, "then": { "operation": "boost", "score": 0.12221258878707886 }, "else": { "operation": "boost", "score": 0.03741149976849556 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05448848754167557 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.15579555928707123 }, "else": { "operation": "boost", "score": -1.4114047189650591e-05 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.14732632040977478 }, "else": { "operation": "boost", "score": 0.15471041202545166 } } }, "else": { "operation": "boost", "score": 0.06765784323215485 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.02806595340371132 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.14748333394527435 }, "else": { "operation": "boost", "score": 0.13890905678272247 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "boost", "score": 0.1383884847164154 }, "else": { "operation": "boost", "score": -0.013844934292137623 } } }, "else": { "operation": "boost", "score": 0.017747310921549797 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77931.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08894794434309006 }, "else": { "operation": "boost", "score": -0.10843993723392487 } }, "else": { "operation": "boost", "score": 0.005686512682586908 } } } }, "else": { "operation": "boost", "score": -0.022269414737820625 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_PreprocessorExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.045920971781015396 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05629713460803032 }, "else": { "operation": "boost", "score": -0.011276300996541977 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": -0.03570061922073364 }, "else": { "operation": "boost", "score": 0.010547547601163387 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 889.0, "then": { "operation": "boost", "score": 0.051330920308828354 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.022898487746715546 }, "else": { "operation": "boost", "score": 0.06053818389773369 } }, "else": { "operation": "boost", "score": 0.00898111891001463 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1186777651309967 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.07904684543609619 }, "else": { "operation": "boost", "score": 0.10053494572639465 } }, "else": { "operation": "boost", "score": 0.04610593616962433 } }, "else": { "operation": "boost", "score": 0.029999947175383568 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0228930301964283 }, "else": { "operation": "boost", "score": 0.04725786671042442 } }, "else": { "operation": "boost", "score": 0.0023612468503415585 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.04203725978732109 }, "else": { "operation": "boost", "score": -0.01743997260928154 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": 0.017517227679491043 }, "else": { "operation": "boost", "score": -0.13411898910999298 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.025283047929406166 }, "else": { "operation": "boost", "score": -0.0022877855226397514 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.006988656707108021 }, "else": { "operation": "boost", "score": 0.023887919262051582 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.06565733253955841 }, "else": { "operation": "boost", "score": -0.1467495858669281 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.01412256434559822 }, "else": { "operation": "boost", "score": -0.004685217514634132 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010488021187484264 }, "else": { "operation": "boost", "score": 0.004775497131049633 } } }, "else": { "operation": "boost", "score": -0.002050945768132806 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.19986701011657715 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.05946284532546997 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "boost", "score": 0.06491909176111221 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "boost", "score": -0.0067199235782027245 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "boost", "score": 0.11276019364595413 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.014133669435977936 }, "else": { "operation": "boost", "score": 0.052437879145145416 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": -0.24836410582065582 }, "else": { "operation": "boost", "score": 0.14757303893566132 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.015126006677746773 }, "else": { "operation": "boost", "score": -0.08275651931762695 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.024717923253774643 }, "else": { "operation": "boost", "score": 0.011751055717468262 } } }, "else": { "operation": "boost", "score": -0.006730993278324604 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03362831100821495 }, "else": { "operation": "boost", "score": 0.0033386140130460262 } }, "else": { "operation": "boost", "score": -0.03618599474430084 } }, "else": { "operation": "boost", "score": -0.0024249290581792593 } }, "else": { "operation": "boost", "score": -0.05899740383028984 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.08951093256473541 }, "else": { "operation": "boost", "score": 0.02831205353140831 } }, "else": { "operation": "boost", "score": 0.029685016721487045 } }, "else": { "operation": "boost", "score": 0.04534980654716492 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "boost", "score": 0.0711415708065033 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.007145080715417862 }, "else": { "operation": "boost", "score": 0.027611946687102318 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.007751097436994314 }, "else": { "operation": "boost", "score": 0.13017645478248596 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.24217751622200012 }, "else": { "operation": "boost", "score": 0.04310940206050873 } }, "else": { "operation": "boost", "score": -0.0622633695602417 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.002532492857426405 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.023612122982740402 }, "else": { "operation": "boost", "score": -0.07026584446430206 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.022660640999674797 }, "else": { "operation": "boost", "score": 9.496194979874417e-05 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03446461632847786 }, "else": { "operation": "boost", "score": -0.05371199920773506 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8506.0, "then": { "operation": "boost", "score": 0.03288101777434349 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.07813804596662521 }, "else": { "operation": "boost", "score": 0.016016948968172073 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05178190767765045 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0942729040980339 }, "else": { "operation": "boost", "score": 0.006845065392553806 } } } }, "else": { "operation": "boost", "score": -0.10358050465583801 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.05928286910057068 }, "else": { "operation": "boost", "score": 0.0107052531093359 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "boost", "score": 0.04767593368887901 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.05145223066210747 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07362847030162811 }, "else": { "operation": "boost", "score": 0.04059014841914177 } }, "else": { "operation": "boost", "score": 0.00900606531649828 } }, "else": { "operation": "boost", "score": -0.04057161137461662 } }, "else": { "operation": "boost", "score": -0.008901252411305904 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1561.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.2549280822277069 }, "else": { "operation": "boost", "score": 0.07300388067960739 } }, "else": { "operation": "boost", "score": 0.008970703929662704 } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.032161224633455276 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11819673329591751 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.08259764313697815 }, "else": { "operation": "boost", "score": 0.060928646475076675 } }, "else": { "operation": "boost", "score": 0.009950903244316578 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.014137259684503078 }, "else": { "operation": "boost", "score": -0.0023495673667639494 } }, "else": { "operation": "boost", "score": -0.008363483473658562 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.004032541997730732 }, "else": { "operation": "boost", "score": 0.01700015179812908 } }, "else": { "operation": "boost", "score": -1.615786095499061e-05 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.04903365299105644 }, "else": { "operation": "boost", "score": 0.012622755020856857 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.04038051888346672 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0351925827562809 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08472659438848495 }, "else": { "operation": "boost", "score": -0.088736392557621 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10365224629640579 }, "else": { "operation": "boost", "score": 0.051800210028886795 } } }, "else": { "operation": "boost", "score": 0.010090354830026627 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009449227713048458 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0433095283806324 }, "else": { "operation": "boost", "score": 0.08320572227239609 } }, "else": { "operation": "boost", "score": 0.024172160774469376 } }, "else": { "operation": "boost", "score": -0.10333796590566635 } }, "else": { "operation": "boost", "score": 0.01746373251080513 } }, "else": { "operation": "boost", "score": 0.008063708432018757 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.07614489644765854 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.16240811347961426 }, "else": { "operation": "boost", "score": 0.07400188595056534 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.02477591671049595 }, "else": { "operation": "boost", "score": 0.03913275524973869 } } }, "else": { "operation": "boost", "score": -0.09044087678194046 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.001786035019904375 }, "else": { "operation": "boost", "score": 0.01909453235566616 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.5, "then": { "operation": "boost", "score": 0.023872971534729004 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.007829184643924236 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.05263914540410042 }, "else": { "operation": "boost", "score": -0.03312776982784271 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.017648188397288322 }, "else": { "operation": "boost", "score": -0.07664822041988373 } }, "else": { "operation": "boost", "score": -0.024187346920371056 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.024942860007286072 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.07594611495733261 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.040917910635471344 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.012862415984272957 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08499240130186081 }, "else": { "operation": "boost", "score": -0.031103530898690224 } } }, "else": { "operation": "boost", "score": 0.004281159024685621 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "boost", "score": 0.1301698535680771 }, "else": { "operation": "boost", "score": 0.04957108944654465 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.16456758975982666 }, "else": { "operation": "boost", "score": -0.023960283026099205 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.06924059242010117 }, "else": { "operation": "boost", "score": 0.03127995878458023 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "boost", "score": 0.037942368537187576 }, "else": { "operation": "boost", "score": 0.010199769400060177 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.0390484519302845 }, "else": { "operation": "boost", "score": 0.0033680929336696863 } }, "else": { "operation": "boost", "score": 0.029377946630120277 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.048989187926054 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.07652521133422852 }, "else": { "operation": "boost", "score": 0.003131677396595478 } } }, "else": { "operation": "boost", "score": -0.020158931612968445 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.023924557492136955 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 23.0, "then": { "operation": "boost", "score": 0.002067916328087449 }, "else": { "operation": "boost", "score": 0.09961158037185669 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.03722155839204788 }, "else": { "operation": "boost", "score": 0.01421463955193758 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.06972651928663254 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.12573587894439697 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.34273582696914673 }, "else": { "operation": "boost", "score": 0.3020428717136383 } }, "else": { "operation": "boost", "score": 0.26234516501426697 } }, "else": { "operation": "boost", "score": -0.10137733817100525 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.2253081202507019 }, "else": { "operation": "boost", "score": -0.10065057128667831 } } }, "else": { "operation": "boost", "score": 0.22801586985588074 } }, "else": { "operation": "boost", "score": 0.31834638118743896 } } }, "else": { "operation": "boost", "score": -0.11934822797775269 } } }, "else": { "operation": "boost", "score": -0.010921857319772243 } } }, "else": { "operation": "boost", "score": 0.013418289832770824 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04653679579496384, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06066490709781647 }, "else": { "operation": "boost", "score": 0.11435346305370331 } }, "else": { "operation": "boost", "score": 0.02847764454782009 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03186932951211929 }, "else": { "operation": "boost", "score": -0.027563177049160004 } }, "else": { "operation": "boost", "score": 0.020212313160300255 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.01870841160416603 }, "else": { "operation": "boost", "score": 0.02189517579972744 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.006261791102588177 }, "else": { "operation": "boost", "score": -0.0071322559379041195 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05151320993900299 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.010715101845562458 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.14404554665088654 }, "else": { "operation": "boost", "score": 0.17613060772418976 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017937159165740013 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.00098345463629812 }, "else": { "operation": "boost", "score": 0.012326414696872234 } }, "else": { "operation": "boost", "score": -0.0007305468316189945 } }, "else": { "operation": "boost", "score": -0.01409638486802578 } } } }, "else": { "operation": "boost", "score": -0.0904945507645607 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.14748428761959076 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.0, "then": { "operation": "boost", "score": -0.10048084706068039 }, "else": { "operation": "boost", "score": 0.15661346912384033 } } }, "else": { "operation": "boost", "score": 0.2755584716796875 } }, "else": { "operation": "boost", "score": -0.04792900010943413 } }, "else": { "operation": "boost", "score": 0.010915175080299377 } }, "else": { "operation": "boost", "score": -0.08179159462451935 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11444713920354843 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.01283484697341919 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.023605598136782646 }, "else": { "operation": "boost", "score": 0.029078306630253792 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05535196140408516 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.03810109570622444 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.00016094897000584751 }, "else": { "operation": "boost", "score": -0.09113404899835587 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02001538872718811 }, "else": { "operation": "boost", "score": -0.08610742539167404 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.005794072523713112 }, "else": { "operation": "boost", "score": -0.05352277308702469 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05591943487524986 }, "else": { "operation": "boost", "score": 0.01965894177556038 } }, "else": { "operation": "boost", "score": -0.0012763517443090677 } } } } } } }, "else": { "operation": "boost", "score": -0.02226472645998001 } }, "else": { "operation": "boost", "score": -0.017206517979502678 } }, "else": { "operation": "boost", "score": -0.01226037461310625 } } }, "else": { "operation": "boost", "score": 0.0013822587206959724 } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15967817604541779 }, "else": { "operation": "boost", "score": 0.02054690383374691 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.017944924533367157 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34878.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "boost", "score": 0.11857467144727707 }, "else": { "operation": "boost", "score": 0.12767764925956726 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32805.0, "then": { "operation": "boost", "score": -0.15410682559013367 }, "else": { "operation": "boost", "score": 0.031260766088962555 } } }, "else": { "operation": "boost", "score": 0.09606640785932541 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.014444495551288128 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.006552278995513916 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.046533796936273575 }, "else": { "operation": "boost", "score": 0.06298453360795975 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.001096114399842918 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0011183461174368858 }, "else": { "operation": "boost", "score": 0.06037178263068199 } } }, "else": { "operation": "boost", "score": -0.00926700048148632 } } }, "else": { "operation": "boost", "score": -0.007319084834307432 } }, "else": { "operation": "boost", "score": 0.015558954328298569 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6190476417541504, "then": { "operation": "boost", "score": -0.19511747360229492 }, "else": { "operation": "boost", "score": 0.11330535262823105 } }, "else": { "operation": "boost", "score": -0.040542252361774445 } }, "else": { "operation": "boost", "score": 0.001540403114631772 } } }, "else": { "operation": "boost", "score": -0.15507401525974274 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023321617394685745 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0005926173180341721 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.013817919418215752 }, "else": { "operation": "boost", "score": 0.0837743729352951 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.060826774686574936 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": 0.13342420756816864 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": 0.04872498661279678 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.11346445232629776 }, "else": { "operation": "boost", "score": -0.07724855840206146 } } }, "else": { "operation": "boost", "score": 0.038870666176080704 } } }, "else": { "operation": "boost", "score": -0.11738459765911102 } }, "else": { "operation": "boost", "score": 0.0015972215915098786 } }, "else": { "operation": "boost", "score": -0.026947205886244774 } } } }, "else": { "operation": "boost", "score": 0.011584657244384289 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03624146431684494 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.012051108293235302 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11568104475736618 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.037018924951553345 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13338881731033325 }, "else": { "operation": "boost", "score": 0.04047752916812897 } }, "else": { "operation": "boost", "score": -0.07138168066740036 } }, "else": { "operation": "boost", "score": -0.004399505909532309 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.014007609337568283 }, "else": { "operation": "boost", "score": 0.003205025801435113 } } } }, "else": { "operation": "boost", "score": 0.09779977053403854 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.04409041255712509 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.10833220183849335 }, "else": { "operation": "boost", "score": 0.13616101443767548 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1442653238773346 }, "else": { "operation": "boost", "score": -0.7414761781692505 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.01034832838922739 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.25013110041618347 }, "else": { "operation": "boost", "score": 0.045828476548194885 } } } }, "else": { "operation": "boost", "score": -0.0097345020622015 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "boost", "score": 0.06533077359199524 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.007228025700896978 }, "else": { "operation": "boost", "score": -0.06502529233694077 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.04077116772532463 }, "else": { "operation": "boost", "score": 0.004119907505810261 } }, "else": { "operation": "boost", "score": -0.010508357547223568 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05438368767499924 }, "else": { "operation": "boost", "score": -0.032236725091934204 } }, "else": { "operation": "boost", "score": 0.012533902190625668 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0024161965120583773 }, "else": { "operation": "boost", "score": 0.019972560927271843 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.013296789489686489 }, "else": { "operation": "boost", "score": 0.0045108734630048275 } }, "else": { "operation": "boost", "score": -0.00024438006221316755 } } } } } }, "else": { "operation": "boost", "score": -0.1094171479344368 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19643.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 245728.5, "then": { "operation": "boost", "score": -0.34685859084129333 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": 0.11356241255998611 }, "else": { "operation": "boost", "score": 0.10084301233291626 } }, "else": { "operation": "boost", "score": 0.028393277898430824 } } }, "else": { "operation": "boost", "score": 0.1278916299343109 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.019897904247045517 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.020048517733812332 }, "else": { "operation": "boost", "score": 0.011900787241756916 } } }, "else": { "operation": "boost", "score": -0.004569431766867638 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.02154582366347313 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.07622995227575302 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.11366226524114609 }, "else": { "operation": "boost", "score": 0.0793502926826477 } }, "else": { "operation": "boost", "score": 0.004373996518552303 } }, "else": { "operation": "boost", "score": -0.08391908556222916 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12649019062519073 }, "else": { "operation": "boost", "score": 0.0603070892393589 } }, "else": { "operation": "boost", "score": -0.16966216266155243 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.044713884592056274 }, "else": { "operation": "boost", "score": -0.01778268814086914 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.12101595103740692 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.0910612940788269 }, "else": { "operation": "boost", "score": 0.010861390270292759 } }, "else": { "operation": "boost", "score": -0.20300015807151794 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159339.0, "then": { "operation": "boost", "score": -0.2048458456993103 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01322454959154129 }, "else": { "operation": "boost", "score": -0.04417373985052109 } }, "else": { "operation": "boost", "score": -0.008171482011675835 } } } } }, "else": { "operation": "boost", "score": 0.01310733426362276 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 179.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120391.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.056811973452568054 }, "else": { "operation": "boost", "score": 0.12947122752666473 } }, "else": { "operation": "boost", "score": -0.08228801935911179 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40702.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.07429900020360947 }, "else": { "operation": "boost", "score": -0.038067542016506195 } }, "else": { "operation": "boost", "score": -0.1389978528022766 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32960.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11651206761598587 }, "else": { "operation": "boost", "score": 0.03227987140417099 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20598.0, "then": { "operation": "boost", "score": -0.08922110497951508 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19975.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20172.0, "then": { "operation": "boost", "score": -0.004819488152861595 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.14316995441913605 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08498172461986542 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.18029408156871796 }, "else": { "operation": "boost", "score": 0.11149975657463074 } } } } }, "else": { "operation": "boost", "score": 0.03399019315838814 } } } } }, "else": { "operation": "boost", "score": -0.03835533931851387 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.15765027701854706 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.012475001625716686 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20427066087722778 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0028419988229870796 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 129672.5, "then": { "operation": "boost", "score": 0.08090194314718246 }, "else": { "operation": "boost", "score": 0.017635254189372063 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0011315536685287952 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005137166939675808 }, "else": { "operation": "boost", "score": -0.0401458740234375 } }, "else": { "operation": "boost", "score": 0.019590388983488083 } }, "else": { "operation": "boost", "score": -0.007725180592387915 } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18811452388763428 }, "else": { "operation": "boost", "score": 0.01491138618439436 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10798835009336472 }, "else": { "operation": "boost", "score": 0.011945654638111591 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06993451714515686 }, "else": { "operation": "boost", "score": -0.32104435563087463 } }, "else": { "operation": "boost", "score": -0.11641596257686615 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.08155786991119385 }, "else": { "operation": "boost", "score": 0.2067624181509018 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010273991152644157 }, "else": { "operation": "boost", "score": -0.031857579946517944 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.07103818655014038 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5727273225784302, "then": { "operation": "boost", "score": 0.13856908679008484 }, "else": { "operation": "boost", "score": 0.12171182781457901 } } }, "else": { "operation": "boost", "score": 0.03198930621147156 } }, "else": { "operation": "boost", "score": 0.010267307050526142 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.0076970551162958145 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34654.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "boost", "score": 0.1175723746418953 }, "else": { "operation": "boost", "score": 0.12193930149078369 } }, "else": { "operation": "boost", "score": 0.03592453896999359 } }, "else": { "operation": "boost", "score": -0.09109344333410263 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10872510075569153 }, "else": { "operation": "boost", "score": 0.1456572413444519 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1455819457769394 }, "else": { "operation": "boost", "score": -0.5845083594322205 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28296.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12884798645973206 }, "else": { "operation": "boost", "score": 0.022628435865044594 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08932241797447205 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25183.5, "then": { "operation": "boost", "score": 0.04466910660266876 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09730623662471771 }, "else": { "operation": "boost", "score": -0.1831531524658203 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.10496234893798828 }, "else": { "operation": "boost", "score": 0.017642587423324585 } }, "else": { "operation": "boost", "score": 0.056926533579826355 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029795106500387192 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013657203875482082 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.08766666054725647 }, "else": { "operation": "boost", "score": 0.14222735166549683 } }, "else": { "operation": "boost", "score": 0.07701089978218079 } }, "else": { "operation": "boost", "score": 0.013755827210843563 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.08314190804958344 }, "else": { "operation": "boost", "score": 0.023859789595007896 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03271286189556122 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00996681209653616 }, "else": { "operation": "boost", "score": -0.11301922053098679 } }, "else": { "operation": "boost", "score": -0.05718852952122688 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022123103961348534 }, "else": { "operation": "boost", "score": -0.0021201998461037874 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6920.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7253.5, "then": { "operation": "boost", "score": -0.015851732343435287 }, "else": { "operation": "boost", "score": -0.33684366941452026 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02450486645102501 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.03868495672941208 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06859584152698517 }, "else": { "operation": "boost", "score": -0.01260618306696415 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006424546707421541 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.042357105761766434 }, "else": { "operation": "boost", "score": -0.016553277149796486 } } }, "else": { "operation": "boost", "score": 0.0010526153491809964 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.02559327520430088 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.028043262660503387 }, "else": { "operation": "boost", "score": 0.001727903145365417 } } }, "else": { "operation": "boost", "score": 0.004823712632060051 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11538.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09952682256698608 }, "else": { "operation": "boost", "score": -0.03834113851189613 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22379.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54332.5, "then": { "operation": "boost", "score": -0.015022977255284786 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41256.0, "then": { "operation": "boost", "score": 0.12491215020418167 }, "else": { "operation": "boost", "score": 0.03581313416361809 } } }, "else": { "operation": "boost", "score": -0.10796017944812775 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.18991278111934662 }, "else": { "operation": "boost", "score": 0.11964883655309677 } }, "else": { "operation": "boost", "score": 0.10735572129487991 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 312254.5, "then": { "operation": "boost", "score": 0.06652317941188812 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.9577898383140564 }, "else": { "operation": "boost", "score": 0.013345605693757534 } } } } }, "else": { "operation": "boost", "score": 0.0029887985438108444 } }, "else": { "operation": "boost", "score": -0.055820051580667496 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11710.5, "then": { "operation": "boost", "score": 0.019755670800805092 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.10584980994462967 }, "else": { "operation": "boost", "score": 0.09321552515029907 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10644.5, "then": { "operation": "boost", "score": -0.07866649329662323 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2089.0, "then": { "operation": "boost", "score": 0.010982728563249111 }, "else": { "operation": "boost", "score": -0.034774601459503174 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6920.5, "then": { "operation": "boost", "score": -0.24926874041557312 }, "else": { "operation": "boost", "score": 0.007080379873514175 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": -0.003964717499911785 }, "else": { "operation": "boost", "score": -0.11297149211168289 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.04016444832086563 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.011946827173233032 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12409104406833649 }, "else": { "operation": "boost", "score": -0.10722766816616058 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.03534915670752525 }, "else": { "operation": "boost", "score": -0.0025596774648875 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03018505685031414 }, "else": { "operation": "boost", "score": 0.008043603971600533 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.05892222002148628 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.010660517029464245 }, "else": { "operation": "boost", "score": -0.10123062133789062 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007818339392542839 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.11840635538101196 }, "else": { "operation": "boost", "score": 0.03040413372218609 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0991385355591774 }, "else": { "operation": "boost", "score": 0.14838865399360657 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11616657674312592 }, "else": { "operation": "boost", "score": -0.14897125959396362 } } }, "else": { "operation": "boost", "score": 0.06801079213619232 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.10224788635969162 }, "else": { "operation": "boost", "score": 0.17048682272434235 } }, "else": { "operation": "boost", "score": 0.07932280749082565 } } }, "else": { "operation": "boost", "score": -0.04887311905622482 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04931572824716568 }, "else": { "operation": "boost", "score": -0.03376239910721779 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11763552576303482 }, "else": { "operation": "boost", "score": 0.02566816844046116 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.06610040366649628 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.050504233688116074 }, "else": { "operation": "boost", "score": -0.01899518445134163 } } } } }, "else": { "operation": "boost", "score": -0.004967608954757452 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03139093890786171 }, "else": { "operation": "boost", "score": -0.052547622472047806 } }, "else": { "operation": "boost", "score": -0.01605827920138836 } } }, "else": { "operation": "boost", "score": -0.0035490719601511955 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05601249262690544 }, "else": { "operation": "boost", "score": 0.004520036280155182 } } } }, "else": { "operation": "boost", "score": -0.05199434980750084 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10300213098526001 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.008029882796108723 }, "else": { "operation": "boost", "score": 0.0724867507815361 } } }, "else": { "operation": "boost", "score": -0.007033057045191526 } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.018745534121990204 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.011716393753886223 }, "else": { "operation": "boost", "score": 0.10158893465995789 } }, "else": { "operation": "boost", "score": -0.018496131524443626 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5193.0, "then": { "operation": "boost", "score": 0.09674538671970367 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.010288864374160767 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "boost", "score": 0.13025017082691193 }, "else": { "operation": "boost", "score": 0.008429781533777714 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -1.4662744998931885 }, "else": { "operation": "boost", "score": -0.0860566720366478 } } }, "else": { "operation": "boost", "score": 0.022929854691028595 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": 0.03133990615606308 }, "else": { "operation": "boost", "score": 0.006075229961425066 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.058048591017723083 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.025259193032979965 }, "else": { "operation": "boost", "score": -0.0026393213775008917 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.008084023371338844 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.195091113448143 }, "else": { "operation": "boost", "score": 0.012339410372078419 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.040645062923431396 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": -0.07705572992563248 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "boost", "score": 0.05106929689645767 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.16849803924560547 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02986367978155613 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.03197932988405228 }, "else": { "operation": "boost", "score": -0.016471005976200104 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.10253700613975525 }, "else": { "operation": "boost", "score": -0.08844252675771713 } }, "else": { "operation": "boost", "score": 0.00756241986528039 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9151.0, "then": { "operation": "boost", "score": -0.3273204267024994 }, "else": { "operation": "boost", "score": -0.05767333507537842 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0004024860681965947 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010939548723399639 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.041310109198093414 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.11540348082780838 }, "else": { "operation": "boost", "score": 0.032376594841480255 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016020767390727997 }, "else": { "operation": "boost", "score": -0.0919807180762291 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.003301295917481184 }, "else": { "operation": "boost", "score": 0.1319596767425537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "boost", "score": -0.151254802942276 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12352985888719559 }, "else": { "operation": "boost", "score": 0.04750867560505867 } }, "else": { "operation": "boost", "score": 0.06096310541033745 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92376.0, "then": { "operation": "boost", "score": -0.10604406893253326 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.057325396686792374 }, "else": { "operation": "boost", "score": -0.005420486442744732 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1351272612810135 }, "else": { "operation": "boost", "score": -0.4746703505516052 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28296.5, "then": { "operation": "boost", "score": -0.06380550563335419 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26198.0, "then": { "operation": "boost", "score": 0.06371857225894928 }, "else": { "operation": "boost", "score": -0.00038240113644860685 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.026831036433577538 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.00353665160946548 }, "else": { "operation": "boost", "score": 0.0363561250269413 } }, "else": { "operation": "boost", "score": -0.00282033858820796 } } }, "else": { "operation": "boost", "score": 0.004670929629355669 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.02971397526562214 }, "else": { "operation": "boost", "score": 0.08558987081050873 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07966089248657227 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0052198320627212524 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.050372157245874405 }, "else": { "operation": "boost", "score": -0.010858393274247646 } }, "else": { "operation": "boost", "score": 0.012732942588627338 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027676889672875404 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.018864938989281654 }, "else": { "operation": "boost", "score": 0.002140187891200185 } } } } } }, "else": { "operation": "boost", "score": -0.01528242789208889 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014459578320384026 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.06306911259889603 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04852423444390297 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.12688162922859192 }, "else": { "operation": "boost", "score": 0.15548424422740936 } }, "else": { "operation": "boost", "score": 0.09182991087436676 } }, "else": { "operation": "boost", "score": 0.07153207808732986 } } }, "else": { "operation": "boost", "score": 0.020558902993798256 } } } }, "else": { "operation": "boost", "score": -0.025837574154138565 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07094579935073853 }, "else": { "operation": "boost", "score": 0.011733313091099262 } }, "else": { "operation": "boost", "score": -0.0025053932331502438 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07360292226076126 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.02840675227344036 }, "else": { "operation": "boost", "score": 0.031784575432538986 } }, "else": { "operation": "boost", "score": 0.0028318024706095457 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.1243726909160614 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.04466992989182472 }, "else": { "operation": "boost", "score": 0.008715602569282055 } } }, "else": { "operation": "boost", "score": -0.09083044528961182 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0049448395147919655 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0385291688144207 }, "else": { "operation": "boost", "score": 0.007692310493439436 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.14110088348388672 }, "else": { "operation": "boost", "score": 0.09043637663125992 } } } }, "else": { "operation": "boost", "score": -0.07524513453245163 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00733533687889576 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1509.5, "then": { "operation": "boost", "score": -0.022117627784609795 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016880223527550697 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.010463079437613487 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09274351596832275 }, "else": { "operation": "boost", "score": 0.07099709659814835 } }, "else": { "operation": "boost", "score": -0.05737824738025665 } }, "else": { "operation": "boost", "score": 0.004211821593344212 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1484.0, "then": { "operation": "boost", "score": 0.13880570232868195 }, "else": { "operation": "boost", "score": 0.015880534425377846 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.01762910932302475 }, "else": { "operation": "boost", "score": 0.047864094376564026 } }, "else": { "operation": "boost", "score": -0.06865096837282181 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.007007909938693047 }, "else": { "operation": "boost", "score": -0.33415067195892334 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.014830326661467552 }, "else": { "operation": "boost", "score": -0.060501065105199814 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024767711758613586 }, "else": { "operation": "boost", "score": 0.04300696775317192 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0008411778253503144 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.010881693102419376 }, "else": { "operation": "boost", "score": -0.05496186763048172 } } } } }, "else": { "operation": "boost", "score": -0.009595268405973911 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4464.5, "then": { "operation": "boost", "score": 0.019464081153273582 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09393381327390671 }, "else": { "operation": "boost", "score": 0.009937891736626625 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.03793603554368019 }, "else": { "operation": "boost", "score": 0.005960213951766491 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.016089800745248795 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.043808408081531525 }, "else": { "operation": "boost", "score": -0.5520821809768677 } }, "else": { "operation": "boost", "score": -1.4061232805252075 } }, "else": { "operation": "boost", "score": -0.051820412278175354 } } } } }, "else": { "operation": "boost", "score": -0.0007731445366516709 } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014755213633179665 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0035362013150006533 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02258707769215107 }, "else": { "operation": "boost", "score": -0.046720318496227264 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014580233953893185 }, "else": { "operation": "boost", "score": -0.01416861917823553 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.046388670802116394 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12503387033939362 }, "else": { "operation": "boost", "score": 0.09283415228128433 } } }, "else": { "operation": "boost", "score": -0.013683252036571503 } }, "else": { "operation": "boost", "score": 0.014809302054345608 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.013556457124650478 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.042387705296278 }, "else": { "operation": "boost", "score": 0.010053029283881187 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013469048775732517 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.013953439891338348 }, "else": { "operation": "boost", "score": -0.015017258003354073 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 460.5, "then": { "operation": "boost", "score": 0.0434211827814579 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.0, "then": { "operation": "boost", "score": 0.1016862541437149 }, "else": { "operation": "boost", "score": -0.04883907735347748 } }, "else": { "operation": "boost", "score": 0.1507842242717743 } }, "else": { "operation": "boost", "score": 0.04757899045944214 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.027781251817941666 }, "else": { "operation": "boost", "score": 0.002414318732917309 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.028963908553123474 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.1411672681570053 }, "else": { "operation": "boost", "score": -0.00856267660856247 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.015073047950863838 }, "else": { "operation": "boost", "score": -0.001802724553272128 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.02426709607243538 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.07170777767896652 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "boost", "score": -0.060668639838695526 }, "else": { "operation": "boost", "score": -0.012824454344809055 } } }, "else": { "operation": "boost", "score": 0.043196987360715866 } }, "else": { "operation": "boost", "score": 0.008945289067924023 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.039115916937589645 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.011516558937728405 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.25126421451568604 }, "else": { "operation": "boost", "score": -0.12093167006969452 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0594579242169857 }, "else": { "operation": "boost", "score": 0.019467052072286606 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.09581215679645538 }, "else": { "operation": "boost", "score": -0.010356818325817585 } }, "else": { "operation": "boost", "score": -0.08188101649284363 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03708909824490547 }, "else": { "operation": "boost", "score": -0.06489653885364532 } }, "else": { "operation": "boost", "score": 0.046711113303899765 } }, "else": { "operation": "boost", "score": -0.006868850439786911 } } }, "else": { "operation": "boost", "score": -0.016020361334085464 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0043721869587898254 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.038712598383426666 }, "else": { "operation": "boost", "score": 0.020308323204517365 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.05290937051177025 }, "else": { "operation": "boost", "score": 0.009785322472453117 } }, "else": { "operation": "boost", "score": -0.12768635153770447 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04014982655644417 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.127557173371315 }, "else": { "operation": "boost", "score": -0.07828529924154282 } }, "else": { "operation": "boost", "score": 0.0023682289756834507 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32454.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": 0.01400893647223711 }, "else": { "operation": "boost", "score": 0.05575472488999367 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 458944.5, "then": { "operation": "boost", "score": 0.04670814797282219 }, "else": { "operation": "boost", "score": -0.12166988104581833 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58696.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07112796604633331 }, "else": { "operation": "boost", "score": -0.18103419244289398 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.147953599691391 }, "else": { "operation": "boost", "score": 0.10130998492240906 } } }, "else": { "operation": "boost", "score": -0.03716392442584038 } } }, "else": { "operation": "boost", "score": -0.10139559954404831 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12313579022884369 }, "else": { "operation": "boost", "score": 0.020271185785531998 } }, "else": { "operation": "boost", "score": -0.10769357532262802 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01903625950217247 }, "else": { "operation": "boost", "score": -0.03345801681280136 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001035704743117094 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29460.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30909.0, "then": { "operation": "boost", "score": -0.21650001406669617 }, "else": { "operation": "boost", "score": 0.11736501008272171 } }, "else": { "operation": "boost", "score": -0.0003974813153035939 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.05244474112987518 }, "else": { "operation": "boost", "score": -0.028399348258972168 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.07064397633075714 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.010029460303485394 }, "else": { "operation": "boost", "score": 0.07116273790597916 } } } } }, "else": { "operation": "boost", "score": -0.11171592026948929 } }, "else": { "operation": "boost", "score": 0.01146095059812069 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12842456996440887 }, "else": { "operation": "boost", "score": 0.010174326598644257 } }, "else": { "operation": "boost", "score": -0.0033380864188075066 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.009263107553124428 }, "else": { "operation": "boost", "score": -0.016763882711529732 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07200555503368378 }, "else": { "operation": "boost", "score": 0.04483906924724579 } }, "else": { "operation": "boost", "score": 0.018525592982769012 } }, "else": { "operation": "boost", "score": -0.07282332330942154 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.043751224875450134 }, "else": { "operation": "boost", "score": -0.11168347299098969 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.013914979994297028 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.0841694101691246 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.10258577764034271 }, "else": { "operation": "boost", "score": 0.036934930831193924 } } }, "else": { "operation": "boost", "score": 0.0065578920766711235 } }, "else": { "operation": "boost", "score": -0.0058787367306649685 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1583.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.041713371872901917 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00023979567049536854 }, "else": { "operation": "boost", "score": 0.023992590606212616 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08842961490154266 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.028042633086442947 }, "else": { "operation": "boost", "score": 0.009322870522737503 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0521734319627285 }, "else": { "operation": "boost", "score": 0.012424909509718418 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.036307938396930695 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.003686883021146059 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.017667042091488838 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.22747796773910522 }, "else": { "operation": "boost", "score": -0.04805494472384453 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0008528773905709386 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04400138929486275 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.09075856953859329 }, "else": { "operation": "boost", "score": 0.026607699692249298 } }, "else": { "operation": "boost", "score": -0.021216757595539093 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 310.0, "then": { "operation": "boost", "score": 0.11117951571941376 }, "else": { "operation": "boost", "score": -0.013654001988470554 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.01673591136932373 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.015576758421957493 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06705498695373535 }, "else": { "operation": "boost", "score": -0.0032646621111780405 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0013560501392930746 }, "else": { "operation": "boost", "score": -0.14114035665988922 } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01425581518560648 }, "else": { "operation": "boost", "score": 0.005178213119506836 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.002024532062932849 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43084.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55726.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69581.5, "then": { "operation": "boost", "score": 0.0303787924349308 }, "else": { "operation": "boost", "score": -0.02296728640794754 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16535289585590363 }, "else": { "operation": "boost", "score": 0.10436280816793442 } } }, "else": { "operation": "boost", "score": -0.06973444670438766 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "boost", "score": 0.06766586750745773 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.16293148696422577 }, "else": { "operation": "boost", "score": 0.11770883202552795 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.10567139089107513 }, "else": { "operation": "boost", "score": 0.03540550917387009 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21170715987682343 }, "else": { "operation": "boost", "score": 0.013593879528343678 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.010787543840706348 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.043145690113306046 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.028970953077077866 }, "else": { "operation": "boost", "score": -0.1881731152534485 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.030304402112960815 }, "else": { "operation": "boost", "score": 0.00847698375582695 } }, "else": { "operation": "boost", "score": 0.01966335065662861 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011884156614542007 }, "else": { "operation": "boost", "score": -0.05683663487434387 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06976436823606491 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.009236705489456654 }, "else": { "operation": "boost", "score": 0.132169708609581 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019572794437408447 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.09130256623029709 }, "else": { "operation": "boost", "score": -0.01564321294426918 } } }, "else": { "operation": "boost", "score": -0.050933316349983215 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04804385080933571 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.015079349279403687 }, "else": { "operation": "boost", "score": -0.019985215738415718 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "boost", "score": 0.07357668876647949 }, "else": { "operation": "boost", "score": 0.03133122995495796 } }, "else": { "operation": "boost", "score": 0.010549299418926239 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.05172128230333328 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 228.5, "then": { "operation": "boost", "score": 0.11003074049949646 }, "else": { "operation": "boost", "score": 0.1975339651107788 } }, "else": { "operation": "boost", "score": 0.09968364238739014 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.0, "then": { "operation": "boost", "score": 0.2029617577791214 }, "else": { "operation": "boost", "score": 0.1481451541185379 } }, "else": { "operation": "boost", "score": 0.15989628434181213 } }, "else": { "operation": "boost", "score": 0.013786264695227146 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03336242213845253 }, "else": { "operation": "boost", "score": 0.00028346601175144315 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.05814704671502113 }, "else": { "operation": "boost", "score": -0.07553716748952866 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08560168743133545 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.02473258413374424 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.11261116713285446 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.007998653687536716 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.04005362465977669 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.12097886204719543 }, "else": { "operation": "boost", "score": 0.0800795778632164 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.026399245485663414 }, "else": { "operation": "boost", "score": -0.18910528719425201 } }, "else": { "operation": "boost", "score": 0.0070940051227808 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.0004199556424282491 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.004143510013818741 }, "else": { "operation": "boost", "score": -0.11656070500612259 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.16663356125354767 }, "else": { "operation": "boost", "score": 0.06008746474981308 } }, "else": { "operation": "boost", "score": 0.023961568251252174 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.1389949470758438 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.042711447924375534 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.08149538934230804 }, "else": { "operation": "boost", "score": 0.03939174860715866 } } } } }, "else": { "operation": "boost", "score": 0.021871745586395264 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.021981950849294662 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.008153073489665985 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.03204520791769028 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.007040611933916807 }, "else": { "operation": "boost", "score": 0.00031033437699079514 } } } } } }, "else": { "operation": "boost", "score": 0.0032130414620041847 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.03180081397294998 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0007863484206609428 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03026205115020275 }, "else": { "operation": "boost", "score": -0.09032844752073288 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.035857249051332474 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.03897154703736305 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04719113931059837 }, "else": { "operation": "boost", "score": -0.009598239324986935 } }, "else": { "operation": "boost", "score": 0.003795197233557701 } } } } }, "else": { "operation": "boost", "score": -0.006994909141212702 } } } }, "else": { "operation": "boost", "score": 0.019883031025528908 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.04696742817759514 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.006285178009420633 }, "else": { "operation": "boost", "score": -0.05459388718008995 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.050407033413648605 }, "else": { "operation": "boost", "score": -0.00021558637672569603 } }, "else": { "operation": "boost", "score": -0.05803660303354263 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.038995109498500824 }, "else": { "operation": "boost", "score": -0.011270103044807911 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.050395939499139786 }, "else": { "operation": "boost", "score": -0.015479492954909801 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.16081278026103973 }, "else": { "operation": "boost", "score": 0.0645519271492958 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.001522206817753613 }, "else": { "operation": "boost", "score": 0.0675654485821724 } } } }, "else": { "operation": "boost", "score": 0.02475220523774624 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.005512541625648737 }, "else": { "operation": "boost", "score": 0.08917877078056335 } }, "else": { "operation": "boost", "score": 0.04147406667470932 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04284908249974251 }, "else": { "operation": "boost", "score": 0.032251402735710144 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.041711218655109406 }, "else": { "operation": "boost", "score": -0.042301423847675323 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05081285163760185 }, "else": { "operation": "boost", "score": -0.04407394677400589 } } } } } }, "else": { "operation": "boost", "score": -0.0009412377257831395 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0036090330686420202 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.02602129429578781 }, "else": { "operation": "boost", "score": -0.13374567031860352 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.004318200517445803 }, "else": { "operation": "boost", "score": -0.056422699242830276 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03942409157752991 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.058722373098134995 }, "else": { "operation": "boost", "score": -0.15625980496406555 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022897345945239067 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.03083324432373047 }, "else": { "operation": "boost", "score": -0.014361321926116943 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03775356709957123 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0005754795856773853 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.06372461467981339 }, "else": { "operation": "boost", "score": 0.021785784512758255 } } } }, "else": { "operation": "boost", "score": 0.003668989287689328 } } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.01732724718749523 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.015788594260811806 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": 0.033242400735616684 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.14106066524982452 }, "else": { "operation": "boost", "score": 0.08398985862731934 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.030946029350161552 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.020811716094613075 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08723479509353638 }, "else": { "operation": "boost", "score": 0.04418351128697395 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.003286333754658699 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0013066353276371956 }, "else": { "operation": "boost", "score": 0.05592447519302368 } } }, "else": { "operation": "boost", "score": -0.007314735557883978 } } }, "else": { "operation": "boost", "score": -0.009769129566848278 } }, "else": { "operation": "boost", "score": 0.015035419724881649 } } } }, "else": { "operation": "boost", "score": -0.1519993245601654 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.07417259365320206 }, "else": { "operation": "boost", "score": -0.033236924558877945 } }, "else": { "operation": "boost", "score": -0.00011926521256100386 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07557827234268188 }, "else": { "operation": "boost", "score": -0.12226783484220505 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.031386636197566986 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13109450042247772 }, "else": { "operation": "boost", "score": 0.03430671989917755 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "boost", "score": 0.030015533789992332 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18807078897953033 }, "else": { "operation": "boost", "score": 0.006884966976940632 } }, "else": { "operation": "boost", "score": -0.04767272621393204 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0056999605149030685 }, "else": { "operation": "boost", "score": -0.07075788825750351 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009201224893331528 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.001777934841811657 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003004560014232993 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03339826688170433 }, "else": { "operation": "boost", "score": -0.08402875065803528 } } }, "else": { "operation": "boost", "score": -0.002369816182181239 } } } } }, "else": { "operation": "boost", "score": -0.05139691010117531 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001207019668072462 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8819444179534912, "then": { "operation": "boost", "score": -0.04786965996026993 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.119891457259655 }, "else": { "operation": "boost", "score": 0.09202414751052856 } }, "else": { "operation": "boost", "score": 0.016722584143280983 } } }, "else": { "operation": "boost", "score": -0.03700031712651253 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01729612611234188 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.04822220280766487 }, "else": { "operation": "boost", "score": 0.18848766386508942 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011358998715877533 }, "else": { "operation": "boost", "score": -0.12317875772714615 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0061157275922596455 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.06825108081102371 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4678.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4906.0, "then": { "operation": "boost", "score": 0.029549742117524147 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4889.0, "then": { "operation": "boost", "score": 0.13652774691581726 }, "else": { "operation": "boost", "score": 0.09916096180677414 } } }, "else": { "operation": "boost", "score": 0.007882173173129559 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.030600951984524727 }, "else": { "operation": "boost", "score": 0.06568203866481781 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04272192344069481 }, "else": { "operation": "boost", "score": 0.01921379752457142 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.22258400917053223 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.02824416384100914 }, "else": { "operation": "boost", "score": 0.09457843005657196 } } }, "else": { "operation": "boost", "score": -0.11274001002311707 } }, "else": { "operation": "boost", "score": 0.01865449734032154 } } }, "else": { "operation": "boost", "score": -0.014620053581893444 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.01891305111348629 }, "else": { "operation": "boost", "score": 0.007941552437841892 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.0, "then": { "operation": "boost", "score": -0.09507991373538971 }, "else": { "operation": "boost", "score": 0.12191399931907654 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03195019066333771 }, "else": { "operation": "boost", "score": -0.023226484656333923 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "boost", "score": 0.011989310383796692 }, "else": { "operation": "boost", "score": 0.11551351100206375 } }, "else": { "operation": "boost", "score": 0.004786317236721516 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.002169782994315028 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10443249344825745 }, "else": { "operation": "boost", "score": -0.10086487978696823 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.005932191852480173 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0014283645432442427 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.2045746147632599 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03593728318810463 }, "else": { "operation": "boost", "score": 0.12065327167510986 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08944530785083771 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02413085289299488 }, "else": { "operation": "boost", "score": 0.010492943227291107 } } } }, "else": { "operation": "boost", "score": -0.013141111470758915 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.13360927999019623 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027035420760512352 }, "else": { "operation": "boost", "score": 0.01568400114774704 } }, "else": { "operation": "boost", "score": 0.023970618844032288 } }, "else": { "operation": "boost", "score": -0.1289609968662262 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.06897823512554169 }, "else": { "operation": "boost", "score": -0.018152344971895218 } }, "else": { "operation": "boost", "score": -0.0027201937045902014 } } } } } } } } }, "else": { "operation": "boost", "score": -0.10864800214767456 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10174842923879623 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0585850290954113 }, "else": { "operation": "boost", "score": 0.13386985659599304 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 164855.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": 0.09782674908638 }, "else": { "operation": "boost", "score": 0.10080588608980179 } }, "else": { "operation": "boost", "score": 0.01333630084991455 } }, "else": { "operation": "boost", "score": 0.06161326915025711 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02464934252202511 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.004437899217009544 }, "else": { "operation": "boost", "score": 0.009832062758505344 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028826015070080757 }, "else": { "operation": "boost", "score": 0.042474448680877686 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.28803879022598267 }, "else": { "operation": "boost", "score": 0.06910491734743118 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.14032095670700073 }, "else": { "operation": "boost", "score": -0.03820032626390457 } }, "else": { "operation": "boost", "score": 0.011488661170005798 } }, "else": { "operation": "boost", "score": -0.04711653292179108 } }, "else": { "operation": "boost", "score": -0.007514883764088154 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05423593893647194 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.03967178985476494 }, "else": { "operation": "boost", "score": 0.08806394040584564 } }, "else": { "operation": "boost", "score": -0.016550812870264053 } }, "else": { "operation": "boost", "score": 0.022602157667279243 } }, "else": { "operation": "boost", "score": -0.023642495274543762 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.02121172472834587 }, "else": { "operation": "boost", "score": 0.0001257062394870445 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 179.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005380936432629824 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01836114190518856 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.022944170981645584 }, "else": { "operation": "boost", "score": -0.057674191892147064 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0010444365907460451 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.004472318105399609 }, "else": { "operation": "boost", "score": -0.00702136242762208 } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02501949481666088 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.05724178999662399 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.14007534086704254 }, "else": { "operation": "boost", "score": 0.04513125866651535 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.01115521602332592 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.10662500560283661 }, "else": { "operation": "boost", "score": 0.023373667150735855 } } }, "else": { "operation": "boost", "score": 0.14546489715576172 } }, "else": { "operation": "boost", "score": -0.015647171065211296 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6931818127632141, "then": { "operation": "boost", "score": 0.36156877875328064 }, "else": { "operation": "boost", "score": 0.10651465505361557 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12740568816661835 }, "else": { "operation": "boost", "score": -0.05194497108459473 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10835163295269012 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.13463707268238068 }, "else": { "operation": "boost", "score": 0.008939382620155811 } } } }, "else": { "operation": "boost", "score": -0.07565518468618393 } }, "else": { "operation": "boost", "score": 0.2150525599718094 } }, "else": { "operation": "boost", "score": 0.012445562519133091 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030553143471479416 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.059215035289525986 }, "else": { "operation": "boost", "score": 0.028277216479182243 } } } }, "else": { "operation": "boost", "score": 0.002894065575674176 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.020601915195584297 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04179996997117996 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.018125241622328758 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01435636542737484 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.01849564164876938 }, "else": { "operation": "boost", "score": 0.0001496284967288375 } } } }, "else": { "operation": "boost", "score": -0.08591709285974503 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219439.0, "then": { "operation": "boost", "score": -0.34099113941192627 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.08505307137966156 }, "else": { "operation": "boost", "score": -0.011619333177804947 } }, "else": { "operation": "boost", "score": 0.12161882221698761 } }, "else": { "operation": "boost", "score": 0.042852967977523804 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.031400881707668304 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09074851125478745 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.11111140996217728 }, "else": { "operation": "boost", "score": 0.22009101510047913 } }, "else": { "operation": "boost", "score": 0.052142299711704254 } }, "else": { "operation": "boost", "score": 0.05525876209139824 } }, "else": { "operation": "boost", "score": 0.030990561470389366 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05824709311127663 }, "else": { "operation": "boost", "score": 0.14047661423683167 } }, "else": { "operation": "boost", "score": 0.06554093956947327 } }, "else": { "operation": "boost", "score": 0.07235773652791977 } }, "else": { "operation": "boost", "score": 0.052743829786777496 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.03371331840753555 }, "else": { "operation": "boost", "score": 0.003169064410030842 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008729182183742523 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0005154531681910157 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.04871748015284538 }, "else": { "operation": "boost", "score": 0.12345577031373978 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04452107846736908 }, "else": { "operation": "boost", "score": 0.09830009192228317 } }, "else": { "operation": "boost", "score": -0.1869858354330063 } }, "else": { "operation": "boost", "score": 0.072381392121315 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.10962497442960739 }, "else": { "operation": "boost", "score": 0.030482254922389984 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.05366210639476776 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.030666198581457138 }, "else": { "operation": "boost", "score": 0.009450618177652359 } } } } } }, "else": { "operation": "boost", "score": -0.003646690398454666 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.010200856253504753 }, "else": { "operation": "boost", "score": -0.024829497560858727 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029379917308688164 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.06925887614488602 }, "else": { "operation": "boost", "score": -0.09588013589382172 } } }, "else": { "operation": "boost", "score": 0.010067205876111984 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03115040622651577 }, "else": { "operation": "boost", "score": -0.013862216845154762 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006884882692247629 }, "else": { "operation": "boost", "score": 0.007483551278710365 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.14105182886123657 }, "else": { "operation": "boost", "score": 0.034296903759241104 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.07073530554771423 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.0473887175321579 }, "else": { "operation": "boost", "score": -0.0007955495966598392 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.46241071820259094 }, "else": { "operation": "boost", "score": -0.06434502452611923 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0688990131020546 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.0, "then": { "operation": "boost", "score": 0.1410428136587143 }, "else": { "operation": "boost", "score": 0.10144384205341339 } } }, "else": { "operation": "boost", "score": 0.03778330981731415 } }, "else": { "operation": "boost", "score": 0.09863395988941193 } }, "else": { "operation": "boost", "score": 0.04159756749868393 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.013931548222899437 }, "else": { "operation": "boost", "score": -0.08051349967718124 } } } }, "else": { "operation": "boost", "score": 0.026148920878767967 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018727155402302742 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": 0.0010751566151157022 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08394336700439453 }, "else": { "operation": "boost", "score": -0.007793457247316837 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.009605399332940578 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.044094666838645935 }, "else": { "operation": "boost", "score": 0.1032668948173523 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.33562615513801575 }, "else": { "operation": "boost", "score": 0.13087333738803864 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.23244701325893402 }, "else": { "operation": "boost", "score": 0.016893090680241585 } } }, "else": { "operation": "boost", "score": -0.07679757475852966 } } }, "else": { "operation": "boost", "score": -0.02329990267753601 } } }, "else": { "operation": "boost", "score": -0.004985510837286711 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0913430005311966 }, "else": { "operation": "boost", "score": 0.013786458410322666 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02318853698670864 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.004868409130722284 }, "else": { "operation": "boost", "score": 0.009626702405512333 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.013285081833600998 }, "else": { "operation": "boost", "score": -0.0013579309452325106 } }, "else": { "operation": "boost", "score": -0.10873707383871078 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.08668377995491028 }, "else": { "operation": "boost", "score": 0.02587977424263954 } }, "else": { "operation": "boost", "score": 0.022641262039542198 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 284274.5, "then": { "operation": "boost", "score": 0.031211649999022484 }, "else": { "operation": "boost", "score": 0.09470801055431366 } }, "else": { "operation": "boost", "score": 0.02343027852475643 } } }, "else": { "operation": "boost", "score": 0.006649862974882126 } }, "else": { "operation": "boost", "score": 0.0001552869944134727 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.030863862484693527 }, "else": { "operation": "boost", "score": -0.0495726615190506 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8506.0, "then": { "operation": "boost", "score": 0.03008180856704712 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.0734473392367363 }, "else": { "operation": "boost", "score": 0.013931278139352798 } }, "else": { "operation": "boost", "score": 0.005430974066257477 } }, "else": { "operation": "boost", "score": -0.10284116864204407 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.012732000090181828 }, "else": { "operation": "boost", "score": -0.006066375412046909 } } } } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0287431962788105 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.27369052171707153 }, "else": { "operation": "boost", "score": 0.012578320689499378 } }, "else": { "operation": "boost", "score": -0.036934759467840195 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.077614925801754 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.16296909749507904 }, "else": { "operation": "boost", "score": 0.0447511151432991 } }, "else": { "operation": "boost", "score": 0.03483371064066887 } } }, "else": { "operation": "boost", "score": 0.008094174787402153 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0754176452755928 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.06666435301303864 }, "else": { "operation": "boost", "score": 0.10455463081598282 } }, "else": { "operation": "boost", "score": 0.006183510646224022 } }, "else": { "operation": "boost", "score": 0.03028133139014244 } }, "else": { "operation": "boost", "score": 0.0063949935138225555 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.005853250622749329 }, "else": { "operation": "boost", "score": 0.1592935472726822 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "boost", "score": 0.041103314608335495 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "boost", "score": 0.14198297262191772 }, "else": { "operation": "boost", "score": 0.07285614311695099 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 305388.5, "then": { "operation": "boost", "score": -0.052955929189920425 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018744727596640587 }, "else": { "operation": "boost", "score": -0.44789424538612366 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 5.273303031572141e-05 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -6.111132825026289e-05 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018588604405522346 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.022960403934121132 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19801150262355804 }, "else": { "operation": "boost", "score": -0.008098652586340904 } } }, "else": { "operation": "boost", "score": -0.00519915483891964 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.02190319262444973 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.009391742758452892 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.040039677172899246 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.03595365211367607 }, "else": { "operation": "boost", "score": 0.07352925837039948 } }, "else": { "operation": "boost", "score": -0.021592773497104645 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "boost", "score": -0.01834196038544178 }, "else": { "operation": "boost", "score": 0.009415137581527233 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04021640494465828 }, "else": { "operation": "boost", "score": 0.012036727741360664 } }, "else": { "operation": "boost", "score": -0.023534663021564484 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.002473287982866168 }, "else": { "operation": "boost", "score": 0.05441373959183693 } }, "else": { "operation": "boost", "score": -0.11388997733592987 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.16366060078144073 }, "else": { "operation": "boost", "score": 0.04946333169937134 } } }, "else": { "operation": "boost", "score": -0.10093981772661209 } }, "else": { "operation": "boost", "score": 0.05563390254974365 } }, "else": { "operation": "boost", "score": 0.014450070448219776 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.11616449058055878 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.08213617652654648 }, "else": { "operation": "boost", "score": -0.021765049546957016 } }, "else": { "operation": "boost", "score": 0.1201106607913971 } }, "else": { "operation": "boost", "score": 0.036832429468631744 } }, "else": { "operation": "boost", "score": 0.0051327915862202644 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.051339518278837204 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.029978057369589806 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.055055733770132065 }, "else": { "operation": "boost", "score": 0.008972829207777977 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1059308648109436 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.016252435743808746 }, "else": { "operation": "boost", "score": 0.04909256473183632 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.00041898590279743075 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.05169650539755821 }, "else": { "operation": "boost", "score": 0.15318997204303741 } } } } }, "else": { "operation": "boost", "score": 0.001835957053117454 } }, "else": { "operation": "boost", "score": -0.04698794707655907 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41421568393707275, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.3141418993473053 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11684510856866837 }, "else": { "operation": "boost", "score": 0.12980735301971436 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.10154279321432114 }, "else": { "operation": "boost", "score": 0.05671226978302002 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10412836074829102 }, "else": { "operation": "boost", "score": -0.11542295664548874 } }, "else": { "operation": "boost", "score": 0.1058596819639206 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07036279141902924 }, "else": { "operation": "boost", "score": 0.14067880809307098 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.014111923985183239 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10521619021892548 }, "else": { "operation": "boost", "score": 0.03697112202644348 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09871667623519897 }, "else": { "operation": "boost", "score": 0.12677238881587982 } }, "else": { "operation": "boost", "score": -0.2504003345966339 } }, "else": { "operation": "boost", "score": 0.08724918961524963 } } } }, "else": { "operation": "boost", "score": 0.009727605618536472 } } } }, "else": { "operation": "boost", "score": -0.10267875343561172 } }, "else": { "operation": "boost", "score": 0.016646046191453934 } }, "else": { "operation": "boost", "score": 0.008709842339158058 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06766953319311142 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.10970107465982437 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04889073967933655 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030914850533008575 }, "else": { "operation": "boost", "score": 0.018839092925190926 } } }, "else": { "operation": "boost", "score": -0.012657486833631992 } } }, "else": { "operation": "boost", "score": 0.02885681577026844 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10420223325490952 }, "else": { "operation": "boost", "score": -0.1391560435295105 } }, "else": { "operation": "boost", "score": -0.011816535145044327 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.031239312142133713 }, "else": { "operation": "boost", "score": -0.05413823202252388 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06529580056667328 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11270277202129364 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.011174716055393219 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.02021077275276184 }, "else": { "operation": "boost", "score": 0.02587432600557804 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05416381359100342 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09279248863458633 }, "else": { "operation": "boost", "score": 0.05027761310338974 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03180178254842758 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03777040168642998 }, "else": { "operation": "boost", "score": -0.042264483869075775 } } } }, "else": { "operation": "boost", "score": -0.000307566428091377 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0028530689887702465 }, "else": { "operation": "boost", "score": -0.04849061742424965 } }, "else": { "operation": "boost", "score": 0.0018339904490858316 } } } } } }, "else": { "operation": "boost", "score": -0.012899116612970829 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04058610647916794 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.012484870851039886 }, "else": { "operation": "boost", "score": 0.035929467529058456 } }, "else": { "operation": "boost", "score": -0.0041884249076247215 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07276234775781631 }, "else": { "operation": "boost", "score": 0.025512108579277992 } }, "else": { "operation": "boost", "score": 0.009065148420631886 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.008755907416343689 }, "else": { "operation": "boost", "score": -0.012521952390670776 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.012061062268912792 }, "else": { "operation": "boost", "score": -0.06188279390335083 } }, "else": { "operation": "boost", "score": 0.5883225798606873 } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.02259867452085018 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.027721155434846878 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.008835120126605034 }, "else": { "operation": "boost", "score": -0.06778721511363983 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.031069176271557808 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11496682465076447 }, "else": { "operation": "boost", "score": 0.06899039447307587 } } }, "else": { "operation": "boost", "score": 0.02189423143863678 } }, "else": { "operation": "boost", "score": 0.00888303853571415 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.008500328287482262 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08851335197687149 }, "else": { "operation": "boost", "score": 0.13455833494663239 } }, "else": { "operation": "boost", "score": 0.019147392362356186 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": -0.14592330157756805 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.060935989022254944 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2545028328895569 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.07550366967916489 }, "else": { "operation": "boost", "score": 0.1348617672920227 } }, "else": { "operation": "boost", "score": -1.1006075143814087 } }, "else": { "operation": "boost", "score": 0.018542708829045296 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1536838710308075 }, "else": { "operation": "boost", "score": -0.03635311871767044 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.06476243585348129 }, "else": { "operation": "boost", "score": -0.012881585396826267 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -1.0179097652435303 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10692787915468216 }, "else": { "operation": "boost", "score": -0.03214125335216522 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -0.050025176256895065 }, "else": { "operation": "boost", "score": -0.0002493478241376579 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021352669224143028 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001295138499699533 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0932910218834877 }, "else": { "operation": "boost", "score": 0.036946851760149 } }, "else": { "operation": "boost", "score": 0.006786986254155636 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": 0.12927474081516266 }, "else": { "operation": "boost", "score": -0.09045977890491486 } }, "else": { "operation": "boost", "score": -0.004187775310128927 } }, "else": { "operation": "boost", "score": 0.047004327178001404 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.026497047394514084 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.015796368941664696 }, "else": { "operation": "boost", "score": -0.035987488925457 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0019932882860302925 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04400884360074997 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.08802050352096558 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.005560129415243864 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.10131369531154633 }, "else": { "operation": "boost", "score": 0.17226101458072662 } } } }, "else": { "operation": "boost", "score": -0.14636799693107605 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06731349974870682 }, "else": { "operation": "boost", "score": -0.23850344121456146 } } }, "else": { "operation": "boost", "score": 0.008295300416648388 } } } } } }, "else": { "operation": "boost", "score": -0.09422214329242706 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03224068135023117 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.010167698375880718 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.0016504661180078983 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.06889712065458298 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07525892555713654 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.06281174719333649 }, "else": { "operation": "boost", "score": -0.2754988372325897 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08074560761451721 }, "else": { "operation": "boost", "score": -0.10064353793859482 } } }, "else": { "operation": "boost", "score": 0.01097889058291912 } }, "else": { "operation": "boost", "score": -0.006860444322228432 } } } }, "else": { "operation": "boost", "score": -0.009446886368095875 } } } }, "else": { "operation": "boost", "score": 0.11122811585664749 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 443558.5, "then": { "operation": "boost", "score": 0.05507505685091019 }, "else": { "operation": "boost", "score": 0.0021736633498221636 } } }, "else": { "operation": "boost", "score": -0.10652047395706177 } } }, "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_ClassStructUnion", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105661.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212623.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "boost", "score": 0.030356992036104202 }, "else": { "operation": "boost", "score": -0.1784844845533371 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.09903764724731445 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148760.5, "then": { "operation": "boost", "score": 0.1194014623761177 }, "else": { "operation": "boost", "score": 0.245758056640625 } } }, "else": { "operation": "boost", "score": 0.05272378772497177 } }, "else": { "operation": "boost", "score": 0.03359503298997879 } } }, "else": { "operation": "boost", "score": -0.00920926220715046 } }, "else": { "operation": "boost", "score": 0.05964316055178642 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005135675426572561 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.08958058059215546 }, "else": { "operation": "boost", "score": -0.062471579760313034 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98110.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "boost", "score": 0.1253684163093567 }, "else": { "operation": "boost", "score": -0.0010431889677420259 } }, "else": { "operation": "boost", "score": 0.12375367432832718 } }, "else": { "operation": "boost", "score": 0.003347752382978797 } }, "else": { "operation": "boost", "score": -0.26703983545303345 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10017462819814682 }, "else": { "operation": "boost", "score": -0.2171567678451538 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.00615523150190711 }, "else": { "operation": "boost", "score": 0.011592968367040157 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 177.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 95499.0, "then": { "operation": "boost", "score": -0.17308039963245392 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93746.0, "then": { "operation": "boost", "score": 0.12659890949726105 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92754.0, "then": { "operation": "boost", "score": -0.17595823109149933 }, "else": { "operation": "boost", "score": 0.01118648611009121 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008535140193998814 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.02468111738562584 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0029043867252767086 }, "else": { "operation": "boost", "score": -0.06448348611593246 } }, "else": { "operation": "boost", "score": 0.00380739220418036 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.056593701243400574 }, "else": { "operation": "boost", "score": -0.03677191212773323 } }, "else": { "operation": "boost", "score": -0.1186760887503624 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.02051510103046894 }, "else": { "operation": "boost", "score": 0.10237827152013779 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06746775656938553 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.7177134156227112 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.11097671091556549 }, "else": { "operation": "boost", "score": 0.14293570816516876 } }, "else": { "operation": "boost", "score": 0.13056643307209015 } }, "else": { "operation": "boost", "score": 0.011540954932570457 } }, "else": { "operation": "boost", "score": -0.008611688390374184 } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2584359049797058 }, "else": { "operation": "boost", "score": 0.019099876284599304 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.043848875910043716 }, "else": { "operation": "boost", "score": 0.08571508526802063 } }, "else": { "operation": "boost", "score": 0.04539719223976135 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.001280908240005374 }, "else": { "operation": "boost", "score": 0.36976486444473267 } } } }, "else": { "operation": "boost", "score": 0.0053887758404016495 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11082833260297775 }, "else": { "operation": "boost", "score": -0.0701591968536377 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.012851305305957794 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.018287163227796555 }, "else": { "operation": "boost", "score": -0.07012919336557388 } } }, "else": { "operation": "boost", "score": -0.00607087230309844 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1019224300980568 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.00852784514427185 }, "else": { "operation": "boost", "score": 0.06424903869628906 } } }, "else": { "operation": "boost", "score": -0.005277651362121105 } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03050772286951542 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.01768592931330204 }, "else": { "operation": "boost", "score": -0.08065760880708694 } } }, "else": { "operation": "boost", "score": 0.016490411013364792 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0035329663660377264 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8322.5, "then": { "operation": "boost", "score": -0.23328797519207 }, "else": { "operation": "boost", "score": -0.041329484432935715 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.004006099421530962 }, "else": { "operation": "boost", "score": -0.042231932282447815 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.06605341285467148 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017643630504608154 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.10927987843751907 }, "else": { "operation": "boost", "score": -0.0712246522307396 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029256649315357208 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.14099855720996857 }, "else": { "operation": "boost", "score": 0.06923581659793854 } } }, "else": { "operation": "boost", "score": 0.00584561750292778 } }, "else": { "operation": "boost", "score": 0.10725107043981552 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.8504762649536133 }, "else": { "operation": "boost", "score": 0.06484037637710571 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027806356549263 }, "else": { "operation": "boost", "score": -0.00807760376483202 } } }, "else": { "operation": "boost", "score": -0.04963718354701996 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.0, "then": { "operation": "boost", "score": 0.05834672227501869 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.22609694302082062 }, "else": { "operation": "boost", "score": 0.05582265928387642 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03971102833747864 }, "else": { "operation": "boost", "score": -0.01617267169058323 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.0371045283973217 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.00633340934291482 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.047449685633182526 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09575732797384262 }, "else": { "operation": "boost", "score": -0.7253004312515259 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.0, "then": { "operation": "boost", "score": 0.11238162219524384 }, "else": { "operation": "boost", "score": 0.1190069168806076 } }, "else": { "operation": "boost", "score": 0.018561966717243195 } } }, "else": { "operation": "boost", "score": 0.00795654021203518 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.675000011920929, "then": { "operation": "boost", "score": -1.503665804862976 }, "else": { "operation": "boost", "score": 0.06221460923552513 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.06603088229894638 }, "else": { "operation": "boost", "score": -0.06276480853557587 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.006627410184592009 }, "else": { "operation": "boost", "score": 0.04633393883705139 } }, "else": { "operation": "boost", "score": -0.041940558701753616 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281464.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04640227183699608 }, "else": { "operation": "boost", "score": -0.18287669122219086 } }, "else": { "operation": "boost", "score": 0.012234300374984741 } }, "else": { "operation": "boost", "score": -0.00019551867444533855 } }, "else": { "operation": "boost", "score": 0.04693283513188362 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34039.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69581.5, "then": { "operation": "boost", "score": 0.028761498630046844 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64123.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.4347483813762665 }, "else": { "operation": "boost", "score": -0.1333942413330078 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05001409351825714 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": -0.004875146318227053 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.06745079159736633 }, "else": { "operation": "boost", "score": 0.11508582532405853 } }, "else": { "operation": "boost", "score": -0.10176660865545273 } } } } } }, "else": { "operation": "boost", "score": -0.11351057887077332 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.09599698334932327 }, "else": { "operation": "boost", "score": 0.050444457679986954 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.14475366473197937 }, "else": { "operation": "boost", "score": 0.10025106370449066 } }, "else": { "operation": "boost", "score": 0.0845475047826767 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0655534565448761 }, "else": { "operation": "boost", "score": -0.06090891733765602 } } } }, "else": { "operation": "boost", "score": 0.14315585792064667 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30389.0, "then": { "operation": "boost", "score": -0.04525703191757202 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27602.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28251.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12439364939928055 }, "else": { "operation": "boost", "score": 0.0016626229044049978 } }, "else": { "operation": "boost", "score": 0.1220279112458229 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10884043574333191 }, "else": { "operation": "boost", "score": -0.034552477300167084 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006423346698284149 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13145111501216888 }, "else": { "operation": "boost", "score": 0.10903574526309967 } }, "else": { "operation": "boost", "score": 0.10520049929618835 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.13922041654586792 }, "else": { "operation": "boost", "score": 0.10324269533157349 } }, "else": { "operation": "boost", "score": 0.08739427477121353 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19420255720615387 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23685.0, "then": { "operation": "boost", "score": -0.2001335471868515 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02912597730755806 }, "else": { "operation": "boost", "score": 0.010387470945715904 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03982849419116974 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.05726732686161995 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.009202924557030201 }, "else": { "operation": "boost", "score": -0.20243114233016968 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.009334837086498737 }, "else": { "operation": "boost", "score": 0.08059608936309814 } }, "else": { "operation": "boost", "score": -0.038527555763721466 } }, "else": { "operation": "boost", "score": 0.008418635465204716 } }, "else": { "operation": "boost", "score": -0.06759187579154968 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.04291282594203949 }, "else": { "operation": "boost", "score": -0.011593934148550034 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09024184197187424 }, "else": { "operation": "boost", "score": 0.009244048036634922 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.02357977069914341 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01983397826552391 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.017989544197916985 }, "else": { "operation": "boost", "score": 0.014662530273199081 } }, "else": { "operation": "boost", "score": -0.009959799237549305 } } }, "else": { "operation": "boost", "score": -0.0027858742978423834 } }, "else": { "operation": "boost", "score": 0.002779860282316804 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "boost", "score": 0.003111344063654542 }, "else": { "operation": "boost", "score": -0.002819733927026391 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01952856034040451 }, "else": { "operation": "boost", "score": -0.033757418394088745 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.013257818296551704 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014173523522913456 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.741658091545105 }, "else": { "operation": "boost", "score": -0.060599155724048615 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.16233943402767181 }, "else": { "operation": "boost", "score": 0.04676531255245209 } }, "else": { "operation": "boost", "score": 0.014803607016801834 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.013907641172409058 }, "else": { "operation": "boost", "score": 0.14588254690170288 } }, "else": { "operation": "boost", "score": -0.08096592873334885 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.16877470910549164 }, "else": { "operation": "boost", "score": 0.07977107912302017 } }, "else": { "operation": "boost", "score": 0.03233574330806732 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09853562712669373 }, "else": { "operation": "boost", "score": -0.005709023214876652 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03394646570086479 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.003104310715571046 }, "else": { "operation": "boost", "score": 0.02140156552195549 } } }, "else": { "operation": "boost", "score": 0.0010968983406201005 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "boost", "score": 0.20321063697338104 }, "else": { "operation": "boost", "score": -0.31455761194229126 } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027416806668043137 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09684915095567703 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.07523422688245773 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08546628803014755 }, "else": { "operation": "boost", "score": 0.027023743838071823 } } }, "else": { "operation": "boost", "score": 0.00849141739308834 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06682749092578888 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09271757304668427 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 66.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0634288415312767 }, "else": { "operation": "boost", "score": 0.10182081907987595 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.0018685113172978163 }, "else": { "operation": "boost", "score": 0.050727616995573044 } }, "else": { "operation": "boost", "score": -0.09205795079469681 } } }, "else": { "operation": "boost", "score": 0.027666712179780006 } }, "else": { "operation": "boost", "score": 0.006289143580943346 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0014965091831982136 }, "else": { "operation": "boost", "score": -0.050149932503700256 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20068.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "boost", "score": 0.038105469197034836 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "boost", "score": 0.13679583370685577 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23670.0, "then": { "operation": "boost", "score": -0.1867942214012146 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23608.0, "then": { "operation": "boost", "score": 0.11639399081468582 }, "else": { "operation": "boost", "score": 0.08170301467180252 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 305388.5, "then": { "operation": "boost", "score": -0.04495999962091446 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31292.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32026.0, "then": { "operation": "boost", "score": 0.018854398280382156 }, "else": { "operation": "boost", "score": 0.11976706981658936 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22174.0, "then": { "operation": "boost", "score": -0.06325392425060272 }, "else": { "operation": "boost", "score": 0.07455262541770935 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.19750411808490753 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.021675029769539833 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.055727556347846985, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.05482390895485878 }, "else": { "operation": "boost", "score": 0.13575251400470734 } }, "else": { "operation": "boost", "score": 0.05602092295885086 } }, "else": { "operation": "boost", "score": 0.03927094489336014 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05985524132847786 }, "else": { "operation": "boost", "score": -0.18092148005962372 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -5.6181153922807425e-05 }, "else": { "operation": "boost", "score": -0.08914448320865631 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.01990555413067341 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.022361399605870247 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.043349117040634155 }, "else": { "operation": "boost", "score": 0.007976497523486614 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.010883591137826443 }, "else": { "operation": "boost", "score": 0.03716646879911423 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.026897160336375237 }, "else": { "operation": "boost", "score": -0.013004312291741371 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.020300550386309624 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.028049595654010773 }, "else": { "operation": "boost", "score": -0.16015243530273438 } }, "else": { "operation": "boost", "score": -0.002584183355793357 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008613122627139091 }, "else": { "operation": "boost", "score": -0.05740050971508026 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41421568393707275, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5727273225784302, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.0, "then": { "operation": "boost", "score": 0.13146771490573883 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029627803713083267 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6833333373069763, "then": { "operation": "boost", "score": 0.08514173328876495 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07719288766384125 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.12358830124139786 }, "else": { "operation": "boost", "score": 0.10087648034095764 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0990917906165123 }, "else": { "operation": "boost", "score": -0.09615065157413483 } }, "else": { "operation": "boost", "score": 0.09843943268060684 } } }, "else": { "operation": "boost", "score": -0.14976198971271515 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0393402986228466 }, "else": { "operation": "boost", "score": -0.0980946496129036 } } }, "else": { "operation": "boost", "score": 0.016088731586933136 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45618.0, "then": { "operation": "boost", "score": -0.15990397334098816 }, "else": { "operation": "boost", "score": 0.00953617226332426 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28296.5, "then": { "operation": "boost", "score": -0.02894885092973709 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0034562605433166027 }, "else": { "operation": "boost", "score": -0.022457623854279518 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 767.5, "then": { "operation": "boost", "score": -0.059970129281282425 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 747.5, "then": { "operation": "boost", "score": 0.4002256393432617 }, "else": { "operation": "boost", "score": 0.03660227730870247 } } }, "else": { "operation": "boost", "score": -0.02537819929420948 } }, "else": { "operation": "boost", "score": 0.004678755067288876 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01575971581041813 }, "else": { "operation": "boost", "score": -0.07314224541187286 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296.5, "then": { "operation": "boost", "score": 0.02588023990392685 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.25790467858314514 }, "else": { "operation": "boost", "score": 0.075019471347332 } }, "else": { "operation": "boost", "score": -0.03636186942458153 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03342912718653679 }, "else": { "operation": "boost", "score": -0.024053171277046204 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0030767356511205435 }, "else": { "operation": "boost", "score": 0.04504862427711487 } }, "else": { "operation": "boost", "score": -0.03255371376872063 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07594702392816544 }, "else": { "operation": "boost", "score": 0.010258487425744534 } }, "else": { "operation": "boost", "score": -0.0056367190554738045 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.12225360423326492 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -1.1872715950012207 }, "else": { "operation": "boost", "score": -0.1114472970366478 } }, "else": { "operation": "boost", "score": 0.023987608030438423 } } }, "else": { "operation": "boost", "score": -0.21539179980754852 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2360.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 275328.5, "then": { "operation": "boost", "score": 0.023634983226656914 }, "else": { "operation": "boost", "score": -0.1348223090171814 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205376.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "boost", "score": 0.07675979286432266 }, "else": { "operation": "boost", "score": 0.006209371145814657 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.11596444994211197 }, "else": { "operation": "boost", "score": 0.06799785792827606 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82959.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105661.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 146885.0, "then": { "operation": "boost", "score": -0.24692372977733612 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120524.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.09729256480932236 }, "else": { "operation": "boost", "score": 0.2574633061885834 } }, "else": { "operation": "boost", "score": 0.08314071595668793 } }, "else": { "operation": "boost", "score": -0.06641971319913864 } } }, "else": { "operation": "boost", "score": -0.008381547406315804 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93657.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09332183748483658 }, "else": { "operation": "boost", "score": -0.0829242393374443 } }, "else": { "operation": "boost", "score": 0.05369029939174652 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07541248202323914 }, "else": { "operation": "boost", "score": -0.007618836592882872 } } } }, "else": { "operation": "boost", "score": 0.022652875632047653 } } } }, "else": { "operation": "boost", "score": 0.3148078918457031 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52728.5, "then": { "operation": "boost", "score": -0.034542717039585114 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.14958572387695312 }, "else": { "operation": "boost", "score": 0.08107807487249374 } }, "else": { "operation": "boost", "score": -0.001080815796740353 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": -0.18510372936725616 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17653732001781464 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06934139132499695 }, "else": { "operation": "boost", "score": -0.14906372129917145 } } }, "else": { "operation": "boost", "score": -0.0014113072538748384 } } }, "else": { "operation": "boost", "score": -0.10846714675426483 } } }, "else": { "operation": "boost", "score": 0.014816807582974434 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.012966041453182697 }, "else": { "operation": "boost", "score": 0.010160339996218681 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.0008365457179024816 }, "else": { "operation": "boost", "score": -0.006827930919826031 } } } }, "else": { "operation": "boost", "score": 0.18072214722633362 } } } }, { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.007949513383209705 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1277008205652237 }, "else": { "operation": "boost", "score": 0.04797273501753807 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23635819554328918 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05829544737935066 }, "else": { "operation": "boost", "score": 0.01362394168972969 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05407016724348068 }, "else": { "operation": "boost", "score": 0.023092882707715034 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": -0.01770889200270176 }, "else": { "operation": "boost", "score": 0.011486397124826908 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.04759044572710991 }, "else": { "operation": "boost", "score": 0.0013032727874815464 } }, "else": { "operation": "boost", "score": 0.1027960404753685 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01165702473372221 }, "else": { "operation": "boost", "score": -0.034171730279922485 } } }, "else": { "operation": "boost", "score": 0.007211220450699329 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.035632263869047165 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11888.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12127.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.2198020964860916 }, "else": { "operation": "boost", "score": -0.0033282481599599123 } }, "else": { "operation": "boost", "score": 0.040046803653240204 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.12933683395385742 }, "else": { "operation": "boost", "score": 0.1632569134235382 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11365.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.17365705966949463 }, "else": { "operation": "boost", "score": -0.46834924817085266 } }, "else": { "operation": "boost", "score": 0.004446706734597683 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.019715458154678345 }, "else": { "operation": "boost", "score": 0.004586603958159685 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.035746511071920395 }, "else": { "operation": "boost", "score": -0.010687639005482197 } }, "else": { "operation": "boost", "score": 0.004823196213692427 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.02137056365609169 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.21275509893894196 }, "else": { "operation": "boost", "score": 0.06080184504389763 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.02639971487224102 }, "else": { "operation": "boost", "score": -0.18007881939411163 } } }, "else": { "operation": "boost", "score": -0.0017523706192150712 } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31804.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44616.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.06156519427895546 }, "else": { "operation": "boost", "score": -0.05584423243999481 } }, "else": { "operation": "boost", "score": 0.08388206362724304 } }, "else": { "operation": "boost", "score": -0.04248563572764397 } }, "else": { "operation": "boost", "score": 0.09013888239860535 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.020407386124134064 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.010718626901507378 }, "else": { "operation": "boost", "score": 0.009542739950120449 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024497995153069496 }, "else": { "operation": "boost", "score": -0.022821582853794098 } }, "else": { "operation": "boost", "score": -0.0066405488178133965 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.06487032771110535 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.025691328570246696 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.298102468252182 }, "else": { "operation": "boost", "score": 0.06974883377552032 } } }, "else": { "operation": "boost", "score": -0.03891346603631973 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09221746772527695 }, "else": { "operation": "boost", "score": 0.05915237218141556 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.050126343965530396 }, "else": { "operation": "boost", "score": 0.03668008744716644 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.06745707988739014 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212623.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.07735917717218399 }, "else": { "operation": "boost", "score": 0.01661098189651966 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -1.2643908262252808 }, "else": { "operation": "boost", "score": -0.10724736750125885 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 206450.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07411736249923706 }, "else": { "operation": "boost", "score": 0.03218565881252289 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": -0.16371774673461914 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08289399743080139 }, "else": { "operation": "boost", "score": 0.07651253789663315 } }, "else": { "operation": "boost", "score": -0.13071845471858978 } } }, "else": { "operation": "boost", "score": -0.0309059489518404 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.1154707819223404 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": 0.1310962736606598 }, "else": { "operation": "boost", "score": 0.08327198028564453 } }, "else": { "operation": "boost", "score": 0.01361667737364769 } }, "else": { "operation": "boost", "score": -0.19648417830467224 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159339.0, "then": { "operation": "boost", "score": -0.19805808365345 }, "else": { "operation": "boost", "score": -0.006633158307522535 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "boost", "score": 0.029887618497014046 }, "else": { "operation": "boost", "score": 0.005418163258582354 } }, "else": { "operation": "boost", "score": -0.0002581348526291549 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 249.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 252.5, "then": { "operation": "boost", "score": -0.005010206252336502 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.6691856980323792 }, "else": { "operation": "boost", "score": -0.3054352402687073 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18751.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "boost", "score": 0.02058609202504158 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.13218098878860474 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08954524248838425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19388.5, "then": { "operation": "boost", "score": 0.17558102309703827 }, "else": { "operation": "boost", "score": -0.1100204810500145 } }, "else": { "operation": "boost", "score": 0.11238517612218857 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.09567487239837646 }, "else": { "operation": "boost", "score": 0.02206784300506115 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.011354969814419746 }, "else": { "operation": "boost", "score": 0.021809201687574387 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.005824567750096321 }, "else": { "operation": "boost", "score": 0.0842382088303566 } }, "else": { "operation": "boost", "score": -0.042061947286129 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0010924666421487927 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04129716753959656 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.06922069936990738 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.7815695405006409 }, "else": { "operation": "boost", "score": -0.09838173538446426 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04786424711346626 }, "else": { "operation": "boost", "score": 0.0300071369856596 } } }, "else": { "operation": "boost", "score": -0.02864576317369938 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09766903519630432 }, "else": { "operation": "boost", "score": 0.009084484539926052 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07734659314155579 }, "else": { "operation": "boost", "score": 0.02761908993124962 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.04476485401391983 }, "else": { "operation": "boost", "score": 0.23955141007900238 } }, "else": { "operation": "boost", "score": 0.0010180105455219746 } }, "else": { "operation": "boost", "score": -0.08252322673797607 } }, "else": { "operation": "boost", "score": 0.020410750061273575 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.026341356337070465 }, "else": { "operation": "boost", "score": 0.014306494034826756 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.048666853457689285 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0022918609902262688 }, "else": { "operation": "boost", "score": -0.05951560661196709 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.048805493861436844 }, "else": { "operation": "boost", "score": 0.0522710382938385 } } } } }, "else": { "operation": "boost", "score": -0.007207246031612158 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.004277938045561314 }, "else": { "operation": "boost", "score": -0.17551691830158234 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.25159549713134766 }, "else": { "operation": "boost", "score": 0.08441146463155746 } }, "else": { "operation": "boost", "score": -0.10293897986412048 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.023236047476530075 }, "else": { "operation": "boost", "score": -0.10748805850744247 } } } }, "else": { "operation": "boost", "score": -0.024151166900992393 } } } } } }, "else": { "operation": "boost", "score": 0.17851263284683228 } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.012204686179757118 }, "else": { "operation": "boost", "score": -0.14764481782913208 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.0189859326928854 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.03659095987677574 }, "else": { "operation": "boost", "score": 0.0387859046459198 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.07224271446466446 }, "else": { "operation": "boost", "score": -0.19821158051490784 } }, "else": { "operation": "boost", "score": 0.01488487422466278 } } }, "else": { "operation": "boost", "score": 0.02172056958079338 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.10461415350437164 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029377182945609093 }, "else": { "operation": "boost", "score": 0.006648014299571514 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.08012118190526962 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.009531931020319462 }, "else": { "operation": "boost", "score": -0.041276197880506516 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.003991343080997467 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04933987557888031 }, "else": { "operation": "boost", "score": -0.05903225392103195 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.01656860113143921 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07274428755044937 }, "else": { "operation": "boost", "score": -0.24828746914863586 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7636363506317139, "then": { "operation": "boost", "score": 0.17006327211856842 }, "else": { "operation": "boost", "score": -0.12452608346939087 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.02096804976463318 }, "else": { "operation": "boost", "score": -0.003408993361517787 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0662168338894844 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.011334008537232876 }, "else": { "operation": "boost", "score": -0.02343798615038395 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07946357876062393 }, "else": { "operation": "boost", "score": -0.13293226063251495 } }, "else": { "operation": "boost", "score": -0.007495576981455088 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02144555002450943 }, "else": { "operation": "boost", "score": -0.0284926425665617 } } }, "else": { "operation": "boost", "score": -0.026207756251096725 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.059029314666986465 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.06955432146787643 }, "else": { "operation": "boost", "score": 0.11581505835056305 } } }, "else": { "operation": "boost", "score": 0.02609059028327465 } }, "else": { "operation": "boost", "score": -0.038145873695611954 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.05770185589790344 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04445447400212288 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 533966.0, "then": { "operation": "boost", "score": -0.670333743095398 }, "else": { "operation": "boost", "score": -0.10832076519727707 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.0, "then": { "operation": "boost", "score": 0.05429450422525406 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.22961674630641937 }, "else": { "operation": "boost", "score": -0.10202611982822418 } }, "else": { "operation": "boost", "score": 0.031752973794937134 } }, "else": { "operation": "boost", "score": -0.021324053406715393 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.034454431384801865 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0074679856188595295 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.03778444975614548 }, "else": { "operation": "boost", "score": 0.018049612641334534 } }, "else": { "operation": "boost", "score": -0.04071967303752899 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06250077486038208 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.2663700580596924 }, "else": { "operation": "boost", "score": 0.14716219902038574 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.1855749785900116 }, "else": { "operation": "boost", "score": 0.07839792966842651 } } } }, "else": { "operation": "boost", "score": 0.026241229847073555 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03121960535645485 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02253161370754242 }, "else": { "operation": "boost", "score": 0.016190743073821068 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.043692708015441895 }, "else": { "operation": "boost", "score": 0.01564497873187065 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.022863171994686127 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.011415638960897923 }, "else": { "operation": "boost", "score": 0.07915069162845612 } } }, "else": { "operation": "boost", "score": -0.0005204575136303902 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.006749980617314577 }, "else": { "operation": "boost", "score": -0.005124207586050034 } }, "else": { "operation": "boost", "score": -0.050546303391456604 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05079220235347748 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02359752357006073 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09910125285387039 }, "else": { "operation": "boost", "score": 0.0009034452377818525 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.039230771362781525, "then": { "operation": "boost", "score": 0.0004620076797436923 }, "else": { "operation": "boost", "score": 0.42525744438171387 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03698568791151047 }, "else": { "operation": "boost", "score": -0.012185383588075638 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.006348934955894947 }, "else": { "operation": "boost", "score": -0.01457869540899992 } }, "else": { "operation": "boost", "score": 0.008387850597500801 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120524.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.004229046404361725 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02313051000237465 }, "else": { "operation": "boost", "score": 0.11703398078680038 } } }, "else": { "operation": "boost", "score": 0.0017509621102362871 } }, "else": { "operation": "boost", "score": -0.005574618000537157 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.0024757578503340483 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": 0.06909125298261642 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "boost", "score": -0.4578004479408264 }, "else": { "operation": "boost", "score": -0.057730454951524734 } } }, "else": { "operation": "boost", "score": -0.1942182034254074 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1729.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0016709562623873353 }, "else": { "operation": "boost", "score": 0.016070464625954628 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04233932867646217 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01941458322107792 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005839773453772068 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 29.0, "then": { "operation": "boost", "score": 0.007508645765483379 }, "else": { "operation": "boost", "score": -0.014923522248864174 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08124734461307526 }, "else": { "operation": "boost", "score": -0.10281925648450851 } }, "else": { "operation": "boost", "score": 0.02197456546127796 } }, "else": { "operation": "boost", "score": 0.021130425855517387 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.046688735485076904 }, "else": { "operation": "boost", "score": 0.025850029662251472 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.07453616708517075 }, "else": { "operation": "boost", "score": -0.007162777241319418 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.18548601865768433 }, "else": { "operation": "boost", "score": -0.08508610725402832 } }, "else": { "operation": "boost", "score": 0.10793120414018631 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.10123776644468307 }, "else": { "operation": "boost", "score": 0.423521488904953 } } }, "else": { "operation": "boost", "score": 0.05700492113828659 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.011107193306088448 }, "else": { "operation": "boost", "score": 0.024189069867134094 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0019039789913222194 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.015849323943257332 }, "else": { "operation": "boost", "score": 0.001236168434843421 } }, "else": { "operation": "boost", "score": -0.01675291545689106 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003309202380478382 }, "else": { "operation": "boost", "score": 0.011324938386678696 } }, "else": { "operation": "boost", "score": -0.01150431577116251 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0047079757787287235 }, "else": { "operation": "boost", "score": -0.011005700565874577 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.049515776336193085 }, "else": { "operation": "boost", "score": 0.011723414063453674 } }, "else": { "operation": "boost", "score": 0.0035562252160161734 } } } }, "else": { "operation": "boost", "score": 0.16101592779159546 } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.24308207631111145 }, "else": { "operation": "boost", "score": -0.10033774375915527 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.03724822402000427 }, "else": { "operation": "boost", "score": 0.11716398596763611 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.016572317108511925 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.05675714090466499 }, "else": { "operation": "boost", "score": 0.10416563600301743 } }, "else": { "operation": "boost", "score": 0.036022499203681946 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12301826477050781 }, "else": { "operation": "boost", "score": 0.007850822992622852 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21513068675994873 }, "else": { "operation": "boost", "score": 0.00954117625951767 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05970511585474014 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.013202507048845291 }, "else": { "operation": "boost", "score": -0.17499062418937683 } }, "else": { "operation": "boost", "score": 0.02337981015443802 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0021405937150120735 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "boost", "score": -0.01497582159936428 }, "else": { "operation": "boost", "score": 0.055840905755758286 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": 0.015455815009772778 }, "else": { "operation": "boost", "score": 0.2395303100347519 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.013243752531707287 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0636511817574501 }, "else": { "operation": "boost", "score": 0.02552773617208004 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.015484199859201908 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.026880457997322083 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.0, "then": { "operation": "boost", "score": 0.12019854784011841 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.12932612001895905 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2848532497882843 }, "else": { "operation": "boost", "score": 0.08532910794019699 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.04629013314843178 }, "else": { "operation": "boost", "score": 0.06453418731689453 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_PreprocessorExpression" ], "then": { "operation": "boost", "score": 0.21487721800804138 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07110611349344254 }, "else": { "operation": "boost", "score": -0.12518255412578583 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02044973522424698 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.10776519030332565 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.022270865738391876 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "boost", "score": 0.1621781438589096 }, "else": { "operation": "boost", "score": 0.09002981334924698 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12629.0, "then": { "operation": "boost", "score": -0.056591324508190155 }, "else": { "operation": "boost", "score": -0.0035147424787282944 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.10790915787220001 }, "else": { "operation": "boost", "score": 0.05571133643388748 } }, "else": { "operation": "boost", "score": 0.01190209574997425 } } }, "else": { "operation": "boost", "score": -0.029258323833346367 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.01692260056734085 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.009136226959526539 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1154833510518074 }, "else": { "operation": "boost", "score": 0.03444336727261543 } }, "else": { "operation": "boost", "score": 0.12208137661218643 } }, "else": { "operation": "boost", "score": 0.03476346284151077 } }, "else": { "operation": "boost", "score": 0.03206474334001541 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.5359131693840027 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11535055190324783 }, "else": { "operation": "boost", "score": -0.010616338811814785 } }, "else": { "operation": "boost", "score": -0.16469794511795044 } } }, "else": { "operation": "boost", "score": 0.007990137673914433 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": -1.0893442630767822 }, "else": { "operation": "boost", "score": 0.03131600841879845 } }, "else": { "operation": "boost", "score": -0.034037210047245026 } }, "else": { "operation": "boost", "score": 0.01874522678554058 } }, "else": { "operation": "boost", "score": -0.1203552857041359 } }, "else": { "operation": "boost", "score": 0.0034355297684669495 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.004054146818816662 }, "else": { "operation": "boost", "score": -0.030801502987742424 } } }, "else": { "operation": "boost", "score": -0.03136254847049713 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 246863.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.06953823566436768 }, "else": { "operation": "boost", "score": -0.5383580327033997 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.06432661414146423 }, "else": { "operation": "boost", "score": 0.002435346134006977 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "boost", "score": 0.025318479165434837 }, "else": { "operation": "boost", "score": 0.010377918370068073 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008155182003974915 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.00887833721935749 }, "else": { "operation": "boost", "score": 0.017878752201795578 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07260750979185104 }, "else": { "operation": "boost", "score": 0.053951479494571686 } }, "else": { "operation": "boost", "score": 0.016169507056474686 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.09715348482131958 }, "else": { "operation": "boost", "score": 0.03823576495051384 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.11236590892076492 }, "else": { "operation": "boost", "score": -0.01836196705698967 } }, "else": { "operation": "boost", "score": 0.09510122984647751 } } }, "else": { "operation": "boost", "score": 0.035352643579244614 } }, "else": { "operation": "boost", "score": 0.047689612954854965 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7461538314819336, "then": { "operation": "boost", "score": 0.16126760840415955 }, "else": { "operation": "boost", "score": -0.12325272709131241 } }, "else": { "operation": "boost", "score": -0.001218349440023303 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.07605734467506409 }, "else": { "operation": "boost", "score": -0.014546426944434643 } }, "else": { "operation": "boost", "score": -0.0357145331799984 } }, "else": { "operation": "boost", "score": 0.003634636290371418 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.01752297952771187 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.06701651215553284 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07003740966320038 }, "else": { "operation": "boost", "score": 0.00021914941316936165 } }, "else": { "operation": "boost", "score": -0.06616999953985214 } }, "else": { "operation": "boost", "score": 0.036900635808706284 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.006376660894602537 }, "else": { "operation": "boost", "score": 0.006396143697202206 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005515407305210829 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07268614321947098 }, "else": { "operation": "boost", "score": 0.1243007555603981 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10912034660577774 }, "else": { "operation": "boost", "score": -0.1252622753381729 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14669936895370483 }, "else": { "operation": "boost", "score": 0.04020088538527489 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98110.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.08922827988862991 }, "else": { "operation": "boost", "score": 0.1350860446691513 } }, "else": { "operation": "boost", "score": 0.060188110917806625 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 95499.0, "then": { "operation": "boost", "score": -0.16455969214439392 }, "else": { "operation": "boost", "score": 0.01141002681106329 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.07870712876319885 }, "else": { "operation": "boost", "score": 0.14002327620983124 } }, "else": { "operation": "boost", "score": 0.022339800372719765 } }, "else": { "operation": "boost", "score": -0.057973407208919525 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.019436774775385857 }, "else": { "operation": "boost", "score": 0.007148402277380228 } }, "else": { "operation": "boost", "score": -0.06241277977824211 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08467022329568863 }, "else": { "operation": "boost", "score": 0.17333410680294037 } }, "else": { "operation": "boost", "score": 0.07914584130048752 } }, "else": { "operation": "boost", "score": -0.28253814578056335 } }, "else": { "operation": "boost", "score": 0.03679376840591431 } } }, "else": { "operation": "boost", "score": 0.0014734049327671528 } }, "else": { "operation": "boost", "score": -0.005993878003209829 } } } } } } }, "else": { "operation": "boost", "score": 0.16273769736289978 } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.027959097176790237 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.016246341168880463 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0943586677312851 }, "else": { "operation": "boost", "score": 0.10301855206489563 } } } }, "else": { "operation": "boost", "score": 0.014691525138914585 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.006897261366248131 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.06372161954641342 }, "else": { "operation": "boost", "score": 0.11681193858385086 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.002454552333801985 }, "else": { "operation": "boost", "score": 0.12040425091981888 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.11321917921304703 }, "else": { "operation": "boost", "score": -0.038089603185653687 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1661548912525177 }, "else": { "operation": "boost", "score": 0.09516090154647827 } }, "else": { "operation": "boost", "score": -0.11645497381687164 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021084409207105637 }, "else": { "operation": "boost", "score": 0.07130005955696106 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.059790872037410736 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07377640157938004 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01813739724457264 }, "else": { "operation": "boost", "score": 0.016042612493038177 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.10861965268850327 }, "else": { "operation": "boost", "score": -0.06519705057144165 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.06833048164844513 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.006168649531900883 }, "else": { "operation": "boost", "score": 0.09960036724805832 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05130103975534439 }, "else": { "operation": "boost", "score": -0.011003481224179268 } }, "else": { "operation": "boost", "score": -0.03760313615202904 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1858130842447281 }, "else": { "operation": "boost", "score": 0.021231885999441147 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.04834887012839317 }, "else": { "operation": "boost", "score": 0.3104957640171051 } }, "else": { "operation": "boost", "score": -0.10027185827493668 } }, "else": { "operation": "boost", "score": 0.08682474493980408 } }, "else": { "operation": "boost", "score": 0.0025321936700493097 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08664382994174957 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.12272751331329346 }, "else": { "operation": "boost", "score": 0.13905145227909088 } } }, "else": { "operation": "boost", "score": 0.022907624021172523 } }, "else": { "operation": "boost", "score": 0.008715328760445118 } }, "else": { "operation": "boost", "score": -0.05880605801939964 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11993374675512314 }, "else": { "operation": "boost", "score": 0.07702848315238953 } } }, "else": { "operation": "boost", "score": 0.0003143441863358021 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0076425038278102875 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.23520757257938385 }, "else": { "operation": "boost", "score": 0.06590551882982254 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03010997548699379 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.06580398231744766 }, "else": { "operation": "boost", "score": 0.08013243228197098 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06299248337745667 }, "else": { "operation": "boost", "score": -0.004085042048245668 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05359535291790962 }, "else": { "operation": "boost", "score": 0.13134025037288666 } }, "else": { "operation": "boost", "score": 0.01917070522904396 } }, "else": { "operation": "boost", "score": -0.0012338601518422365 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03376977890729904 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0019393296679481864 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "boost", "score": 0.022536104544997215 }, "else": { "operation": "boost", "score": 0.10970006883144379 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1838485300540924 }, "else": { "operation": "boost", "score": 0.013999994844198227 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.052210960537195206 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.00821281224489212 }, "else": { "operation": "boost", "score": -0.19320763647556305 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 233.5, "then": { "operation": "boost", "score": 0.12046488374471664 }, "else": { "operation": "boost", "score": -0.05166163668036461 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1305907666683197 }, "else": { "operation": "boost", "score": 0.05010885372757912 } }, "else": { "operation": "boost", "score": -0.010830181650817394 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.0, "then": { "operation": "boost", "score": -0.17874301970005035 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.0, "then": { "operation": "boost", "score": 0.6597793698310852 }, "else": { "operation": "boost", "score": 0.15013937652111053 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.007840381935238838 }, "else": { "operation": "boost", "score": 0.0014144539600238204 } }, "else": { "operation": "boost", "score": 0.007288878783583641 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.002982890931889415 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06889740377664566 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2082284688949585 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.1518353521823883 }, "else": { "operation": "boost", "score": 0.10765405744314194 } } } } } }, "else": { "operation": "boost", "score": 0.018722452223300934 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007814143784344196 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0012231194414198399 }, "else": { "operation": "boost", "score": -0.058985836803913116 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0010198509553447366 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06779919564723969 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.09079433232545853 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.065934918820858 }, "else": { "operation": "boost", "score": -0.015078632161021233 } } } } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09955935180187225 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.042078375816345215 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.013022792525589466 }, "else": { "operation": "boost", "score": -0.02157612331211567 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019898656755685806 }, "else": { "operation": "boost", "score": -0.012868156656622887 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06569109112024307 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.029215581715106964 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1311160922050476 }, "else": { "operation": "boost", "score": -0.07521215081214905 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.023251699283719063 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.09730590134859085 }, "else": { "operation": "boost", "score": 0.0073224278166890144 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004654848016798496 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.047054875642061234 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.27792420983314514 }, "else": { "operation": "boost", "score": -0.1145457774400711 } } }, "else": { "operation": "boost", "score": -0.009630979038774967 } } }, "else": { "operation": "boost", "score": 0.0016469251131638885 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06718079745769501 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": -0.004443175625056028 }, "else": { "operation": "boost", "score": -0.10941994935274124 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011722024530172348 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016671760007739067 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.5629098415374756 }, "else": { "operation": "boost", "score": -0.05742491036653519 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.17615503072738647 }, "else": { "operation": "boost", "score": 0.04305749759078026 } }, "else": { "operation": "boost", "score": 0.014226777479052544 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.0010349774966016412 }, "else": { "operation": "boost", "score": 0.13274972140789032 } }, "else": { "operation": "boost", "score": -0.0653611347079277 } }, "else": { "operation": "boost", "score": 0.029519526287913322 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11054477840662003 }, "else": { "operation": "boost", "score": -0.0322234183549881 } }, "else": { "operation": "boost", "score": -0.005059742834419012 } } } }, "else": { "operation": "boost", "score": 0.0015444798627868295 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12545153498649597 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "boost", "score": 0.024989960715174675 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "boost", "score": 0.034028586000204086 }, "else": { "operation": "boost", "score": 0.1152254268527031 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.01725599355995655 }, "else": { "operation": "boost", "score": 0.009669322520494461 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05723072588443756 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.017209317535161972 }, "else": { "operation": "boost", "score": -0.1550694853067398 } }, "else": { "operation": "boost", "score": 0.02209644578397274 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0019442526390776038 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008251311257481575 }, "else": { "operation": "boost", "score": -0.03696705773472786 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "boost", "score": 0.03930527716875076 }, "else": { "operation": "boost", "score": 0.013578586280345917 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11024702340364456 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.05247131362557411 }, "else": { "operation": "boost", "score": 0.01757732965052128 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06722814589738846 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.007273177150636911 }, "else": { "operation": "boost", "score": 0.05883749574422836 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 698.5, "then": { "operation": "boost", "score": 0.026152795180678368 }, "else": { "operation": "boost", "score": 0.001918526366353035 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0029630365315824747 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04455047473311424 }, "else": { "operation": "boost", "score": 0.021284958347678185 } } }, "else": { "operation": "boost", "score": 0.005038122646510601 } }, "else": { "operation": "boost", "score": -0.0420088917016983 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.13512983918190002 }, "else": { "operation": "boost", "score": 0.2697189152240753 } }, "else": { "operation": "boost", "score": 0.06214025244116783 } }, "else": { "operation": "boost", "score": 0.05771949887275696 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03167496994137764 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": -0.004047596361488104 }, "else": { "operation": "boost", "score": 0.13052335381507874 } }, "else": { "operation": "boost", "score": 0.0354391485452652 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.31250908970832825 }, "else": { "operation": "boost", "score": 0.11598203331232071 } }, "else": { "operation": "boost", "score": 0.0618579164147377 } }, "else": { "operation": "boost", "score": 0.014211814850568771 } }, "else": { "operation": "boost", "score": -0.024560170248150826 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.019666172564029694 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6181818246841431, "then": { "operation": "boost", "score": 0.0704910159111023 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "boost", "score": 0.11885593086481094 }, "else": { "operation": "boost", "score": 0.07879756391048431 } } }, "else": { "operation": "boost", "score": 0.022538647055625916 } }, "else": { "operation": "boost", "score": 0.012812839820981026 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.00045541964937001467 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005154765211045742 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": -0.23981168866157532 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.015557819977402687 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.32429245114326477 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.08310264348983765 }, "else": { "operation": "boost", "score": 0.14142197370529175 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.005568983033299446 }, "else": { "operation": "boost", "score": 0.11513679474592209 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.032392941415309906 }, "else": { "operation": "boost", "score": -0.3373510539531708 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": -0.07871101051568985 }, "else": { "operation": "boost", "score": 0.07670482993125916 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.06603100895881653 }, "else": { "operation": "boost", "score": 0.013604857958853245 } } } }, "else": { "operation": "boost", "score": 0.009950281120836735 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10898133367300034 }, "else": { "operation": "boost", "score": 0.003916676621884108 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.17909114062786102 }, "else": { "operation": "boost", "score": -0.02535202167928219 } }, "else": { "operation": "boost", "score": -0.03556276485323906 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.12113368511199951 }, "else": { "operation": "boost", "score": 0.0018581333570182323 } }, "else": { "operation": "boost", "score": -0.06923390179872513 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55854.0, "then": { "operation": "boost", "score": -0.11080110818147659 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.15519489347934723 }, "else": { "operation": "boost", "score": 0.0805797129869461 } }, "else": { "operation": "boost", "score": -0.11167199164628983 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24258.5, "then": { "operation": "boost", "score": -0.13757283985614777 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23639.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23935.5, "then": { "operation": "boost", "score": 0.09385866671800613 }, "else": { "operation": "boost", "score": 0.21428674459457397 } }, "else": { "operation": "boost", "score": -0.1212577298283577 } }, "else": { "operation": "boost", "score": -0.0436314195394516 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68401.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276057.0, "then": { "operation": "boost", "score": 0.017933281138539314 }, "else": { "operation": "boost", "score": -0.12510475516319275 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0526309497654438 }, "else": { "operation": "boost", "score": -0.19164299964904785 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02431873045861721 }, "else": { "operation": "boost", "score": -0.13137024641036987 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.026146072894334793 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.006437968462705612 }, "else": { "operation": "boost", "score": 0.023784564808011055 } }, "else": { "operation": "boost", "score": -0.11211608350276947 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61294.0, "then": { "operation": "boost", "score": -0.05568827688694 }, "else": { "operation": "boost", "score": -0.4507174491882324 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54650.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11046022176742554 }, "else": { "operation": "boost", "score": -0.10427838563919067 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46971.0, "then": { "operation": "boost", "score": -0.07909993082284927 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46241.5, "then": { "operation": "boost", "score": 0.08846301585435867 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0478060208261013 }, "else": { "operation": "boost", "score": 0.0034833326935768127 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.01144713256508112 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01624974235892296 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04374879226088524 }, "else": { "operation": "boost", "score": -0.01148964837193489 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05743873491883278 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.01367179024964571 }, "else": { "operation": "boost", "score": 0.0570329874753952 } } } }, "else": { "operation": "boost", "score": -0.11094490438699722 } } }, "else": { "operation": "boost", "score": -0.10572408884763718 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 222.0, "then": { "operation": "boost", "score": -0.09234851598739624 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 170.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.10457402467727661 }, "else": { "operation": "boost", "score": 0.22840243577957153 } }, "else": { "operation": "boost", "score": 0.0004634713986888528 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18318983912467957 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11467.0, "then": { "operation": "boost", "score": -0.14804381132125854 }, "else": { "operation": "boost", "score": -0.09868740290403366 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.07660937309265137 }, "else": { "operation": "boost", "score": 0.13181203603744507 } }, "else": { "operation": "boost", "score": -0.17988315224647522 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10824573785066605 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.020679809153079987 }, "else": { "operation": "boost", "score": -0.0010465983068570495 } } } }, "else": { "operation": "boost", "score": -0.015250122174620628 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 179.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004480951465666294 }, "else": { "operation": "boost", "score": 0.01675611175596714 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.4228764474391937 }, "else": { "operation": "boost", "score": -0.014442251063883305 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0009069134830497205 }, "else": { "operation": "boost", "score": -0.004314564634114504 } }, "else": { "operation": "boost", "score": 0.14852163195610046 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11775253713130951 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037225715816020966 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5256.0, "then": { "operation": "boost", "score": 0.08173222094774246 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.020992334932088852 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08116883039474487, "then": { "operation": "boost", "score": 0.11310575902462006 }, "else": { "operation": "boost", "score": 0.032844554632902145 } }, "else": { "operation": "boost", "score": -0.21818727254867554 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.03376396745443344 }, "else": { "operation": "boost", "score": 0.009120991453528404 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.041494280099868774 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11584204435348511 }, "else": { "operation": "boost", "score": 0.10931340605020523 } } }, "else": { "operation": "boost", "score": 0.03788582235574722 } }, "else": { "operation": "boost", "score": -0.06343138962984085 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12762829661369324 }, "else": { "operation": "boost", "score": 0.042854249477386475 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.1294293850660324 }, "else": { "operation": "boost", "score": 0.02027585543692112 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.5345289707183838 }, "else": { "operation": "boost", "score": 0.003155966755002737 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05578085407614708 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.01290257927030325 }, "else": { "operation": "boost", "score": -0.1378934234380722 } }, "else": { "operation": "boost", "score": 0.021213239058852196 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.04462238773703575 }, "else": { "operation": "boost", "score": 0.01843268610537052 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04625699669122696 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.09688608348369598 }, "else": { "operation": "boost", "score": -0.0007188949966803193 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0784851536154747 }, "else": { "operation": "boost", "score": -0.012766079977154732 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0221351757645607 }, "else": { "operation": "boost", "score": -0.16440638899803162 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.025148194283246994 }, "else": { "operation": "boost", "score": 0.04806533828377724 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.5, "then": { "operation": "boost", "score": 0.054996557533741 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.13809196650981903 }, "else": { "operation": "boost", "score": 0.08244926482439041 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.011285699903964996 }, "else": { "operation": "boost", "score": -0.9101483225822449 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.04400142282247543 }, "else": { "operation": "boost", "score": -0.5440248847007751 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.03160075098276138 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05904840677976608 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011953279376029968 }, "else": { "operation": "boost", "score": 0.1080087423324585 } }, "else": { "operation": "boost", "score": 0.15086637437343597 } }, "else": { "operation": "boost", "score": 0.041477449238300323 } } } } }, "else": { "operation": "boost", "score": 0.010136722587049007 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.03964176028966904 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.01855795830488205 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.030628327280282974 }, "else": { "operation": "boost", "score": 0.006288611795753241 } } }, "else": { "operation": "boost", "score": 0.08538952469825745 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75180.5, "then": { "operation": "boost", "score": -1.329437494277954 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.006577826105058193 }, "else": { "operation": "boost", "score": 0.03847435116767883 } }, "else": { "operation": "boost", "score": -0.006900365464389324 } } } }, "else": { "operation": "boost", "score": -0.01809687912464142 } } } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001415493432432413 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07382015138864517 }, "else": { "operation": "boost", "score": 0.016996214166283607 } }, "else": { "operation": "boost", "score": -0.17007794976234436 } }, "else": { "operation": "boost", "score": 0.0059258961118757725 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.14140349626541138 }, "else": { "operation": "boost", "score": 0.021279916167259216 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": 0.003887983039021492 }, "else": { "operation": "boost", "score": 0.0981799066066742 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009227133356034756 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04746146872639656 }, "else": { "operation": "boost", "score": 0.08308343589305878 } }, "else": { "operation": "boost", "score": -0.10774274170398712 } }, "else": { "operation": "boost", "score": -0.10070914030075073 } } }, "else": { "operation": "boost", "score": 0.0015154278371483088 } }, "else": { "operation": "boost", "score": -0.020175283774733543 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.055010583251714706 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.00952492468059063 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.023685602471232414 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007855425588786602 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10095316916704178 }, "else": { "operation": "boost", "score": -0.059904795140028 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.07182075083255768 }, "else": { "operation": "boost", "score": -0.031004715710878372 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04783545807003975 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.09793902933597565 }, "else": { "operation": "boost", "score": 0.07456804066896439 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.0029835456516593695 }, "else": { "operation": "boost", "score": -0.009214445017278194 } } } }, "else": { "operation": "boost", "score": -0.027374254539608955 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.030675522983074188 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09227194637060165 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.08134343475103378 }, "else": { "operation": "boost", "score": -0.3069593906402588 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07364681363105774 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.08577319234609604 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.007588895969092846 }, "else": { "operation": "boost", "score": -0.22204874455928802 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08196958899497986 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.4128842055797577 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": -0.03565693274140358 }, "else": { "operation": "boost", "score": -0.14091888070106506 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07188111543655396 }, "else": { "operation": "boost", "score": -0.027953004464507103 } } }, "else": { "operation": "boost", "score": 0.016651315614581108 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.11413540691137314 }, "else": { "operation": "boost", "score": -0.07822980731725693 } }, "else": { "operation": "boost", "score": -0.011553792282938957 } } } } } } }, "else": { "operation": "boost", "score": 0.0014509694883599877 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07095885276794434 }, "else": { "operation": "boost", "score": 0.041934918612241745 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.03664669021964073 }, "else": { "operation": "boost", "score": -0.18453891575336456 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.039444323629140854 }, "else": { "operation": "boost", "score": 0.11250777542591095 } }, "else": { "operation": "boost", "score": 0.02276376448571682 } }, "else": { "operation": "boost", "score": -0.1257839798927307 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.028276793658733368 }, "else": { "operation": "boost", "score": -0.08424253016710281 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": -0.2649160623550415 }, "else": { "operation": "boost", "score": 0.010196666233241558 } }, "else": { "operation": "boost", "score": -0.043716445565223694 } } }, "else": { "operation": "boost", "score": -0.005597065202891827 } }, "else": { "operation": "boost", "score": 0.007345923222601414 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0040281591936945915 }, "else": { "operation": "boost", "score": 0.015523781068623066 } }, "else": { "operation": "boost", "score": -0.01028823759406805 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0011410254519432783 }, "else": { "operation": "boost", "score": -0.003968219272792339 } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11742560565471649 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.012250352650880814 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.2695453464984894 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09418966621160507 }, "else": { "operation": "boost", "score": 0.07460319250822067 } }, "else": { "operation": "boost", "score": 0.0313291922211647 } } }, "else": { "operation": "boost", "score": 0.10339941829442978 } }, "else": { "operation": "boost", "score": 0.03208881989121437 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.01128912903368473 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.05463426187634468 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.1482083648443222 }, "else": { "operation": "boost", "score": 0.06500061601400375 } }, "else": { "operation": "boost", "score": 0.03370105102658272 } }, "else": { "operation": "boost", "score": -0.015945937484502792 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09806733578443527 }, "else": { "operation": "boost", "score": 0.04011359065771103 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13942307233810425, "then": { "operation": "boost", "score": 0.12053646892309189 }, "else": { "operation": "boost", "score": 0.04870747774839401 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.015755832195281982 }, "else": { "operation": "boost", "score": -0.14523102343082428 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1330050379037857 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0383763425052166 }, "else": { "operation": "boost", "score": 0.01899629272520542 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -1.7258145817322657e-05 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020256130024790764 }, "else": { "operation": "boost", "score": 0.10899682343006134 } }, "else": { "operation": "boost", "score": 0.032370708882808685 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05402519926428795 }, "else": { "operation": "boost", "score": 0.01843707263469696 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.002376747550442815 }, "else": { "operation": "boost", "score": -0.1406310796737671 } }, "else": { "operation": "boost", "score": -0.034770745784044266 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05500654876232147 }, "else": { "operation": "boost", "score": 0.1242145523428917 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0014736552257090807 }, "else": { "operation": "boost", "score": 0.024701440706849098 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005072144791483879 }, "else": { "operation": "boost", "score": -0.2447758913040161 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.02105584554374218 }, "else": { "operation": "boost", "score": -0.009111599065363407 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.034821417182683945 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.13678152859210968 }, "else": { "operation": "boost", "score": 0.002178802154958248 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.07105457037687302 }, "else": { "operation": "boost", "score": 0.1431606262922287 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -2.3144984245300293 }, "else": { "operation": "boost", "score": 0.10053116083145142 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11923179775476456 }, "else": { "operation": "boost", "score": 0.038303520530462265 } } }, "else": { "operation": "boost", "score": 0.018910054117441177 } }, "else": { "operation": "boost", "score": -0.20365940034389496 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14649087190628052 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05371599271893501 }, "else": { "operation": "boost", "score": 0.01119908131659031 } }, "else": { "operation": "boost", "score": 0.10056024044752121 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.012237191200256348 }, "else": { "operation": "boost", "score": -0.09998320043087006 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.2016856074333191 }, "else": { "operation": "boost", "score": 0.08043230324983597 } }, "else": { "operation": "boost", "score": 0.02641754038631916 } }, "else": { "operation": "boost", "score": -0.08145684748888016 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07928015291690826 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06969595700502396 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "boost", "score": 0.14748407900333405 }, "else": { "operation": "boost", "score": 0.1405186504125595 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.06325513869524002 }, "else": { "operation": "boost", "score": -0.09119199961423874 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.27237066626548767 }, "else": { "operation": "boost", "score": 0.24915441870689392 } }, "else": { "operation": "boost", "score": 0.03508313372731209 } }, "else": { "operation": "boost", "score": 0.006034792400896549 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.030998272821307182 }, "else": { "operation": "boost", "score": -0.006015770137310028 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.009448036551475525 }, "else": { "operation": "boost", "score": 0.0016730029601603746 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.13922296464443207 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.012034536339342594 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1365.5, "then": { "operation": "boost", "score": 0.028081992641091347 }, "else": { "operation": "boost", "score": 0.07202711701393127 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.011822287924587727 }, "else": { "operation": "boost", "score": -0.012162487022578716 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.06130187213420868 }, "else": { "operation": "boost", "score": -0.011970192193984985 } }, "else": { "operation": "boost", "score": -0.002703191014006734 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11538.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10175154358148575 }, "else": { "operation": "boost", "score": -0.03977631777524948 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22379.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54332.5, "then": { "operation": "boost", "score": -0.027674561366438866 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41256.0, "then": { "operation": "boost", "score": 0.12301843613386154 }, "else": { "operation": "boost", "score": 0.03142766281962395 } } }, "else": { "operation": "boost", "score": -0.1014116033911705 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1744450181722641 }, "else": { "operation": "boost", "score": 0.11750603467226028 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.07761536538600922 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.16251713037490845 }, "else": { "operation": "boost", "score": -0.13188661634922028 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 312254.5, "then": { "operation": "boost", "score": 0.05337650701403618 }, "else": { "operation": "boost", "score": 0.006990643218159676 } } } }, "else": { "operation": "boost", "score": 0.002409586915746331 } }, "else": { "operation": "boost", "score": -0.054273754358291626 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13650.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21807.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21856.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011132213287055492 }, "else": { "operation": "boost", "score": -0.05253211781382561 } }, "else": { "operation": "boost", "score": 0.14911870658397675 } }, "else": { "operation": "boost", "score": -0.07059618830680847 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14800.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14962.0, "then": { "operation": "boost", "score": 0.020085761323571205 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.19405195116996765 }, "else": { "operation": "boost", "score": 0.09034867584705353 } } }, "else": { "operation": "boost", "score": -0.08303817361593246 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13630.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.04106186702847481 }, "else": { "operation": "boost", "score": 0.3506263196468353 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12103.0, "then": { "operation": "boost", "score": 0.05283303186297417 }, "else": { "operation": "boost", "score": 0.10146581381559372 } }, "else": { "operation": "boost", "score": 0.06011873483657837 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10512.0, "then": { "operation": "boost", "score": -0.0602964386343956 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.034582991153001785 }, "else": { "operation": "boost", "score": -0.17842306196689606 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.00570911169052124 }, "else": { "operation": "boost", "score": 0.007153610698878765 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008111448027193546 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.22142647206783295 }, "else": { "operation": "boost", "score": -0.02547421306371689 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.012994172982871532 }, "else": { "operation": "boost", "score": -0.08300478011369705 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.13567525148391724 }, "else": { "operation": "boost", "score": -0.23303759098052979 } }, "else": { "operation": "boost", "score": 0.03229350224137306 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0016473681898787618 }, "else": { "operation": "boost", "score": 0.1434841752052307 } } }, "else": { "operation": "boost", "score": -0.005237276665866375 } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03836056962609291 }, "else": { "operation": "boost", "score": 0.014272834174335003 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04880952462553978, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06268864125013351 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.03930184990167618 }, "else": { "operation": "boost", "score": 0.10702459514141083 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05766996741294861 }, "else": { "operation": "boost", "score": -0.05072987452149391 } } }, "else": { "operation": "boost", "score": -0.02725161798298359 } }, "else": { "operation": "boost", "score": -0.06916818767786026 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0021787865553051233 }, "else": { "operation": "boost", "score": -0.029323119670152664 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.055792130529880524 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013259323313832283 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07555222511291504 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.0637378916144371 }, "else": { "operation": "boost", "score": 0.006064692512154579 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.010446294210851192 }, "else": { "operation": "boost", "score": -0.044963061809539795 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.006503457203507423 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49850.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276057.0, "then": { "operation": "boost", "score": 0.01802639104425907 }, "else": { "operation": "boost", "score": -0.13372902572155 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.05365116521716118 }, "else": { "operation": "boost", "score": 0.023529931902885437 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.10991929471492767 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10526464134454727 }, "else": { "operation": "boost", "score": -0.13337238132953644 } } } }, "else": { "operation": "boost", "score": -0.0030754199251532555 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.029390716925263405 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "boost", "score": 0.03028150089085102 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01686592772603035 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -1.6263939142227173 }, "else": { "operation": "boost", "score": -0.24001890420913696 } } } }, "else": { "operation": "boost", "score": 0.08206233382225037 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13712617754936218 }, "else": { "operation": "boost", "score": -0.12211994081735611 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51599.0, "then": { "operation": "boost", "score": -0.1077931597828865 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1444264054298401 }, "else": { "operation": "boost", "score": 0.15508303046226501 } } }, "else": { "operation": "boost", "score": 0.00021931776427663863 } } }, "else": { "operation": "boost", "score": -0.016766704618930817 } } }, "else": { "operation": "boost", "score": -0.11065971851348877 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43302.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "boost", "score": 0.06235511973500252 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.011043976061046124 }, "else": { "operation": "boost", "score": 0.12760493159294128 } }, "else": { "operation": "boost", "score": 0.004206627607345581 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34838.5, "then": { "operation": "boost", "score": -0.02866765856742859 }, "else": { "operation": "boost", "score": 0.0719035416841507 } } }, "else": { "operation": "boost", "score": 0.008200312964618206 } }, "else": { "operation": "boost", "score": -0.010710105299949646 } } }, "else": { "operation": "boost", "score": -0.03388098627328873 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": 0.02233750931918621 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "boost", "score": 0.12918904423713684 }, "else": { "operation": "boost", "score": 0.05650724470615387 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33282.5, "then": { "operation": "boost", "score": -0.14495708048343658 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010434195399284363 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6753.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7343.5, "then": { "operation": "boost", "score": -0.029836267232894897 }, "else": { "operation": "boost", "score": 0.09909486025571823 } }, "else": { "operation": "boost", "score": -0.2766907811164856 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "boost", "score": 0.020955881103873253 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014496893621981144 }, "else": { "operation": "boost", "score": -0.094384104013443 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.001537512755021453 }, "else": { "operation": "boost", "score": -0.07154784351587296 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1810.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1812.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30388.0, "then": { "operation": "boost", "score": -0.05180966481566429 }, "else": { "operation": "boost", "score": 0.014345051720738411 } }, "else": { "operation": "boost", "score": -0.002249696757644415 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.0875716507434845 }, "else": { "operation": "boost", "score": 0.22751101851463318 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1099.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1143.0, "then": { "operation": "boost", "score": 0.08097898960113525 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.17058230936527252 }, "else": { "operation": "boost", "score": 0.08685962855815887 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1269753873348236 }, "else": { "operation": "boost", "score": 0.05083552375435829 } }, "else": { "operation": "boost", "score": -0.02078280970454216 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0025730340275913477 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.0, "then": { "operation": "boost", "score": -0.08820430934429169 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.4047374427318573 }, "else": { "operation": "boost", "score": 0.15477317571640015 } } }, "else": { "operation": "boost", "score": 0.0065895747393369675 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.002083604456856847 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.030834905803203583 }, "else": { "operation": "boost", "score": -0.0754447728395462 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007157231215387583 }, "else": { "operation": "boost", "score": -0.04151296615600586 } }, "else": { "operation": "boost", "score": -0.008997456170618534 } } }, "else": { "operation": "boost", "score": -0.0055610500276088715 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29513.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02353524975478649 }, "else": { "operation": "boost", "score": 0.12056175619363785 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32674.0, "then": { "operation": "boost", "score": -0.24529050290584564 }, "else": { "operation": "boost", "score": 0.12029379606246948 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.031385235488414764 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 603.5, "then": { "operation": "boost", "score": 0.04856371134519577 }, "else": { "operation": "boost", "score": 0.012560545466840267 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5930.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8824.5, "then": { "operation": "boost", "score": -0.0023790965788066387 }, "else": { "operation": "boost", "score": 0.13271211087703705 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.3015333414077759 }, "else": { "operation": "boost", "score": -0.02213924378156662 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.31024354696273804 }, "else": { "operation": "boost", "score": -0.08507218956947327 } } } }, "else": { "operation": "boost", "score": 0.03559262305498123 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02199523337185383 }, "else": { "operation": "boost", "score": -0.004337509162724018 } }, "else": { "operation": "boost", "score": -0.05860449746251106 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.030032021924853325 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.027208779007196426 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.007215029560029507 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07266426831483841 }, "else": { "operation": "boost", "score": -0.06939012557268143 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04143953323364258 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 316.5, "then": { "operation": "boost", "score": 0.10454218834638596 }, "else": { "operation": "boost", "score": 0.01012533437460661 } } }, "else": { "operation": "boost", "score": -0.09066368639469147 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01897953636944294 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.032648857682943344 }, "else": { "operation": "boost", "score": -0.010627935640513897 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.04655415937304497 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 138.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.10422220081090927 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.147847980260849 }, "else": { "operation": "boost", "score": -0.1025783121585846 } } }, "else": { "operation": "boost", "score": 0.04160699248313904 } }, "else": { "operation": "boost", "score": -0.027376526966691017 } }, "else": { "operation": "boost", "score": 0.022902701050043106 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016979290172457695 }, "else": { "operation": "boost", "score": 0.09923777729272842 } }, "else": { "operation": "boost", "score": -0.007949457503855228 } }, "else": { "operation": "boost", "score": -0.01566147990524769 } }, "else": { "operation": "boost", "score": -0.10133307427167892 } } } }, "else": { "operation": "boost", "score": -0.0007164083071984351 } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 107411.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123410.5, "then": { "operation": "boost", "score": 0.06551875919103622 }, "else": { "operation": "boost", "score": -0.1608031988143921 } }, "else": { "operation": "boost", "score": 0.09406065195798874 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1016312912106514 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.02664043940603733 }, "else": { "operation": "boost", "score": 0.007869083434343338 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09446413069963455 }, "else": { "operation": "boost", "score": 0.036022838205099106 } }, "else": { "operation": "boost", "score": -0.06571466475725174 } } }, "else": { "operation": "boost", "score": 0.006045724265277386 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.048906322568655014 }, "else": { "operation": "boost", "score": 0.017447026446461678 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.024899156764149666 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04134339094161987 }, "else": { "operation": "boost", "score": -0.0012294433545321226 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07328388839960098 }, "else": { "operation": "boost", "score": -0.01985032483935356 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01860998198390007 }, "else": { "operation": "boost", "score": -0.15902364253997803 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0036092414520680904 }, "else": { "operation": "boost", "score": 0.033347237855196 } }, "else": { "operation": "boost", "score": 0.005880700424313545 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.008993654511868954 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.05583038181066513 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.018825281411409378 }, "else": { "operation": "boost", "score": -0.010416646488010883 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03257580101490021 }, "else": { "operation": "boost", "score": 0.001986064715310931 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09534335136413574 }, "else": { "operation": "boost", "score": 0.03643299266695976 } }, "else": { "operation": "boost", "score": 0.01670554280281067 } }, "else": { "operation": "boost", "score": -0.19003801047801971 } }, "else": { "operation": "boost", "score": 0.013513179495930672 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.017165595665574074 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "boost", "score": 0.05930068716406822 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.35354313254356384 }, "else": { "operation": "boost", "score": 0.11298755556344986 } }, "else": { "operation": "boost", "score": 0.017917128279805183 } } } }, "else": { "operation": "boost", "score": 0.0030438106041401625 } }, "else": { "operation": "boost", "score": -0.015726298093795776 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07706666737794876 }, "else": { "operation": "boost", "score": -0.09529998153448105 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.02636527456343174 }, "else": { "operation": "boost", "score": -0.009367240592837334 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.036018967628479004 }, "else": { "operation": "boost", "score": 0.015325590968132019 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": 0.2347271740436554 }, "else": { "operation": "boost", "score": 0.07297158241271973 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1982344686985016 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.5151102542877197 }, "else": { "operation": "boost", "score": 0.18562179803848267 } }, "else": { "operation": "boost", "score": 0.08927620947360992 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.15103167295455933 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": 0.01003751065582037 }, "else": { "operation": "boost", "score": 0.13996782898902893 } } } } } }, "else": { "operation": "boost", "score": -0.07054924219846725 } }, "else": { "operation": "boost", "score": 0.03814978152513504 } }, "else": { "operation": "boost", "score": 0.025838138535618782 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": -0.017166618257761 }, "else": { "operation": "boost", "score": 0.0030817040242254734 } }, "else": { "operation": "boost", "score": -0.08537530899047852 } } } }, "else": { "operation": "boost", "score": -0.03003944829106331 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.010174715891480446 }, "else": { "operation": "boost", "score": 0.052786216139793396 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": 0.15683665871620178 }, "else": { "operation": "boost", "score": -0.0347432866692543 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.24342550337314606 }, "else": { "operation": "boost", "score": 0.3576142489910126 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.29089441895484924 }, "else": { "operation": "boost", "score": -0.1863253116607666 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.16495126485824585 }, "else": { "operation": "boost", "score": 0.15348608791828156 } } } }, "else": { "operation": "boost", "score": 0.07176932692527771 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03452230617403984 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.44026005268096924 }, "else": { "operation": "boost", "score": 0.15641094744205475 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.031114405021071434 }, "else": { "operation": "boost", "score": 0.12824171781539917 } } } }, "else": { "operation": "boost", "score": -0.02838926576077938 } }, "else": { "operation": "boost", "score": 0.003843475366011262 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.010276935994625092 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005439247936010361 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "boost", "score": 0.03389647230505943 }, "else": { "operation": "boost", "score": 0.01235543005168438 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.03674231842160225 }, "else": { "operation": "boost", "score": -0.01210570428520441 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.025825142860412598 }, "else": { "operation": "boost", "score": 0.023701002821326256 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.03670255094766617 }, "else": { "operation": "boost", "score": 0.19386328756809235 } }, "else": { "operation": "boost", "score": 0.015297961421310902 } }, "else": { "operation": "boost", "score": 0.00015599436301272362 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": -0.014872802421450615 }, "else": { "operation": "boost", "score": -0.004065978806465864 } } } } } }, "else": { "operation": "boost", "score": -0.1042509451508522 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.007410347927361727 }, "else": { "operation": "boost", "score": -0.033182911574840546 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04880952462553978, "then": { "operation": "boost", "score": -0.06656037271022797 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.07143484055995941 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.006177866365760565 }, "else": { "operation": "boost", "score": 0.03874421864748001 } } } }, "else": { "operation": "boost", "score": 0.007357367780059576 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.018161363899707794 }, "else": { "operation": "boost", "score": -0.12210673838853836 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01814485341310501 }, "else": { "operation": "boost", "score": 0.04398593679070473 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.038211870938539505 }, "else": { "operation": "boost", "score": -0.1535986065864563 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.018072133883833885 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.024834193289279938 }, "else": { "operation": "boost", "score": -0.062363509088754654 } }, "else": { "operation": "boost", "score": -0.020569484680891037 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.01897479221224785 }, "else": { "operation": "boost", "score": 0.016627812758088112 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.019849885255098343 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.06695590168237686 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.08384273946285248 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05037027969956398 }, "else": { "operation": "boost", "score": -0.060820601880550385 } }, "else": { "operation": "boost", "score": 0.05372988432645798 } }, "else": { "operation": "boost", "score": -0.03896297514438629 } }, "else": { "operation": "boost", "score": 0.054053209722042084 } }, "else": { "operation": "boost", "score": 0.00082089111674577 } } } } }, "else": { "operation": "boost", "score": -0.00916411355137825 } } }, "else": { "operation": "boost", "score": -0.0057435710914433 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4210.0, "then": { "operation": "boost", "score": 0.014548463746905327 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.007673335261642933 }, "else": { "operation": "boost", "score": -0.0006570644327439368 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10607317835092545 }, "else": { "operation": "boost", "score": 0.010587597265839577 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05012624338269234 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026006262749433517 }, "else": { "operation": "boost", "score": 0.01851683296263218 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0006564109935425222 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03683220222592354 }, "else": { "operation": "boost", "score": 0.12325403839349747 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 589.0, "then": { "operation": "boost", "score": -0.4147593677043915 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 495.5, "then": { "operation": "boost", "score": 0.12736201286315918 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.02446347288787365 }, "else": { "operation": "boost", "score": -0.01179727166891098 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.0675024464726448 }, "else": { "operation": "boost", "score": 0.019382836297154427 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.034781564027071 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.017277469858527184 }, "else": { "operation": "boost", "score": -0.13560175895690918 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.10047262161970139 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": 0.006676640827208757 }, "else": { "operation": "boost", "score": 0.09862381964921951 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.17039409279823303 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.016650177538394928 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01583467796444893 }, "else": { "operation": "boost", "score": 0.023015303537249565 } }, "else": { "operation": "boost", "score": -0.004565402399748564 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.008767632767558098 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.14481455087661743 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06691025197505951 }, "else": { "operation": "boost", "score": 0.02961326576769352 } }, "else": { "operation": "boost", "score": -0.15513741970062256 } } } } }, "else": { "operation": "boost", "score": -0.002676095347851515 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.029510440304875374 }, "else": { "operation": "boost", "score": 0.0005178184364922345 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11791151762008667 }, "else": { "operation": "boost", "score": 0.01142480131238699 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "boost", "score": 0.08120985329151154 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 166361.0, "then": { "operation": "boost", "score": -0.3431384563446045 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8999999761581421, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.16789238154888153 }, "else": { "operation": "boost", "score": 0.13571864366531372 } }, "else": { "operation": "boost", "score": 0.0930338129401207 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016919391229748726 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.0033676265738904476 }, "else": { "operation": "boost", "score": 0.04484878480434418 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 112.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.018196510151028633 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 126.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1547.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1857.0, "then": { "operation": "boost", "score": 0.08707670867443085 }, "else": { "operation": "boost", "score": 0.13049174845218658 } }, "else": { "operation": "boost", "score": 0.08258265256881714 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1016468033194542 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.237132266163826 }, "else": { "operation": "boost", "score": 0.16880419850349426 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03345625102519989 }, "else": { "operation": "boost", "score": 0.005268112290650606 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004522939678281546 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6098484992980957, "then": { "operation": "boost", "score": 0.11465717852115631 }, "else": { "operation": "boost", "score": -0.013058673590421677 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04812955856323242 }, "else": { "operation": "boost", "score": 0.002713269554078579 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0890144556760788 }, "else": { "operation": "boost", "score": -0.10188250243663788 } } } }, "else": { "operation": "boost", "score": 0.005527477245777845 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.13161011040210724 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.014583667740225792 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4635.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4906.0, "then": { "operation": "boost", "score": 0.02702256105840206 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4889.0, "then": { "operation": "boost", "score": 0.1512250155210495 }, "else": { "operation": "boost", "score": 0.08423493057489395 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.012126389890909195 }, "else": { "operation": "boost", "score": -0.005703335627913475 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.03329924866557121 }, "else": { "operation": "boost", "score": -0.009908699430525303 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02266625128686428 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.016426945105195045 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.17862142622470856 }, "else": { "operation": "boost", "score": 0.16183307766914368 } }, "else": { "operation": "boost", "score": 0.04369184747338295 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04147854074835777 }, "else": { "operation": "boost", "score": 0.016902897506952286 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13874761760234833 }, "else": { "operation": "boost", "score": 0.024542473256587982 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.3118859827518463 }, "else": { "operation": "boost", "score": -0.02705065906047821 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.031758278608322144 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2967033088207245, "then": { "operation": "boost", "score": -0.025339456275105476 }, "else": { "operation": "boost", "score": 0.04524790123105049 } } } } }, "else": { "operation": "boost", "score": 0.0001386706717312336 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": -0.014033220708370209 }, "else": { "operation": "boost", "score": -0.004054568242281675 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1729.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1739.5, "then": { "operation": "boost", "score": 0.0012801876291632652 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1735.5, "then": { "operation": "boost", "score": 0.12928348779678345 }, "else": { "operation": "boost", "score": -0.17452742159366608 } }, "else": { "operation": "boost", "score": -0.01952563039958477 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.23532702028751373 }, "else": { "operation": "boost", "score": -0.055990803986787796 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": 0.0763811469078064 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1736.5, "then": { "operation": "boost", "score": 0.009889931418001652 }, "else": { "operation": "boost", "score": 0.12378621846437454 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.000648310873657465 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003516799071803689 }, "else": { "operation": "boost", "score": -0.01282538939267397 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.032817985862493515 }, "else": { "operation": "boost", "score": -0.06619405746459961 } }, "else": { "operation": "boost", "score": -0.08935634791851044 } }, "else": { "operation": "boost", "score": 0.044786352664232254 } }, "else": { "operation": "boost", "score": 0.024492856115102768 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.062206804752349854 }, "else": { "operation": "boost", "score": 0.0036630043759942055 } } }, "else": { "operation": "boost", "score": -0.017378447577357292 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14460881054401398 }, "else": { "operation": "boost", "score": 0.026681384071707726 } }, "else": { "operation": "boost", "score": -0.02645988017320633 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.060214973986148834 }, "else": { "operation": "boost", "score": 0.011068829335272312 } }, "else": { "operation": "boost", "score": -0.004745318088680506 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.033578358590602875 }, "else": { "operation": "boost", "score": 0.02520575001835823 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.11140325665473938 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.03694695979356766 }, "else": { "operation": "boost", "score": 0.0009517524158582091 } } }, "else": { "operation": "boost", "score": -0.08016212284564972 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.08147115260362625 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.1596931666135788 }, "else": { "operation": "boost", "score": 0.023463604971766472 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0005100931157357991 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.13017335534095764 }, "else": { "operation": "boost", "score": 0.05809086188673973 } } } } }, "else": { "operation": "boost", "score": -0.06383644789457321 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1720.5, "then": { "operation": "boost", "score": -0.18607711791992188 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0033430575858801603 }, "else": { "operation": "boost", "score": 0.14018437266349792 } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10417904704809189 }, "else": { "operation": "boost", "score": 0.010494677349925041 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.01700861193239689 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.002383654471486807 }, "else": { "operation": "boost", "score": -0.13871534168720245 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009939833544194698 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83772.5, "then": { "operation": "boost", "score": 0.04661192744970322 }, "else": { "operation": "boost", "score": -0.007507277652621269 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003300473326817155 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Type" ], "then": { "operation": "boost", "score": 0.013296288438141346 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": 0.1414455771446228 }, "else": { "operation": "boost", "score": 0.03831087797880173 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.09088490903377533 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04892435669898987 }, "else": { "operation": "boost", "score": -0.04055386781692505 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": 0.11076552420854568 }, "else": { "operation": "boost", "score": 0.04448496177792549 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.09171440452337265 }, "else": { "operation": "boost", "score": 0.004937760066241026 } }, "else": { "operation": "boost", "score": -0.14590668678283691 } } } } }, "else": { "operation": "boost", "score": 0.0250605046749115 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02276334911584854 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.08328159153461456 }, "else": { "operation": "boost", "score": 0.45125794410705566 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.00999013427644968 }, "else": { "operation": "boost", "score": -0.13349956274032593 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003228484420105815 }, "else": { "operation": "boost", "score": -0.07376847416162491 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07665345072746277 }, "else": { "operation": "boost", "score": 0.02577994018793106 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.008647706359624863 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.014895040541887283 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.07653890550136566 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0035699422005563974 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0044983201660215855 }, "else": { "operation": "boost", "score": -0.02796102687716484 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.04994339123368263 }, "else": { "operation": "boost", "score": 0.00270060240291059 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.001999557251110673 }, "else": { "operation": "boost", "score": 0.08808452636003494 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1220201700925827 }, "else": { "operation": "boost", "score": 0.09162057936191559 } }, "else": { "operation": "boost", "score": -0.0027728762943297625 } }, "else": { "operation": "boost", "score": -0.01294037513434887 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.030606146901845932 }, "else": { "operation": "boost", "score": 0.09130840748548508 } }, "else": { "operation": "boost", "score": 0.010688421316444874 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": -0.10739414393901825 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06674191355705261 }, "else": { "operation": "boost", "score": -0.06793887168169022 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.07478407770395279 }, "else": { "operation": "boost", "score": -0.10093548893928528 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02890835888683796 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": -0.10028315335512161 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.07861234992742538 }, "else": { "operation": "boost", "score": -0.11246966570615768 } }, "else": { "operation": "boost", "score": -0.033847626298666 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.02536378987133503 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.021594082936644554 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.10431447625160217 }, "else": { "operation": "boost", "score": -0.07954902946949005 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.0263997670263052 }, "else": { "operation": "boost", "score": -0.2870461046695709 } } } } } }, "else": { "operation": "boost", "score": 0.025604333728551865 } } }, "else": { "operation": "boost", "score": -0.00985756702721119 } }, "else": { "operation": "boost", "score": -0.0026878025382757187 } } } } } } } }, "else": { "operation": "boost", "score": 0.001249150955118239 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15370.0, "then": { "operation": "boost", "score": 0.07524527609348297 }, "else": { "operation": "boost", "score": -0.0013564075343310833 } }, "else": { "operation": "boost", "score": -0.016735335811972618 } }, "else": { "operation": "boost", "score": 0.0005672489642165601 } }, "else": { "operation": "boost", "score": -0.04938668757677078 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8445.0, "then": { "operation": "boost", "score": 0.022927651181817055 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.033927105367183685 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 184.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.003060691524296999 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7896.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12730515003204346 }, "else": { "operation": "boost", "score": -0.22184127569198608 } }, "else": { "operation": "boost", "score": 0.03772655501961708 } } }, "else": { "operation": "boost", "score": 0.04969869554042816 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.014367845840752125 }, "else": { "operation": "boost", "score": 0.013768617063760757 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.13047417998313904 }, "else": { "operation": "boost", "score": -0.018555963411927223 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02881530113518238 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10625941306352615 }, "else": { "operation": "boost", "score": 0.0540149062871933 } }, "else": { "operation": "boost", "score": -0.052150096744298935 } }, "else": { "operation": "boost", "score": -0.1289084106683731 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.016009269282221794 }, "else": { "operation": "boost", "score": 0.0010893727885559201 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.022865135222673416 }, "else": { "operation": "boost", "score": 0.009688322432339191 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0025554706808179617 }, "else": { "operation": "boost", "score": 0.021836446598172188 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.0010800492018461227 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06269548088312149 }, "else": { "operation": "boost", "score": 0.01744016259908676 } } } }, "else": { "operation": "boost", "score": -0.049973152577877045 } }, "else": { "operation": "boost", "score": -0.10228163748979568 } }, "else": { "operation": "boost", "score": -0.008579765446484089 } } } } }, "else": { "operation": "boost", "score": -0.11575208604335785 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.10240250080823898 }, "else": { "operation": "boost", "score": 0.07666753977537155 } }, "else": { "operation": "boost", "score": 0.02514495886862278 } }, "else": { "operation": "boost", "score": 0.017566651105880737 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278828.5, "then": { "operation": "boost", "score": 0.02480519749224186 }, "else": { "operation": "boost", "score": 0.09224867075681686 } }, "else": { "operation": "boost", "score": 0.016562560573220253 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.01705021969974041 }, "else": { "operation": "boost", "score": 0.03326010704040527 } }, "else": { "operation": "boost", "score": 0.0004949116846546531 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.018153652548789978 }, "else": { "operation": "boost", "score": -0.03646465390920639 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.0577877014875412 }, "else": { "operation": "boost", "score": 0.003569579916074872 } }, "else": { "operation": "boost", "score": 0.03872811794281006 } }, "else": { "operation": "boost", "score": -0.03655668720602989 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24318.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278454.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08662454783916473 }, "else": { "operation": "boost", "score": -0.04606360197067261 } }, "else": { "operation": "boost", "score": 0.050437554717063904 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 743.5, "then": { "operation": "boost", "score": -0.07305188477039337 }, "else": { "operation": "boost", "score": 0.011972370557487011 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07411293685436249 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0028639461379498243 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03236154839396477 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.05386703833937645 }, "else": { "operation": "boost", "score": 0.0008007544674910605 } } }, "else": { "operation": "boost", "score": 0.0008496815571561456 } } } } } } } } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023760279640555382 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008902299217879772 }, "else": { "operation": "boost", "score": -0.0360398106276989 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.0716225728392601 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08137889206409454 }, "else": { "operation": "boost", "score": 0.021747535094618797 } } }, "else": { "operation": "boost", "score": 0.00703436229377985 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.061741288751363754 }, "else": { "operation": "boost", "score": 0.005655296146869659 } }, "else": { "operation": "boost", "score": -0.005741122178733349 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.184476837515831 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.013737502507865429 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.04855404794216156 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.035559188574552536 }, "else": { "operation": "boost", "score": 0.05020829290151596 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.051444850862026215 }, "else": { "operation": "boost", "score": -0.16396211087703705 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7227.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9195.5, "then": { "operation": "boost", "score": 0.016521744430065155 }, "else": { "operation": "boost", "score": 0.07792152464389801 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6923.5, "then": { "operation": "boost", "score": -0.2163248509168625 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0003209246788173914 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6508.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6683.5, "then": { "operation": "boost", "score": -0.025763271376490593 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6635.5, "then": { "operation": "boost", "score": 0.12691755592823029 }, "else": { "operation": "boost", "score": 0.07753836363554001 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.017390115186572075 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.022678233683109283 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.5, "then": { "operation": "boost", "score": 0.052727118134498596 }, "else": { "operation": "boost", "score": -0.05060233548283577 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.0272601880133152 }, "else": { "operation": "boost", "score": 0.13995669782161713 } }, "else": { "operation": "boost", "score": -0.23769129812717438 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11671760678291321 }, "else": { "operation": "boost", "score": -0.2730390131473541 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.10623329877853394 }, "else": { "operation": "boost", "score": -0.028809309005737305 } }, "else": { "operation": "boost", "score": 0.14560110867023468 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.11981700360774994 }, "else": { "operation": "boost", "score": 0.04956824332475662 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.010071251541376114 }, "else": { "operation": "boost", "score": -0.1558103859424591 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4520.0, "then": { "operation": "boost", "score": -0.479594886302948 }, "else": { "operation": "boost", "score": 0.040227826684713364 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 631.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2198.5, "then": { "operation": "boost", "score": 0.000882403866853565 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 678.5, "then": { "operation": "boost", "score": 0.0550684854388237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 668.5, "then": { "operation": "boost", "score": 0.14098012447357178 }, "else": { "operation": "boost", "score": 0.10289348661899567 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0025620588567107916 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 925.5, "then": { "operation": "boost", "score": 0.08158987015485764 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 890.5, "then": { "operation": "boost", "score": 0.12189789861440659 }, "else": { "operation": "boost", "score": 0.010594361461699009 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.009777765721082687 }, "else": { "operation": "boost", "score": -0.011683549731969833 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.04295137897133827 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.027345309033989906 }, "else": { "operation": "boost", "score": 0.0048158117569983006 } } } } }, "else": { "operation": "boost", "score": 0.019226698204874992 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11361652612686157 }, "else": { "operation": "boost", "score": 0.01728646270930767 } }, "else": { "operation": "boost", "score": -0.0040702600963413715 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.058842167258262634 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08619311451911926 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.03686467930674553 }, "else": { "operation": "boost", "score": 0.011241345666348934 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.11444742232561111 }, "else": { "operation": "boost", "score": 0.0799606516957283 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.09213649481534958 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.055464860051870346 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.013453890569508076 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11721231788396835 }, "else": { "operation": "boost", "score": 0.08209819346666336 } } } }, "else": { "operation": "boost", "score": 0.010569934733211994 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03143477067351341 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.23723511397838593 }, "else": { "operation": "boost", "score": 0.11933333426713943 } }, "else": { "operation": "boost", "score": -0.0690465047955513 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.12685610353946686 }, "else": { "operation": "boost", "score": -0.009661892428994179 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.01720043085515499 }, "else": { "operation": "boost", "score": -0.04563822224736214 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021190516650676727 }, "else": { "operation": "boost", "score": -0.1063784807920456 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.15567825734615326 }, "else": { "operation": "boost", "score": -0.012669957242906094 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.020550696179270744 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04841994121670723 }, "else": { "operation": "boost", "score": -0.051673464477062225 } }, "else": { "operation": "boost", "score": 0.012889022007584572 } } }, "else": { "operation": "boost", "score": 0.0002954349620267749 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 1.5782765331096016e-05 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.036411453038454056 }, "else": { "operation": "boost", "score": 0.010515226051211357 } }, "else": { "operation": "boost", "score": -0.023856118321418762 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12811262905597687 }, "else": { "operation": "boost", "score": 0.0735868439078331 } }, "else": { "operation": "boost", "score": 0.010219857096672058 } }, "else": { "operation": "boost", "score": -0.04416752979159355 } }, "else": { "operation": "boost", "score": 0.03163856640458107 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0895526334643364 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.16600050032138824 }, "else": { "operation": "boost", "score": 0.1157316267490387 } } }, "else": { "operation": "boost", "score": 0.06606739014387131 } }, "else": { "operation": "boost", "score": -0.14049264788627625 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.010733111761510372 }, "else": { "operation": "boost", "score": -0.04189135506749153 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.033470865339040756 }, "else": { "operation": "boost", "score": 0.0033576434943825006 } } }, "else": { "operation": "boost", "score": -0.06151343509554863 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05673381686210632 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06593925505876541 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07997789978981018 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006080781575292349 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.007881822995841503 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03545013815164566 }, "else": { "operation": "boost", "score": 0.020406249910593033 } }, "else": { "operation": "boost", "score": -0.08763545006513596 } }, "else": { "operation": "boost", "score": 0.00010239481343887746 } } }, "else": { "operation": "boost", "score": -0.004317150451242924 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.05187229812145233 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.05527687445282936 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.19492214918136597 }, "else": { "operation": "boost", "score": -0.22158195078372955 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09594632685184479 }, "else": { "operation": "boost", "score": 0.009347033686935902 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.033569540828466415 }, "else": { "operation": "boost", "score": -0.014753763563930988 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.006482105236500502 }, "else": { "operation": "boost", "score": -0.011664016172289848 } } } } }, "else": { "operation": "boost", "score": -0.02774161286652088 } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1829.5, "then": { "operation": "boost", "score": -4.634953498840332 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0024598175659775734 }, "else": { "operation": "boost", "score": -0.055717822164297104 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.04273753985762596 }, "else": { "operation": "boost", "score": 0.011912763118743896 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005084828473627567 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.008682993240654469 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.055100686848163605 }, "else": { "operation": "boost", "score": 0.00046336278319358826 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.015292681753635406 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.04126114398241043 }, "else": { "operation": "boost", "score": -0.010335627943277359 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.025098126381635666 }, "else": { "operation": "boost", "score": 0.07949905097484589 } }, "else": { "operation": "boost", "score": 0.004907046910375357 } }, "else": { "operation": "boost", "score": -0.0056077586486935616 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0426330603659153 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04654970020055771 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.21774624288082123 }, "else": { "operation": "boost", "score": 0.2665605843067169 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.1896539032459259 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.14525499939918518 }, "else": { "operation": "boost", "score": 0.14689266681671143 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.08003285527229309 }, "else": { "operation": "boost", "score": -0.5416795015335083 } } }, "else": { "operation": "boost", "score": 0.0663851946592331 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030411774292588234 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016298260539770126 }, "else": { "operation": "boost", "score": -0.06285692006349564 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02993147261440754 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.0777600109577179 }, "else": { "operation": "boost", "score": 0.1508338451385498 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.12796661257743835 }, "else": { "operation": "boost", "score": -0.025673430413007736 } } } }, "else": { "operation": "boost", "score": 0.018280690535902977 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.5, "then": { "operation": "boost", "score": -0.13908398151397705 }, "else": { "operation": "boost", "score": -0.01893048733472824 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.009211575612425804 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.014506499283015728 }, "else": { "operation": "boost", "score": -0.012700064107775688 } } }, "else": { "operation": "boost", "score": -0.00959071610122919 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05709487572312355 }, "else": { "operation": "boost", "score": -0.0029212129302322865 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04347199946641922 }, "else": { "operation": "boost", "score": -0.0647786483168602 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.05837412178516388 }, "else": { "operation": "boost", "score": 0.006468089763075113 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.03547050058841705 }, "else": { "operation": "boost", "score": 0.002646968699991703 } } } } }, "else": { "operation": "boost", "score": -0.0017825613031163812 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.029431771486997604 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.03716345876455307 }, "else": { "operation": "boost", "score": -0.1414077877998352 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134893.5, "then": { "operation": "boost", "score": -0.17787474393844604 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.08577702194452286 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "boost", "score": -0.12379266321659088 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.018820220604538918 }, "else": { "operation": "boost", "score": 0.1164599061012268 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62708.0, "then": { "operation": "boost", "score": -0.1649361103773117 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57582.0, "then": { "operation": "boost", "score": 0.14730755984783173 }, "else": { "operation": "boost", "score": 0.006072735879570246 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.015488079749047756 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23993.5, "then": { "operation": "boost", "score": 0.05375099554657936 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15358.5, "then": { "operation": "boost", "score": -0.0996985211968422 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12495.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13716.0, "then": { "operation": "boost", "score": -0.01551778707653284 }, "else": { "operation": "boost", "score": 0.13055862486362457 } }, "else": { "operation": "boost", "score": 0.002963882638141513 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.15918254852294922 }, "else": { "operation": "boost", "score": 0.09003283828496933 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.11853162199258804 }, "else": { "operation": "boost", "score": 0.844743549823761 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.051478028297424316 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.00801513995975256 }, "else": { "operation": "boost", "score": 0.051337577402591705 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56793.5, "then": { "operation": "boost", "score": -0.180574432015419 }, "else": { "operation": "boost", "score": 0.01107652485370636 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5546.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.19866593182086945 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "boost", "score": 0.04540615901350975 }, "else": { "operation": "boost", "score": -0.013282150030136108 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 106.5, "then": { "operation": "boost", "score": 0.040099773555994034 }, "else": { "operation": "boost", "score": 0.03058595582842827 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.026299333199858665 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.07132600247859955 }, "else": { "operation": "boost", "score": 0.012079327367246151 } } }, "else": { "operation": "boost", "score": -0.04355105012655258 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.051237478852272034 }, "else": { "operation": "boost", "score": 0.013408327475190163 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 476.0, "then": { "operation": "boost", "score": -0.13533590734004974 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.32480838894844055 }, "else": { "operation": "boost", "score": -0.7128198146820068 } }, "else": { "operation": "boost", "score": -0.07209143787622452 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0755322203040123 }, "else": { "operation": "boost", "score": 0.017251357436180115 } } }, "else": { "operation": "boost", "score": -0.05790819227695465 } } } }, "else": { "operation": "boost", "score": -0.0042183892801404 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1481.5, "then": { "operation": "boost", "score": 0.01618322730064392 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08207952231168747 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12107828259468079 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0014717400772497058 }, "else": { "operation": "boost", "score": 0.011030896566808224 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.0, "then": { "operation": "boost", "score": 0.08502009510993958 }, "else": { "operation": "boost", "score": 0.1290012151002884 } }, "else": { "operation": "boost", "score": -0.1566549837589264 } }, "else": { "operation": "boost", "score": 0.048379458487033844 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17396041750907898 }, "else": { "operation": "boost", "score": 0.03592971712350845 } }, "else": { "operation": "boost", "score": -0.13584406673908234 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.043072670698165894 }, "else": { "operation": "boost", "score": 0.005710008088499308 } }, "else": { "operation": "boost", "score": 0.00929641630500555 } }, "else": { "operation": "boost", "score": -0.001106737065128982 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.016515251249074936 }, "else": { "operation": "boost", "score": -0.11901484429836273 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0006980219040997326 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.04543454945087433 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.028102219104766846 }, "else": { "operation": "boost", "score": -0.017739811912178993 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 310.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 333.0, "then": { "operation": "boost", "score": 0.06732656061649323 }, "else": { "operation": "boost", "score": 0.13065968453884125 } }, "else": { "operation": "boost", "score": -0.011792570352554321 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.014001207426190376 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.44147035479545593 }, "else": { "operation": "boost", "score": 0.024649078026413918 } }, "else": { "operation": "boost", "score": -0.06580280512571335 } }, "else": { "operation": "boost", "score": 0.036114390939474106 } }, "else": { "operation": "boost", "score": -0.1642722636461258 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06082634627819061 }, "else": { "operation": "boost", "score": -0.005388978868722916 } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.04201345518231392 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12704390287399292 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": 0.03131091222167015 }, "else": { "operation": "boost", "score": 0.26413530111312866 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07312905788421631 }, "else": { "operation": "boost", "score": 0.018310245126485825 } } } }, "else": { "operation": "boost", "score": 0.007162673398852348 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.005855710245668888 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0679284855723381 }, "else": { "operation": "boost", "score": 0.022426867857575417 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.007652761414647102 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020058367401361465 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.464102566242218, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026468835771083832 }, "else": { "operation": "boost", "score": 0.04273262247443199 } }, "else": { "operation": "boost", "score": 0.004217496141791344 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.0006703255930915475 }, "else": { "operation": "boost", "score": -0.023221999406814575 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011903461068868637 }, "else": { "operation": "boost", "score": 0.09406585246324539 } }, "else": { "operation": "boost", "score": -0.013924078084528446 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02563495561480522 }, "else": { "operation": "boost", "score": 0.08506004512310028 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.013147509656846523 }, "else": { "operation": "boost", "score": -0.005765360780060291 } }, "else": { "operation": "boost", "score": 0.00010076625767396763 } } }, "else": { "operation": "boost", "score": -0.02720329351723194 } } } }, "else": { "operation": "boost", "score": -0.010482804849743843 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0275914017111063 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05949893593788147 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0047182063572108746 }, "else": { "operation": "boost", "score": 0.09237640351057053 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09772136807441711 }, "else": { "operation": "boost", "score": 0.012081571854650974 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.01679743267595768 }, "else": { "operation": "boost", "score": -0.038629017770290375 } }, "else": { "operation": "boost", "score": -0.019121157005429268 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.060149721801280975 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.5, "then": { "operation": "boost", "score": 0.06300324201583862 }, "else": { "operation": "boost", "score": 0.1388411819934845 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.008817837573587894 }, "else": { "operation": "boost", "score": -0.027428502216935158 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003941577859222889 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.002130104461684823 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0015889592468738556 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02069544419646263 }, "else": { "operation": "boost", "score": -0.12777520716190338 } } } }, "else": { "operation": "boost", "score": 0.04208815470337868 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.13324585556983948 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266615.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276057.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037541359663009644 }, "else": { "operation": "boost", "score": 0.028053410351276398 } }, "else": { "operation": "boost", "score": -0.2076113075017929 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09384317696094513 }, "else": { "operation": "boost", "score": 0.026910340413451195 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.1575719118118286 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.0624992810189724 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91274.0, "then": { "operation": "boost", "score": -0.08923058956861496 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": 0.03849272429943085 }, "else": { "operation": "boost", "score": 0.1209503784775734 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30389.0, "then": { "operation": "boost", "score": -0.1463741809129715 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29460.5, "then": { "operation": "boost", "score": 0.10299456864595413 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "boost", "score": -0.095067098736763 }, "else": { "operation": "boost", "score": 0.02228519506752491 } } } } } } }, "else": { "operation": "boost", "score": -0.0048890127800405025 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.034811586141586304 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0182370375841856 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3539.0, "then": { "operation": "boost", "score": -0.13944998383522034 }, "else": { "operation": "boost", "score": -0.09747802466154099 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.18543384969234467 }, "else": { "operation": "boost", "score": 0.07853681594133377 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.1664263904094696 }, "else": { "operation": "boost", "score": 0.031777866184711456 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.029609184712171555 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203324.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": 0.004769369959831238 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.055010031908750534 }, "else": { "operation": "boost", "score": -0.12918752431869507 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134893.5, "then": { "operation": "boost", "score": -0.06508945673704147 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.016398832201957703 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0590028315782547 }, "else": { "operation": "boost", "score": 0.27495455741882324 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "boost", "score": 0.036144860088825226 }, "else": { "operation": "boost", "score": -0.0035046017728745937 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "boost", "score": 0.10871107131242752 }, "else": { "operation": "boost", "score": 0.07498030364513397 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01554173231124878 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014284453354775906 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15623.0, "then": { "operation": "boost", "score": -0.11710644513368607 }, "else": { "operation": "boost", "score": -0.0444360077381134 } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.049486685544252396 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.06020626053214073 }, "else": { "operation": "boost", "score": -0.1238020732998848 } } } }, "else": { "operation": "boost", "score": -0.0015172064304351807 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.08141899108886719 }, "else": { "operation": "boost", "score": 0.03412312641739845 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2054.0, "then": { "operation": "boost", "score": 0.44890105724334717 }, "else": { "operation": "boost", "score": 0.021732255816459656 } } }, "else": { "operation": "boost", "score": -0.04326305538415909 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 565.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.14890623092651367 }, "else": { "operation": "boost", "score": 0.0629386454820633 } }, "else": { "operation": "boost", "score": 0.0027583418413996696 } } } } } }, "else": { "operation": "boost", "score": -0.109060138463974 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4690.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4809.0, "then": { "operation": "boost", "score": 0.016610851511359215 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4777.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.24942560493946075 }, "else": { "operation": "boost", "score": 0.15138055384159088 } }, "else": { "operation": "boost", "score": 0.07934325933456421 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08122789114713669 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010989969596266747 }, "else": { "operation": "boost", "score": -0.041135773062705994 } }, "else": { "operation": "boost", "score": 0.010432113893330097 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "boost", "score": 0.05921067297458649 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1183251291513443 }, "else": { "operation": "boost", "score": 0.10105780512094498 } } }, "else": { "operation": "boost", "score": 0.029710667207837105 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.13578951358795166 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.22628705203533173 }, "else": { "operation": "boost", "score": 0.04131330922245979 } } }, "else": { "operation": "boost", "score": 0.005314672831445932 } }, "else": { "operation": "boost", "score": 0.008762271143496037 } }, "else": { "operation": "boost", "score": -0.0013377105351537466 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09862598031759262 }, "else": { "operation": "boost", "score": -0.011309255845844746 } }, "else": { "operation": "boost", "score": -0.10229040682315826 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10627840459346771 }, "else": { "operation": "boost", "score": -0.00032948266016319394 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.04058045893907547 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.026566995307803154 }, "else": { "operation": "boost", "score": -0.01617603562772274 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "boost", "score": 0.02119499072432518 }, "else": { "operation": "boost", "score": 0.0017607779009267688 } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11859950423240662 }, "else": { "operation": "boost", "score": 0.04431169852614403 } }, "else": { "operation": "boost", "score": 0.014712159521877766 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.007691806647926569 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31804.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44616.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 107411.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123410.5, "then": { "operation": "boost", "score": 0.06486315280199051 }, "else": { "operation": "boost", "score": -0.15742532908916473 } }, "else": { "operation": "boost", "score": 0.08741586655378342 } }, "else": { "operation": "boost", "score": -0.05135186389088631 } }, "else": { "operation": "boost", "score": 0.08381330966949463 } }, "else": { "operation": "boost", "score": -0.0398903451859951 } }, "else": { "operation": "boost", "score": 0.09328605234622955 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0025341357104480267 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 627.0, "then": { "operation": "boost", "score": 0.05639408901333809 }, "else": { "operation": "boost", "score": -0.06380024552345276 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.1360996812582016 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.013132060877978802 }, "else": { "operation": "boost", "score": 0.08836867660284042 } }, "else": { "operation": "boost", "score": 0.082058846950531 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.037663668394088745 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011389249935746193 }, "else": { "operation": "boost", "score": -0.10892304033041 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.5, "then": { "operation": "boost", "score": 0.0680447518825531 }, "else": { "operation": "boost", "score": 0.0032325093634426594 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "boost", "score": -0.030670268461108208 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.10876727849245071 }, "else": { "operation": "boost", "score": 0.1096789613366127 } }, "else": { "operation": "boost", "score": 0.11661893129348755 } }, "else": { "operation": "boost", "score": 0.007376855704933405 } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018087642267346382 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.04821731522679329 }, "else": { "operation": "boost", "score": 0.017637787386775017 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.041047919541597366 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.0005930791376158595 }, "else": { "operation": "boost", "score": -0.05607473477721214 } }, "else": { "operation": "boost", "score": 0.0014709606766700745 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.02395460568368435 }, "else": { "operation": "boost", "score": -1.782733678817749 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10560250282287598 }, "else": { "operation": "boost", "score": -0.14768949151039124 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5811403393745422, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.028076456859707832 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10541453212499619 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.049175161868333817 }, "else": { "operation": "boost", "score": 0.13737869262695312 } }, "else": { "operation": "boost", "score": 0.10340838134288788 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.16168177127838135 }, "else": { "operation": "boost", "score": 0.024613700807094574 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6833333373069763, "then": { "operation": "boost", "score": 0.011036409065127373 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05950808525085449 }, "else": { "operation": "boost", "score": 0.01905515417456627 } }, "else": { "operation": "boost", "score": -0.19591674208641052 } }, "else": { "operation": "boost", "score": 0.10315993428230286 } } }, "else": { "operation": "boost", "score": 0.013612275943160057 } } }, "else": { "operation": "boost", "score": 0.012571688741445541 } }, "else": { "operation": "boost", "score": -0.06326977908611298 } }, "else": { "operation": "boost", "score": 0.0042008887976408005 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.023574406281113625 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.05324860289692879 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.00610149372369051 }, "else": { "operation": "boost", "score": 0.05652255192399025 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 698.5, "then": { "operation": "boost", "score": 0.024413486942648888 }, "else": { "operation": "boost", "score": 0.0013323230668902397 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.048205312341451645 }, "else": { "operation": "boost", "score": 0.004066715016961098 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.1704065054655075 }, "else": { "operation": "boost", "score": 0.059059642255306244 } }, "else": { "operation": "boost", "score": -0.11694604158401489 } }, "else": { "operation": "boost", "score": 0.028956396505236626 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.004001713823527098 }, "else": { "operation": "boost", "score": 0.029262421652674675 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030864287167787552 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11163483560085297 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.025126254186034203 }, "else": { "operation": "boost", "score": 0.07571617513895035 } }, "else": { "operation": "boost", "score": -0.04578611999750137 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.09873697906732559 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.1309078335762024 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13608752191066742 }, "else": { "operation": "boost", "score": 0.028024528175592422 } } } }, "else": { "operation": "boost", "score": 0.04656270518898964 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009947589598596096 }, "else": { "operation": "boost", "score": -0.08866115659475327 } } }, "else": { "operation": "boost", "score": -0.0019679339602589607 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06238992512226105 }, "else": { "operation": "boost", "score": 0.047386642545461655 } }, "else": { "operation": "boost", "score": 0.020525388419628143 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21064.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24900.5, "then": { "operation": "boost", "score": -0.0023635674733668566 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23993.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.12576410174369812 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.12873192131519318 }, "else": { "operation": "boost", "score": 0.14630375802516937 } } }, "else": { "operation": "boost", "score": -0.018145399168133736 } } }, "else": { "operation": "boost", "score": 0.14999404549598694 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11359.0, "then": { "operation": "boost", "score": -0.18712837994098663 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5155.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.14437167346477509 }, "else": { "operation": "boost", "score": 0.011646865867078304 } }, "else": { "operation": "boost", "score": 0.0022597392089664936 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.10001029074192047 }, "else": { "operation": "boost", "score": 0.1227182000875473 } }, "else": { "operation": "boost", "score": 0.06616559624671936 } }, "else": { "operation": "boost", "score": 0.035169269889593124 } }, "else": { "operation": "boost", "score": 0.04914816841483116 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07572650909423828 }, "else": { "operation": "boost", "score": 0.009659088216722012 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37379.5, "then": { "operation": "boost", "score": -0.1045786514878273 }, "else": { "operation": "boost", "score": -0.010631367564201355 } }, "else": { "operation": "boost", "score": -0.032100826501846313 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.010473774746060371 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.0001324318873230368 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.01660260371863842 }, "else": { "operation": "boost", "score": -0.009708845056593418 } }, "else": { "operation": "boost", "score": 0.00887866597622633 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.0028875269927084446 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.14911553263664246 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.06402710825204849 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04455575346946716 }, "else": { "operation": "boost", "score": 0.19217799603939056 } }, "else": { "operation": "boost", "score": 0.003884962759912014 } }, "else": { "operation": "boost", "score": 0.025398489087820053 } } }, "else": { "operation": "boost", "score": -0.1269204318523407 } } }, "else": { "operation": "boost", "score": -0.037886105477809906 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.004292536061257124 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00559559790417552 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011135285720229149 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.07498686015605927 }, "else": { "operation": "boost", "score": 0.16212406754493713 } }, "else": { "operation": "boost", "score": 0.024601953104138374 } }, "else": { "operation": "boost", "score": -0.048979271203279495 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.000772632600273937 }, "else": { "operation": "boost", "score": -0.005201318766921759 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08874285966157913 }, "else": { "operation": "boost", "score": 0.00943811796605587 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.015432794578373432 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.002219980349764228 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 5.031563341617584e-05 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.07010538130998611 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.10758641362190247 }, "else": { "operation": "boost", "score": -0.0007271672948263586 } }, "else": { "operation": "boost", "score": 0.04449603334069252 } } }, "else": { "operation": "boost", "score": 0.026107823476195335 } } }, "else": { "operation": "boost", "score": 0.005742757115513086 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.016378769651055336 }, "else": { "operation": "boost", "score": 0.0037670712918043137 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.025955861434340477 }, "else": { "operation": "boost", "score": -0.020510630682110786 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.023852964863181114 }, "else": { "operation": "boost", "score": -0.0069471788592636585 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.042139939963817596 }, "else": { "operation": "boost", "score": 0.021467693150043488 } }, "else": { "operation": "boost", "score": 0.009496494196355343 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018304849043488503 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.21052636206150055 }, "else": { "operation": "boost", "score": -0.030540751293301582 } } } }, "else": { "operation": "boost", "score": 0.002679849276319146 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04917037859559059 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.02502637729048729 }, "else": { "operation": "boost", "score": 0.0077056242153048515 } }, "else": { "operation": "boost", "score": -0.003253932110965252 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.026627520099282265 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8194444179534912, "then": { "operation": "boost", "score": 0.11597324162721634 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.13583654165267944 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.08979512751102448 }, "else": { "operation": "boost", "score": -0.22476808726787567 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.10358958691358566 }, "else": { "operation": "boost", "score": 0.000561899971216917 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.22892571985721588 }, "else": { "operation": "boost", "score": 0.14426150918006897 } }, "else": { "operation": "boost", "score": -0.04813265800476074 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01513928547501564 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.0, "then": { "operation": "boost", "score": 0.12035846710205078 }, "else": { "operation": "boost", "score": -0.13557736575603485 } }, "else": { "operation": "boost", "score": -0.11120189726352692 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.07878253608942032 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -1.6359494924545288 }, "else": { "operation": "boost", "score": 0.033834949135780334 } }, "else": { "operation": "boost", "score": -1.8350533246994019 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.011732845567166805 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014802183024585247 }, "else": { "operation": "boost", "score": -0.8458218574523926 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.18444295227527618 }, "else": { "operation": "boost", "score": 0.053599920123815536 } } } }, "else": { "operation": "boost", "score": 0.12857647240161896 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04321013391017914 }, "else": { "operation": "boost", "score": 0.033522069454193115 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.055302344262599945 }, "else": { "operation": "boost", "score": -0.052090879529714584 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0798036977648735 }, "else": { "operation": "boost", "score": -0.108615942299366 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.09759863466024399 }, "else": { "operation": "boost", "score": 0.069037064909935 } } }, "else": { "operation": "boost", "score": 0.006634129211306572 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.012838131748139858 }, "else": { "operation": "boost", "score": 0.047649916261434555 } }, "else": { "operation": "boost", "score": -0.003385034156963229 } } }, "else": { "operation": "boost", "score": -0.0163728017359972 } }, "else": { "operation": "boost", "score": -0.02030360698699951 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03690498322248459 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.008955840021371841 }, "else": { "operation": "boost", "score": -0.02731527015566826 } }, "else": { "operation": "boost", "score": 0.0039385040290653706 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.1327665150165558 }, "else": { "operation": "boost", "score": 0.018022002652287483 } }, "else": { "operation": "boost", "score": -0.0007093716412782669 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51599.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.007095606066286564 }, "else": { "operation": "boost", "score": -0.049956176429986954 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "boost", "score": 0.06293699890375137 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 275328.5, "then": { "operation": "boost", "score": 0.007159675471484661 }, "else": { "operation": "boost", "score": -0.12067398428916931 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58696.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62601.0, "then": { "operation": "boost", "score": 0.050433505326509476 }, "else": { "operation": "boost", "score": -0.15741361677646637 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11563024669885635 }, "else": { "operation": "boost", "score": -0.18563233315944672 } } }, "else": { "operation": "boost", "score": 0.01893451437354088 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06006458029150963 }, "else": { "operation": "boost", "score": -0.007338542956858873 } } } }, "else": { "operation": "boost", "score": -0.0019284250447526574 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1414436250925064 }, "else": { "operation": "boost", "score": 0.15263313055038452 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09180538356304169 }, "else": { "operation": "boost", "score": -0.19928276538848877 } } } }, "else": { "operation": "boost", "score": -0.11915245652198792 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44048.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47423.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1462177038192749 }, "else": { "operation": "boost", "score": 0.08812731504440308 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45617.0, "then": { "operation": "boost", "score": 0.043240323662757874 }, "else": { "operation": "boost", "score": -0.19024299085140228 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.13055048882961273 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.10800279676914215 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1722072809934616 }, "else": { "operation": "boost", "score": 0.10559412091970444 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.13826905190944672 }, "else": { "operation": "boost", "score": 0.06044379994273186 } } } }, "else": { "operation": "boost", "score": -0.1815255731344223 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.05667230114340782 }, "else": { "operation": "boost", "score": 0.1279686987400055 } }, "else": { "operation": "boost", "score": 0.13258741796016693 } }, "else": { "operation": "boost", "score": 0.008189341053366661 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": 0.001840852783061564 }, "else": { "operation": "boost", "score": 0.07817194610834122 } } }, "else": { "operation": "boost", "score": -0.006900402717292309 } } }, "else": { "operation": "boost", "score": -0.02883552573621273 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.004689315799623728 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30283.0, "then": { "operation": "boost", "score": -0.05943670496344566 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27602.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28180.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.05805261805653572 }, "else": { "operation": "boost", "score": 0.10706564784049988 } }, "else": { "operation": "boost", "score": -0.013164343312382698 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.13473552465438843 }, "else": { "operation": "boost", "score": 0.065726138651371 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24339.0, "then": { "operation": "boost", "score": -0.06010580435395241 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.10774408280849457 }, "else": { "operation": "boost", "score": 0.10174094140529633 } }, "else": { "operation": "boost", "score": 0.06885496526956558 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1366836577653885 }, "else": { "operation": "boost", "score": 0.10085421800613403 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10548136383295059 }, "else": { "operation": "boost", "score": 0.10779708623886108 } } }, "else": { "operation": "boost", "score": 0.0063614314422011375 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.000826278468593955 }, "else": { "operation": "boost", "score": -0.004955016076564789 } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.060262344777584076 }, "else": { "operation": "boost", "score": 0.012311493046581745 } }, "else": { "operation": "boost", "score": 0.03133270889520645 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.03531655669212341 }, "else": { "operation": "boost", "score": 0.01477009616792202 } }, "else": { "operation": "boost", "score": 0.007924298755824566 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.003954735584557056 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06989337503910065 }, "else": { "operation": "boost", "score": 0.013163436204195023 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08062306046485901 }, "else": { "operation": "boost", "score": -0.07055865228176117 } } }, "else": { "operation": "boost", "score": -0.015341459773480892 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.14461608231067657 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.031241632997989655 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04341832175850868 }, "else": { "operation": "boost", "score": -0.16267384588718414 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0003350320621393621 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.015994500368833542 }, "else": { "operation": "boost", "score": 0.004244479816406965 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05503895878791809 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014854333363473415 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0447857566177845 }, "else": { "operation": "boost", "score": 0.07067462801933289 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.021103786304593086 }, "else": { "operation": "boost", "score": 0.11479691416025162 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.13492102921009064 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12105555087327957 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08274711668491364 }, "else": { "operation": "boost", "score": 0.007945477962493896 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.08020038157701492 }, "else": { "operation": "boost", "score": -0.009046518243849277 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.015389588661491871 }, "else": { "operation": "boost", "score": -0.04651069641113281 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021011944860219955 }, "else": { "operation": "boost", "score": -0.09802231192588806 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.10322044044733047 }, "else": { "operation": "boost", "score": -0.012338201515376568 } } } } } } }, "else": { "operation": "boost", "score": -0.07937192916870117 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.024079032242298126 }, "else": { "operation": "boost", "score": 0.06990277022123337 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07825152575969696 }, "else": { "operation": "boost", "score": -0.011959961615502834 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.00645489664748311 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1412690281867981 }, "else": { "operation": "boost", "score": 0.12298658490180969 } } }, "else": { "operation": "boost", "score": -0.06873956322669983 } }, "else": { "operation": "boost", "score": 0.13323666155338287 } }, "else": { "operation": "boost", "score": -0.1795036643743515 } }, "else": { "operation": "boost", "score": 0.0023272880353033543 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323356.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07014524191617966 }, "else": { "operation": "boost", "score": 0.024901138618588448 } }, "else": { "operation": "boost", "score": -0.11206169426441193 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": 0.005430266261100769 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09630940854549408 }, "else": { "operation": "boost", "score": 0.06674748659133911 } }, "else": { "operation": "boost", "score": 0.04062872380018234 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.04010331258177757 }, "else": { "operation": "boost", "score": 0.051700327545404434 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.06558343023061752 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 193454.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.036033034324645996 }, "else": { "operation": "boost", "score": -0.007157705258578062 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.060730576515197754 }, "else": { "operation": "boost", "score": -0.10418860614299774 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018218522891402245 }, "else": { "operation": "boost", "score": -0.19551482796669006 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.10678945481777191 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.07701951265335083 }, "else": { "operation": "boost", "score": -0.004151434171944857 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.21154667437076569 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105661.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120524.0, "then": { "operation": "boost", "score": 0.09483189880847931 }, "else": { "operation": "boost", "score": -0.052903637290000916 } }, "else": { "operation": "boost", "score": 0.0024548075161874294 } }, "else": { "operation": "boost", "score": -0.12226519733667374 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12101174145936966 }, "else": { "operation": "boost", "score": -0.036595944315195084 } } }, "else": { "operation": "boost", "score": -0.047660406678915024 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.1158093735575676 }, "else": { "operation": "boost", "score": 0.07310564070940018 } }, "else": { "operation": "boost", "score": 0.04834260791540146 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94712.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.1610443890094757 }, "else": { "operation": "boost", "score": -0.1608457714319229 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93746.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10507894307374954 }, "else": { "operation": "boost", "score": -0.1136685311794281 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71306.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92051.0, "then": { "operation": "boost", "score": -0.07152204215526581 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.0831417590379715 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "boost", "score": 0.006305673159658909 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74698.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0887322649359703 }, "else": { "operation": "boost", "score": -0.03233746811747551 } }, "else": { "operation": "boost", "score": 0.020436495542526245 } } } }, "else": { "operation": "boost", "score": -0.012949111871421337 } } }, "else": { "operation": "boost", "score": -0.04350103437900543 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55726.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": -0.158321812748909 }, "else": { "operation": "boost", "score": 0.1071108803153038 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.14805133640766144 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": 0.13513118028640747 }, "else": { "operation": "boost", "score": 0.07216425240039825 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1473298817873001 }, "else": { "operation": "boost", "score": 0.06696828454732895 } }, "else": { "operation": "boost", "score": -0.14855962991714478 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42438.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1426888406276703 }, "else": { "operation": "boost", "score": -0.1047116369009018 } }, "else": { "operation": "boost", "score": -0.13544999063014984 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.04404352232813835 }, "else": { "operation": "boost", "score": -0.07876444607973099 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10950107127428055 }, "else": { "operation": "boost", "score": 0.1279112994670868 } }, "else": { "operation": "boost", "score": 0.11640513688325882 } }, "else": { "operation": "boost", "score": -0.10563648492097855 } }, "else": { "operation": "boost", "score": -0.19816693663597107 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.02077779546380043 }, "else": { "operation": "boost", "score": 0.12600040435791016 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.11504503339529037 }, "else": { "operation": "boost", "score": 0.04973830655217171 } }, "else": { "operation": "boost", "score": -0.015110882930457592 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0009646415710449219 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191.5, "then": { "operation": "boost", "score": 0.025804560631513596 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.03520095720887184 }, "else": { "operation": "boost", "score": -0.01124120969325304 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.0673995241522789 }, "else": { "operation": "boost", "score": 0.18983140587806702 } }, "else": { "operation": "boost", "score": 0.009924876503646374 } }, "else": { "operation": "boost", "score": -0.023566216230392456 } }, "else": { "operation": "boost", "score": 0.008746090345084667 } }, "else": { "operation": "boost", "score": -0.003167852759361267 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.11874990165233612 }, "else": { "operation": "boost", "score": 0.01807326450943947 } }, "else": { "operation": "boost", "score": -0.19448454678058624 } } } } }, "else": { "operation": "boost", "score": -0.0023849690333008766 } } } } } } } } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03937830403447151 }, "else": { "operation": "boost", "score": 0.01383031252771616 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 151.5, "then": { "operation": "boost", "score": 0.02288883551955223 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.002867949428036809 }, "else": { "operation": "boost", "score": 0.03190087154507637 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.014364889822900295 }, "else": { "operation": "boost", "score": -0.0008188047213479877 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.01063183881342411 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1160079836845398 }, "else": { "operation": "boost", "score": 0.011862154118716717 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015303835272789001 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.049114253371953964 }, "else": { "operation": "boost", "score": 0.014072928577661514 } }, "else": { "operation": "boost", "score": 0.0006326998118311167 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.023168860003352165 }, "else": { "operation": "boost", "score": -0.13641303777694702 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.099570132791996 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.02216389775276184 }, "else": { "operation": "boost", "score": -0.032967835664749146 } }, "else": { "operation": "boost", "score": -0.005157408770173788 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.05908632278442383 }, "else": { "operation": "boost", "score": 0.011041529476642609 } }, "else": { "operation": "boost", "score": 0.016958091408014297 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.05107763037085533 }, "else": { "operation": "boost", "score": -0.04934771731495857 } } }, "else": { "operation": "boost", "score": -0.052355311810970306 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8540.0, "then": { "operation": "boost", "score": 0.01653948612511158 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.024591386318206787 }, "else": { "operation": "boost", "score": -0.07545486837625504 } }, "else": { "operation": "boost", "score": 0.036187686026096344 } }, "else": { "operation": "boost", "score": -0.05830562114715576 } }, "else": { "operation": "boost", "score": -0.018836205825209618 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04761645197868347 }, "else": { "operation": "boost", "score": -0.025313880294561386 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.031762395054101944 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": -0.0709267258644104 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.16816876828670502 }, "else": { "operation": "boost", "score": -0.14206045866012573 } }, "else": { "operation": "boost", "score": -0.0041124094277620316 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1085430160164833 }, "else": { "operation": "boost", "score": 0.029850685968995094 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.010065978392958641 }, "else": { "operation": "boost", "score": -0.12125115841627121 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13411185145378113 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.12282291054725647 }, "else": { "operation": "boost", "score": -0.07679085433483124 } }, "else": { "operation": "boost", "score": 0.03656414896249771 } } }, "else": { "operation": "boost", "score": -0.006415022071450949 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11069890856742859 }, "else": { "operation": "boost", "score": 0.02377360686659813 } }, "else": { "operation": "boost", "score": -0.04794768616557121 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04353565722703934 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10865360498428345 }, "else": { "operation": "boost", "score": 0.009541863575577736 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.006366312503814697 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.25080764293670654 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09590199589729309 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06281501054763794, "then": { "operation": "boost", "score": -0.001584047800861299 }, "else": { "operation": "boost", "score": 0.04097279533743858 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.0741359144449234 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.12959101796150208 }, "else": { "operation": "boost", "score": 0.08824146538972855 } } }, "else": { "operation": "boost", "score": 0.018443066626787186 } }, "else": { "operation": "boost", "score": 0.02017829194664955 } } } }, "else": { "operation": "boost", "score": -0.010905220173299313 } } }, "else": { "operation": "boost", "score": -0.0020542277488857508 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.00745679996907711 }, "else": { "operation": "boost", "score": -0.06434766948223114 } } }, "else": { "operation": "boost", "score": 0.01687428168952465 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.01215886976569891 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05268038809299469 }, "else": { "operation": "boost", "score": 0.010376626625657082 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.010045250877737999 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155294.5, "then": { "operation": "boost", "score": -0.3533863127231598 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23993.5, "then": { "operation": "boost", "score": 0.03945377841591835 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21099.5, "then": { "operation": "boost", "score": -0.14561587572097778 }, "else": { "operation": "boost", "score": 0.009852546267211437 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.03845791146159172 }, "else": { "operation": "boost", "score": -0.015399891883134842 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05108409747481346 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0022679090034216642 }, "else": { "operation": "boost", "score": 0.054279062896966934 } } }, "else": { "operation": "boost", "score": -0.10961317270994186 } } } }, "else": { "operation": "boost", "score": -0.10461385548114777 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 222.0, "then": { "operation": "boost", "score": -0.08397913724184036 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 170.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.10380604863166809 }, "else": { "operation": "boost", "score": 0.21377377212047577 } }, "else": { "operation": "boost", "score": 0.005235723685473204 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15975455939769745 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11467.0, "then": { "operation": "boost", "score": -0.14505699276924133 }, "else": { "operation": "boost", "score": -0.09625978767871857 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.15738284587860107 }, "else": { "operation": "boost", "score": 0.10994027554988861 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "boost", "score": 0.06835304945707321 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09366310387849808 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011117805726826191 }, "else": { "operation": "boost", "score": 0.04807957634329796 } }, "else": { "operation": "boost", "score": 0.018251823261380196 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30877.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.02020682580769062 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11521683633327484 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.07590501755475998 }, "else": { "operation": "boost", "score": 0.10955122858285904 } } } }, "else": { "operation": "boost", "score": -0.004279077053070068 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.014980337582528591 }, "else": { "operation": "boost", "score": -0.009993808344006538 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0022018258459866047 }, "else": { "operation": "boost", "score": 0.01612858474254608 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.014492071233689785 }, "else": { "operation": "boost", "score": -0.03415511175990105 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0015845184680074453 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.06319129467010498 }, "else": { "operation": "boost", "score": -0.0064754793420434 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01781558245420456 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "boost", "score": -0.015294366516172886 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.19058580696582794 }, "else": { "operation": "boost", "score": 0.01877022162079811 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.049537114799022675 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020030686631798744 }, "else": { "operation": "boost", "score": 0.01173095777630806 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.004447129555046558 }, "else": { "operation": "boost", "score": -0.07757987082004547 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "boost", "score": 0.15599551796913147 }, "else": { "operation": "boost", "score": 0.05272459611296654 } }, "else": { "operation": "boost", "score": 0.028400635346770287 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.005170593969523907 }, "else": { "operation": "boost", "score": 0.04460678622126579 } }, "else": { "operation": "boost", "score": -0.15314045548439026 } } } }, "else": { "operation": "boost", "score": -0.005736449267715216 } } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0323210246860981 }, "else": { "operation": "boost", "score": 0.009516747668385506 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008995169773697853 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0034555683378130198 }, "else": { "operation": "boost", "score": -0.04717494919896126 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.12882667779922485 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.029921263456344604 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04655851423740387 }, "else": { "operation": "boost", "score": -0.16083800792694092 } } } }, "else": { "operation": "boost", "score": 6.0952839703531936e-05 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.054953351616859436 }, "else": { "operation": "boost", "score": -0.04893653839826584 } }, "else": { "operation": "boost", "score": 0.00956257339566946 } }, "else": { "operation": "boost", "score": 0.0063604977913200855 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.009349498897790909 }, "else": { "operation": "boost", "score": 0.02611999399960041 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.00051396299386397 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11993.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04428427666425705 }, "else": { "operation": "boost", "score": -0.06829214096069336 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.025714918971061707 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.26133042573928833 }, "else": { "operation": "boost", "score": -0.1599729061126709 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.02746506594121456 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5471.0, "then": { "operation": "boost", "score": 0.07662207633256912 }, "else": { "operation": "boost", "score": 0.020294783636927605 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15623.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "boost", "score": 0.027973128482699394 }, "else": { "operation": "boost", "score": -0.11744114011526108 } }, "else": { "operation": "boost", "score": -0.3559429943561554 } }, "else": { "operation": "boost", "score": -0.056640662252902985 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.10044964402914047 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03580562397837639 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029029766097664833 }, "else": { "operation": "boost", "score": 0.01735427789390087 } } } }, "else": { "operation": "boost", "score": -0.01072782464325428 } }, "else": { "operation": "boost", "score": -0.03998810797929764 } }, "else": { "operation": "boost", "score": 0.028749734163284302 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.07064228504896164 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05000000074505806, "then": { "operation": "boost", "score": 0.13460847735404968 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13812875747680664 }, "else": { "operation": "boost", "score": 0.07195068895816803 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.0, "then": { "operation": "boost", "score": -0.5038118362426758 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1440895050764084 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1388888955116272, "then": { "operation": "boost", "score": 0.13920453190803528 }, "else": { "operation": "boost", "score": 0.7254771590232849 } } } }, "else": { "operation": "boost", "score": 0.06339586526155472 } } }, "else": { "operation": "boost", "score": 0.05665671452879906 } }, "else": { "operation": "boost", "score": -0.13662543892860413 } }, "else": { "operation": "boost", "score": -0.017104696482419968 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.054001711308956146 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03829061612486839 }, "else": { "operation": "boost", "score": -0.0006794232176616788 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.15033948421478271 }, "else": { "operation": "boost", "score": -0.031249115243554115 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.22358624637126923 }, "else": { "operation": "boost", "score": 0.12256628274917603 } }, "else": { "operation": "boost", "score": 0.09473061561584473 } }, "else": { "operation": "boost", "score": -0.21094465255737305 } }, "else": { "operation": "boost", "score": -0.0318593755364418 } } } }, "else": { "operation": "boost", "score": -0.018161285668611526 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00019750147475861013 }, "else": { "operation": "boost", "score": -0.04219229891896248 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.04875184968113899 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.15109992027282715 }, "else": { "operation": "boost", "score": 0.06547489017248154 } }, "else": { "operation": "boost", "score": -0.002298480598255992 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "boost", "score": 0.04057050868868828 }, "else": { "operation": "boost", "score": -0.005984407849609852 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.016993306577205658 }, "else": { "operation": "boost", "score": -0.08555255085229874 } }, "else": { "operation": "boost", "score": 0.021775750443339348 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.014937447383999825 }, "else": { "operation": "boost", "score": -0.06605532020330429 } } }, "else": { "operation": "boost", "score": 0.027057886123657227 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.029504209756851196 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.1011025533080101 }, "else": { "operation": "boost", "score": 0.08833962678909302 } }, "else": { "operation": "boost", "score": -0.08204032480716705 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.003674475010484457 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.030698511749505997 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1207703948020935 }, "else": { "operation": "boost", "score": -0.04145418480038643 } } }, "else": { "operation": "boost", "score": 0.04119708389043808 } }, "else": { "operation": "boost", "score": 0.0019114919705316424 } }, "else": { "operation": "boost", "score": 0.0023998164106160402 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19309678673744202 }, "else": { "operation": "boost", "score": 0.018770210444927216 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03779341280460358 }, "else": { "operation": "boost", "score": 0.002408769214525819 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021371927112340927 }, "else": { "operation": "boost", "score": -0.13691692054271698 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.011976159177720547 }, "else": { "operation": "boost", "score": -0.011154674924910069 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0008862720569595695 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0530594065785408 }, "else": { "operation": "boost", "score": -0.11725073307752609 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.008147931657731533 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.028671475127339363 }, "else": { "operation": "boost", "score": 0.13410280644893646 } }, "else": { "operation": "boost", "score": 0.01479382999241352 } } } } }, "else": { "operation": "boost", "score": 0.003067909274250269 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01103063765913248 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0898444876074791 }, "else": { "operation": "boost", "score": 0.023422284051775932 } }, "else": { "operation": "boost", "score": -0.03699127584695816 } } }, "else": { "operation": "boost", "score": -0.01062625739723444 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.036628589034080505 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.121660977602005 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 1.1375268697738647 }, "else": { "operation": "boost", "score": -0.10080470889806747 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.017687736079096794 }, "else": { "operation": "boost", "score": 0.04646436870098114 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.010113955475389957 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.03235044330358505 }, "else": { "operation": "boost", "score": -0.011282003484666348 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.1046086773276329 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.1134098470211029 }, "else": { "operation": "boost", "score": 0.32339146733283997 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.04564996808767319 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0010175658389925957 }, "else": { "operation": "boost", "score": 0.04622703790664673 } } } } }, "else": { "operation": "boost", "score": 0.020110873505473137 } } } }, "else": { "operation": "boost", "score": -0.04756084457039833 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.011563270352780819 }, "else": { "operation": "boost", "score": 0.03694186732172966 } }, "else": { "operation": "boost", "score": -0.10725616663694382 } }, "else": { "operation": "boost", "score": -0.09702319651842117 } } } }, "else": { "operation": "boost", "score": -0.0016677845269441605 } } }, "else": { "operation": "boost", "score": -0.02597106620669365 } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.038564249873161316 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.030068762600421906 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.021261323243379593 }, "else": { "operation": "boost", "score": -0.2663571536540985 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.02709398791193962 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.04151758924126625 }, "else": { "operation": "boost", "score": 0.1383521556854248 } } }, "else": { "operation": "boost", "score": 0.0007276833639480174 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.054281558841466904 }, "else": { "operation": "boost", "score": 0.028964724391698837 } } } } }, "else": { "operation": "boost", "score": 0.006169200409203768 } } }, "else": { "operation": "boost", "score": 0.003266445128247142 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010434816591441631 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.03144896775484085 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.04089927300810814 }, "else": { "operation": "boost", "score": -0.653803825378418 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008940648287534714 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10641330480575562 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.05195528641343117 }, "else": { "operation": "boost", "score": -0.16630074381828308 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.09330270439386368 }, "else": { "operation": "boost", "score": 0.06669612973928452 } } }, "else": { "operation": "boost", "score": -0.0841180831193924 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.11072784662246704 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.06876808404922485 }, "else": { "operation": "boost", "score": 0.05580928549170494 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.07149477303028107 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.05748530477285385 }, "else": { "operation": "boost", "score": 0.03987306356430054 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.045273538678884506 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.1144401803612709 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04251403361558914 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0651959627866745, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.032492995262145996 }, "else": { "operation": "boost", "score": -0.21110863983631134 } }, "else": { "operation": "boost", "score": 0.002115968381986022 } } } } } } } } } }, "else": { "operation": "boost", "score": 0.01171769481152296 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12048.0, "then": { "operation": "boost", "score": 0.03700198978185654 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03043292835354805 }, "else": { "operation": "boost", "score": -0.02427101694047451 } } }, "else": { "operation": "boost", "score": 0.44688060879707336 } } } } }, "else": { "operation": "boost", "score": -0.03260929882526398 } }, "else": { "operation": "boost", "score": -0.004853751976042986 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0386316180229187 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04142647981643677 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.15025708079338074 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07604237645864487 }, "else": { "operation": "boost", "score": -0.3104464113712311 } } }, "else": { "operation": "boost", "score": 0.06486096978187561 } } } }, "else": { "operation": "boost", "score": 0.005078161600977182 } }, "else": { "operation": "boost", "score": -0.018337048590183258 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05480930209159851 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.09087306261062622 }, "else": { "operation": "boost", "score": 0.00946497917175293 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06717725843191147 }, "else": { "operation": "boost", "score": -0.00816869456321001 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0038211725186556578 }, "else": { "operation": "boost", "score": -0.026624485850334167 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1260591745376587 }, "else": { "operation": "boost", "score": 0.04254290089011192 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.056297607719898224 }, "else": { "operation": "boost", "score": 0.018217161297798157 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07533760368824005 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004972155671566725 }, "else": { "operation": "boost", "score": -0.051688168197870255 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008099970407783985 }, "else": { "operation": "boost", "score": -0.07104837149381638 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.01564568653702736 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07207994908094406 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0025316195096820593 }, "else": { "operation": "boost", "score": 0.03695892170071602 } } } }, "else": { "operation": "boost", "score": 0.0033003126736730337 } }, "else": { "operation": "boost", "score": -0.0067421323619782925 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0035494500771164894 }, "else": { "operation": "boost", "score": -0.046012453734874725 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.18500150740146637 }, "else": { "operation": "boost", "score": -0.002037421567365527 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.2199534922838211 }, "else": { "operation": "boost", "score": -0.043813496828079224 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013798504136502743 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0021085471380501986 }, "else": { "operation": "boost", "score": -0.008188579231500626 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.021114930510520935 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.05321776866912842 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.028467442840337753 }, "else": { "operation": "boost", "score": 0.1013672724366188 } } } }, "else": { "operation": "boost", "score": 0.0069238608703017235 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1791.0, "then": { "operation": "boost", "score": -0.023287680000066757 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.5, "then": { "operation": "boost", "score": 0.03897171467542648 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.03018435835838318 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11038711667060852 }, "else": { "operation": "boost", "score": 0.1010182574391365 } } }, "else": { "operation": "boost", "score": 0.0762142539024353 } }, "else": { "operation": "boost", "score": 0.006832376588135958 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.015560224652290344 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.11648958176374435 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.04092585667967796 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.012201766483485699 }, "else": { "operation": "boost", "score": 0.04028934985399246 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.012677743099629879 }, "else": { "operation": "boost", "score": 0.09217070788145065 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 21.0, "then": { "operation": "boost", "score": -0.027649523690342903 }, "else": { "operation": "boost", "score": 0.17564891278743744 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.06237030401825905 }, "else": { "operation": "boost", "score": 0.017312267795205116 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.035403963178396225 }, "else": { "operation": "boost", "score": 0.01284706499427557 } } } } } }, "else": { "operation": "boost", "score": -0.011921098455786705 } } }, "else": { "operation": "boost", "score": -0.003593018278479576 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1481.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.01531428936868906 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1611.0, "then": { "operation": "boost", "score": 0.0431952066719532 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.02901131473481655 }, "else": { "operation": "boost", "score": 0.14802607893943787 } } } }, "else": { "operation": "boost", "score": -0.0607120655477047 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07963550090789795 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009704632684588432 }, "else": { "operation": "boost", "score": -0.03890591487288475 } }, "else": { "operation": "boost", "score": 0.009480170905590057 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10535949468612671 }, "else": { "operation": "boost", "score": 0.06815558671951294 } }, "else": { "operation": "boost", "score": 0.027120618149638176 } }, "else": { "operation": "boost", "score": 0.004307369235903025 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01408380176872015 }, "else": { "operation": "boost", "score": -0.09361381083726883 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0007057770271785557 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.04063224419951439 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022858064621686935 }, "else": { "operation": "boost", "score": -0.015430856496095657 } } }, "else": { "operation": "boost", "score": 0.002375636249780655 } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.013435802422463894 }, "else": { "operation": "boost", "score": -0.13522975146770477 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.10005796700716019 }, "else": { "operation": "boost", "score": 0.03056401014328003 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.017442788928747177 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": 0.01177766639739275 }, "else": { "operation": "boost", "score": 0.03391556441783905 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.06566726416349411 }, "else": { "operation": "boost", "score": -0.16797183454036713 } }, "else": { "operation": "boost", "score": 0.012864925898611546 } } }, "else": { "operation": "boost", "score": 0.01682494953274727 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.17104394733905792 }, "else": { "operation": "boost", "score": 0.006080983206629753 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.09515631943941116 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": -0.11296822875738144 }, "else": { "operation": "boost", "score": -0.002662813290953636 } }, "else": { "operation": "boost", "score": -0.12404294312000275 } }, "else": { "operation": "boost", "score": -0.00036499870475381613 } } } } }, "else": { "operation": "boost", "score": -0.02883034385740757 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7636363506317139, "then": { "operation": "boost", "score": 0.14101910591125488 }, "else": { "operation": "boost", "score": -0.11970432847738266 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": -0.0018055540276691318 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.013451624661684036 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02909817360341549 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05256623029708862 }, "else": { "operation": "boost", "score": -0.09287606924772263 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05736422911286354 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.01062039379030466 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08805765956640244 }, "else": { "operation": "boost", "score": -0.02408573031425476 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.005285854917019606 }, "else": { "operation": "boost", "score": -0.025959137827157974 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017395202070474625 }, "else": { "operation": "boost", "score": -0.02587788738310337 } } }, "else": { "operation": "boost", "score": -0.019803214818239212 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.046441446989774704 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.06298190355300903 }, "else": { "operation": "boost", "score": 0.10166887938976288 } } }, "else": { "operation": "boost", "score": 0.02341504395008087 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.4075770676136017 }, "else": { "operation": "boost", "score": -0.02417709492146969 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.044253457337617874 }, "else": { "operation": "boost", "score": -0.04984248802065849 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6397.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32060.5, "then": { "operation": "boost", "score": -0.15985314548015594 }, "else": { "operation": "boost", "score": 0.07083117216825485 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5707.0, "then": { "operation": "boost", "score": -0.7200466990470886 }, "else": { "operation": "boost", "score": 0.0051532625220716 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0378614105284214 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005660246592015028 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0520847924053669 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.026261569932103157 }, "else": { "operation": "boost", "score": -0.07510533928871155 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.04789121821522713 }, "else": { "operation": "boost", "score": 0.011985131539404392 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.006072433665394783 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.024025319144129753 }, "else": { "operation": "boost", "score": -0.15067651867866516 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.02308502234518528 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.015673911198973656 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03670073673129082 }, "else": { "operation": "boost", "score": -0.056343816220760345 } }, "else": { "operation": "boost", "score": -0.008958615362644196 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.014116169884800911 }, "else": { "operation": "boost", "score": 0.09732616692781448 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0005582079757004976 }, "else": { "operation": "boost", "score": -0.010841659270226955 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0016946722753345966 }, "else": { "operation": "boost", "score": -0.046103715896606445 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.010705679655075073 }, "else": { "operation": "boost", "score": 0.0037326014135032892 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.28027990460395813 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1357920616865158 }, "else": { "operation": "boost", "score": 0.010975666344165802 } } }, "else": { "operation": "boost", "score": -0.021552059799432755 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.5769132971763611 }, "else": { "operation": "boost", "score": 0.09570655971765518 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.01573362573981285 }, "else": { "operation": "boost", "score": 0.03338591754436493 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.14444266259670258 }, "else": { "operation": "boost", "score": 0.10314779728651047 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.024188650771975517 }, "else": { "operation": "boost", "score": 0.0066881682723760605 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.003790962975472212 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.034814368933439255 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.004671327769756317 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.028526129201054573 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.07837552577257156 }, "else": { "operation": "boost", "score": -0.048958275467157364 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.18361438810825348 }, "else": { "operation": "boost", "score": 0.039442721754312515 } } }, "else": { "operation": "boost", "score": -0.001596741029061377 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.05222376435995102 }, "else": { "operation": "boost", "score": -0.01359616033732891 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007041463162750006 }, "else": { "operation": "boost", "score": -0.020923377946019173 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.001427146140486002 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.048508137464523315 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05645196884870529 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.08839742094278336 }, "else": { "operation": "boost", "score": -0.011195512488484383 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.03723578900098801 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0661061480641365 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02574605494737625 }, "else": { "operation": "boost", "score": -0.00508191529661417 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04966650530695915 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.010125871747732162 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06065600365400314 }, "else": { "operation": "boost", "score": -0.0272140484303236 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0035379056353121996 }, "else": { "operation": "boost", "score": -0.10627637058496475 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11125019937753677 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.013459459878504276 }, "else": { "operation": "boost", "score": 0.020065436139702797 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.00878145545721054 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.017459888011217117 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.009072203189134598 }, "else": { "operation": "boost", "score": -0.08061004430055618 } }, "else": { "operation": "boost", "score": 0.003286819439381361 } } } } }, "else": { "operation": "boost", "score": -0.027257971465587616 } } }, "else": { "operation": "boost", "score": -0.009108525700867176 } } }, "else": { "operation": "boost", "score": -0.00632026931270957 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011509270407259464 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009560362435877323 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0056553916074335575 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.037439025938510895 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.23454400897026062 }, "else": { "operation": "boost", "score": 0.006277382839471102 } } }, "else": { "operation": "boost", "score": -0.11984774470329285 } } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009543932043015957 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.007611863315105438 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.008583194576203823 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.017634477466344833 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "boost", "score": -0.03337264433503151 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.13320571184158325 }, "else": { "operation": "boost", "score": 0.07547067850828171 } } } }, "else": { "operation": "boost", "score": 0.04239572584629059 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 883.5, "then": { "operation": "boost", "score": 0.02860281802713871 }, "else": { "operation": "boost", "score": 0.002858088817447424 } } }, "else": { "operation": "boost", "score": -0.006584179122000933 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.1295512467622757 }, "else": { "operation": "boost", "score": -0.035557106137275696 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18943.0, "then": { "operation": "boost", "score": -0.3198107182979584 }, "else": { "operation": "boost", "score": 0.013897327706217766 } }, "else": { "operation": "boost", "score": -0.12690071761608124 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": 0.01995094120502472 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.6009328961372375 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.14946967363357544 }, "else": { "operation": "boost", "score": 0.1309615969657898 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009748296812176704 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.214747816324234 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10777938365936279 }, "else": { "operation": "boost", "score": -0.040771082043647766 } }, "else": { "operation": "boost", "score": 0.2674146890640259 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.02161310985684395 }, "else": { "operation": "boost", "score": 0.13496190309524536 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09329487383365631 }, "else": { "operation": "boost", "score": 0.19867251813411713 } }, "else": { "operation": "boost", "score": -0.2723483145236969 } }, "else": { "operation": "boost", "score": 0.05806298181414604 } } } } } }, "else": { "operation": "boost", "score": 0.0013410650426521897 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.14320723712444305 }, "else": { "operation": "boost", "score": -0.28786662220954895 } }, "else": { "operation": "boost", "score": -0.014946049079298973 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1329728215932846 }, "else": { "operation": "boost", "score": 0.1228613629937172 } }, "else": { "operation": "boost", "score": 0.018888289108872414 } }, "else": { "operation": "boost", "score": -0.0026789435651153326 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.00557591812685132 }, "else": { "operation": "boost", "score": -0.02965734153985977 } }, "else": { "operation": "boost", "score": 0.019435415044426918 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "boost", "score": 0.13228189945220947 }, "else": { "operation": "boost", "score": 0.1140662357211113 } }, "else": { "operation": "boost", "score": 0.1253153532743454 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "boost", "score": 0.1266273558139801 }, "else": { "operation": "boost", "score": -0.116947703063488 } }, "else": { "operation": "boost", "score": 0.05861743167042732 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029997318983078003 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24366.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25183.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10854774713516235 }, "else": { "operation": "boost", "score": 0.019069727510213852 } }, "else": { "operation": "boost", "score": -0.22537539899349213 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1098862737417221 }, "else": { "operation": "boost", "score": 0.11186284571886063 } }, "else": { "operation": "boost", "score": 0.11834882199764252 } }, "else": { "operation": "boost", "score": 0.008990845642983913 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 624.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 900.5, "then": { "operation": "boost", "score": 0.03369787335395813 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 899.5, "then": { "operation": "boost", "score": 0.11554060131311417 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09157435595989227 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.14976342022418976 }, "else": { "operation": "boost", "score": 0.11614417284727097 } }, "else": { "operation": "boost", "score": 0.14131474494934082 } } }, "else": { "operation": "boost", "score": -0.004440354648977518 } }, "else": { "operation": "boost", "score": 0.028134338557720184 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.009076167829334736 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 358.5, "then": { "operation": "boost", "score": 0.15576785802841187 }, "else": { "operation": "boost", "score": 0.11662428081035614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298.5, "then": { "operation": "boost", "score": -0.09304868429899216 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.5, "then": { "operation": "boost", "score": 0.11261320114135742 }, "else": { "operation": "boost", "score": 0.14943742752075195 } }, "else": { "operation": "boost", "score": 0.03079182095825672 } } } } }, "else": { "operation": "boost", "score": -0.02539379708468914 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.009835162200033665 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1282.0, "then": { "operation": "boost", "score": -0.015965070575475693 }, "else": { "operation": "boost", "score": 0.05179620906710625 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04003649204969406 }, "else": { "operation": "boost", "score": -0.0003146169474348426 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30138.5, "then": { "operation": "boost", "score": 0.11208869516849518 }, "else": { "operation": "boost", "score": 0.037219054996967316 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.13623186945915222 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.5440766215324402 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1617254912853241 }, "else": { "operation": "boost", "score": 0.4255756437778473 } } }, "else": { "operation": "boost", "score": 0.13727393746376038 } } }, "else": { "operation": "boost", "score": -0.0580938458442688 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5362.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17326.5, "then": { "operation": "boost", "score": 0.007889414206147194 }, "else": { "operation": "boost", "score": -0.14537020027637482 } }, "else": { "operation": "boost", "score": 0.03673520311713219 } } }, "else": { "operation": "boost", "score": -0.0015229604905471206 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03303470462560654 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.015795178711414337 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.09739834815263748 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.121756911277771 }, "else": { "operation": "boost", "score": -0.11325494945049286 } } } } }, "else": { "operation": "boost", "score": 0.0037840669974684715 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30283.0, "then": { "operation": "boost", "score": -0.04286159202456474 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008086415007710457 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.08130759000778198 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.13895611464977264 }, "else": { "operation": "boost", "score": 0.10425281524658203 } } }, "else": { "operation": "boost", "score": 0.01478923112154007 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.22726672887802124 }, "else": { "operation": "boost", "score": -0.02888481505215168 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11476002633571625 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.3065928518772125 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07157295197248459 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.07303038984537125 }, "else": { "operation": "boost", "score": -0.12317882478237152 } } } }, "else": { "operation": "boost", "score": -0.02101106382906437 } } }, "else": { "operation": "boost", "score": 0.0014692749828100204 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1747518926858902 }, "else": { "operation": "boost", "score": 0.07497917860746384 } }, "else": { "operation": "boost", "score": 0.009259535931050777 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.008745999075472355 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 36.0, "then": { "operation": "boost", "score": -0.08166028559207916 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12110237032175064 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.15513460338115692 }, "else": { "operation": "boost", "score": -0.10196114331483841 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.004132767673581839 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.010452774353325367 }, "else": { "operation": "boost", "score": 0.05024867504835129 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04432089999318123 }, "else": { "operation": "boost", "score": -0.09755988419055939 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024981966242194176 }, "else": { "operation": "boost", "score": 0.002171476371586323 } }, "else": { "operation": "boost", "score": -0.022950466722249985 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.07646918296813965 }, "else": { "operation": "boost", "score": -0.11161623895168304 } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07932544499635696 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2401.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2435.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3146.5, "then": { "operation": "boost", "score": 0.031312234699726105 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3102.5, "then": { "operation": "boost", "score": 0.12950442731380463 }, "else": { "operation": "boost", "score": 0.0767441913485527 } } }, "else": { "operation": "boost", "score": 0.11818220466375351 } }, "else": { "operation": "boost", "score": 0.0070661697536706924 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.1632160246372223 }, "else": { "operation": "boost", "score": 0.014848681166768074 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.023290302604436874 }, "else": { "operation": "boost", "score": 0.26591816544532776 } }, "else": { "operation": "boost", "score": -0.04473527893424034 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.1014535054564476 }, "else": { "operation": "boost", "score": 0.4264606833457947 } }, "else": { "operation": "boost", "score": 0.09129638224840164 } } }, "else": { "operation": "boost", "score": 0.005889330059289932 } }, "else": { "operation": "boost", "score": -0.0015508814249187708 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.1367075890302658 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.15276655554771423 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5694444179534912, "then": { "operation": "boost", "score": 0.035629913210868835 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014830718748271465 }, "else": { "operation": "boost", "score": 0.11314737051725388 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0023343663197010756 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.07452434301376343 }, "else": { "operation": "boost", "score": -0.5818341374397278 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.05804726481437683 }, "else": { "operation": "boost", "score": 0.13373003900051117 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10244576632976532 }, "else": { "operation": "boost", "score": 0.06235335022211075 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.27643823623657227 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.2146500200033188 }, "else": { "operation": "boost", "score": 0.03821362927556038 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.009597317315638065 }, "else": { "operation": "boost", "score": -0.004428786225616932 } } } } }, "else": { "operation": "boost", "score": -0.14249439537525177 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.006905480287969112 }, "else": { "operation": "boost", "score": -0.005809381604194641 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.015321588143706322 }, "else": { "operation": "boost", "score": -0.0010205277940258384 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.11237724125385284 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.09382099658250809 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.23978909850120544 }, "else": { "operation": "boost", "score": -0.00675966776907444 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08937636762857437 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.18055163323879242 }, "else": { "operation": "boost", "score": 0.2504871189594269 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.018913695588707924 }, "else": { "operation": "boost", "score": 0.15504467487335205 } }, "else": { "operation": "boost", "score": -0.10041139274835587 } } }, "else": { "operation": "boost", "score": 0.020540615543723106 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.02700350433588028 }, "else": { "operation": "boost", "score": -0.019758492708206177 } }, "else": { "operation": "boost", "score": -0.17195908725261688 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1193501278758049 }, "else": { "operation": "boost", "score": 0.011456739157438278 } }, "else": { "operation": "boost", "score": 0.2535754442214966 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019660573452711105 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.14680978655815125 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": 0.026401720941066742 }, "else": { "operation": "boost", "score": 0.1299007534980774 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.17540882527828217 }, "else": { "operation": "boost", "score": 0.04544103890657425 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.20463843643665314 }, "else": { "operation": "boost", "score": 0.027315225452184677 } }, "else": { "operation": "boost", "score": 0.07311877608299255 } } } } }, "else": { "operation": "boost", "score": -0.011956813745200634 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.00510704331099987 }, "else": { "operation": "boost", "score": -0.20217740535736084 } }, "else": { "operation": "boost", "score": -0.021582426503300667 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.023969655856490135 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": -0.029834842309355736 }, "else": { "operation": "boost", "score": -0.40407535433769226 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": 0.027674494311213493 }, "else": { "operation": "boost", "score": 0.06387511640787125 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.12185179442167282 }, "else": { "operation": "boost", "score": 0.05609910190105438 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.04442960396409035 }, "else": { "operation": "boost", "score": 0.3622494637966156 } } }, "else": { "operation": "boost", "score": 0.0072293588891625404 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.0725456029176712 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "boost", "score": 0.16128666698932648 }, "else": { "operation": "boost", "score": -0.006368858739733696 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 136397.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10354543477296829 }, "else": { "operation": "boost", "score": -0.07368141412734985 } }, "else": { "operation": "boost", "score": 0.056426744908094406 } }, "else": { "operation": "boost", "score": 0.0037608256097882986 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.10896484553813934 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7136363983154297, "then": { "operation": "boost", "score": 0.14762859046459198 }, "else": { "operation": "boost", "score": 0.02860211580991745 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 559.0, "then": { "operation": "boost", "score": -0.07608204334974289 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04110982269048691 }, "else": { "operation": "boost", "score": 0.0025163383688777685 } }, "else": { "operation": "boost", "score": -0.07851005345582962 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 847.0, "then": { "operation": "boost", "score": -0.03564049303531647 }, "else": { "operation": "boost", "score": 0.005741099826991558 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0005358494236133993 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.0, "then": { "operation": "boost", "score": 0.00613754615187645 }, "else": { "operation": "boost", "score": 0.14458730816841125 } }, "else": { "operation": "boost", "score": 0.043110478669404984 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4678.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.02531440742313862 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005587033927440643 }, "else": { "operation": "boost", "score": 0.11274608969688416 } } }, "else": { "operation": "boost", "score": 0.005529620219022036 } } } }, "else": { "operation": "boost", "score": -0.001498684287071228 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323356.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0352255217730999 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016717860475182533 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.23522576689720154 }, "else": { "operation": "boost", "score": 0.08401937782764435 } } }, "else": { "operation": "boost", "score": -0.04522987827658653 } } }, "else": { "operation": "boost", "score": -0.09290846437215805 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.061067450791597366 }, "else": { "operation": "boost", "score": 0.0017929807072505355 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.05679338425397873 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15382398664951324 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.16154368221759796 }, "else": { "operation": "boost", "score": 0.09152686595916748 } }, "else": { "operation": "boost", "score": 0.06286702305078506 } }, "else": { "operation": "boost", "score": 0.021490395069122314 } } }, "else": { "operation": "boost", "score": -0.12291167676448822 } }, "else": { "operation": "boost", "score": 0.02931390330195427 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.14554139971733093 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.003960867412388325 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120391.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0036064675077795982 }, "else": { "operation": "boost", "score": 0.11707659810781479 } }, "else": { "operation": "boost", "score": -0.05204692482948303 } }, "else": { "operation": "boost", "score": 0.018732575699687004 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "boost", "score": 0.007268888875842094 }, "else": { "operation": "boost", "score": -0.0003491016977932304 } } } }, "else": { "operation": "boost", "score": 0.13790592551231384 } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07271980494260788 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2401.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2435.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3149.5, "then": { "operation": "boost", "score": 0.030291467905044556 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3102.5, "then": { "operation": "boost", "score": 0.12186964601278305 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2533.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2678.0, "then": { "operation": "boost", "score": 0.07078348100185394 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2632.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.07072458416223526 }, "else": { "operation": "boost", "score": 0.11754748225212097 } }, "else": { "operation": "boost", "score": 0.10478711128234863 } } }, "else": { "operation": "boost", "score": -0.047284360975027084 } } } }, "else": { "operation": "boost", "score": 0.11735771596431732 } }, "else": { "operation": "boost", "score": 0.007190174423158169 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.14944793283939362 }, "else": { "operation": "boost", "score": 0.017157770693302155 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0017791838617995381 }, "else": { "operation": "boost", "score": -0.027567902579903603 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 505.5, "then": { "operation": "boost", "score": 0.13589170575141907 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.05299295485019684 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02631578966975212, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023931834846735 }, "else": { "operation": "boost", "score": 0.11619990319013596 } }, "else": { "operation": "boost", "score": -0.04391387850046158 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.0010709043126553297 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1635269969701767 }, "else": { "operation": "boost", "score": 0.11293839663267136 } }, "else": { "operation": "boost", "score": 0.10289989411830902 } }, "else": { "operation": "boost", "score": 0.044455695897340775 } } }, "else": { "operation": "boost", "score": 0.02768954075872898 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.03919774666428566 }, "else": { "operation": "boost", "score": 0.009465603157877922 } } } } } }, "else": { "operation": "boost", "score": -0.13798761367797852 } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": 0.031871963292360306 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "boost", "score": -0.05690528079867363 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.09782407432794571 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": 0.005859398283064365 }, "else": { "operation": "boost", "score": 0.08971341699361801 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 171597.5, "then": { "operation": "boost", "score": -0.17459654808044434 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.10248398780822754 }, "else": { "operation": "boost", "score": -0.015247398987412453 } }, "else": { "operation": "boost", "score": 0.004790626000612974 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007077918853610754 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.12574242055416107 }, "else": { "operation": "boost", "score": 0.22724463045597076 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159339.0, "then": { "operation": "boost", "score": -0.23360785841941833 }, "else": { "operation": "boost", "score": 0.0016955184983089566 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.011414100416004658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20310.0, "then": { "operation": "boost", "score": 0.027628496289253235 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13890071213245392 }, "else": { "operation": "boost", "score": -0.1251096874475479 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17949.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19413258135318756 }, "else": { "operation": "boost", "score": -0.02468270994722843 } }, "else": { "operation": "boost", "score": 0.010960215702652931 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "boost", "score": 0.0052934433333575726 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.001003385172225535 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2445489764213562 }, "else": { "operation": "boost", "score": 0.1259857565164566 } }, "else": { "operation": "boost", "score": -0.006141533609479666 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.6945720314979553 }, "else": { "operation": "boost", "score": -0.01857573725283146 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": -0.023536983877420425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.13810862600803375 }, "else": { "operation": "boost", "score": -0.2658828794956207 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.10945569723844528 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04241473227739334 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13734161853790283 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.22896546125411987 }, "else": { "operation": "boost", "score": 0.011728363111615181 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.32088735699653625 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.18598118424415588 }, "else": { "operation": "boost", "score": 0.145375058054924 } }, "else": { "operation": "boost", "score": -0.04248042404651642 } } } }, "else": { "operation": "boost", "score": -0.001262929174117744 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2195.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5453.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016514940187335014 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54332.5, "then": { "operation": "boost", "score": -0.036545705050230026 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22379.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41256.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11032595485448837 }, "else": { "operation": "boost", "score": -0.10907115787267685 } }, "else": { "operation": "boost", "score": -0.004856247454881668 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.15869903564453125 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.14972756803035736 }, "else": { "operation": "boost", "score": 0.22853614389896393 } }, "else": { "operation": "boost", "score": 0.10764356702566147 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.07220607250928879 }, "else": { "operation": "boost", "score": 0.16111785173416138 } } } } }, "else": { "operation": "boost", "score": 0.055542539805173874 } } }, "else": { "operation": "boost", "score": -0.048882707953453064 } }, "else": { "operation": "boost", "score": 0.010975620709359646 } } }, "else": { "operation": "boost", "score": -0.0008097323006950319 } }, "else": { "operation": "boost", "score": -0.04705028980970383 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4100.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.037627581506967545 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4174.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5283.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5339.0, "then": { "operation": "boost", "score": -0.048991765826940536 }, "else": { "operation": "boost", "score": 0.13327419757843018 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4399.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4409.0, "then": { "operation": "boost", "score": 0.0861191600561142 }, "else": { "operation": "boost", "score": 0.23694580793380737 } }, "else": { "operation": "boost", "score": -0.15222792327404022 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4302.5, "then": { "operation": "boost", "score": 0.06765639036893845 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.1424681395292282 }, "else": { "operation": "boost", "score": 0.14764991402626038 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.17494872212409973 }, "else": { "operation": "boost", "score": 0.10520297288894653 } } }, "else": { "operation": "boost", "score": 0.025991687551140785 } } }, "else": { "operation": "boost", "score": 0.16216635704040527 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2459.0, "then": { "operation": "boost", "score": 0.01605847105383873 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "boost", "score": 0.1127946600317955 }, "else": { "operation": "boost", "score": 0.1811632215976715 } }, "else": { "operation": "boost", "score": 0.04814969003200531 } } }, "else": { "operation": "boost", "score": 0.17129550874233246 } } }, "else": { "operation": "boost", "score": 0.018736520782113075 } }, "else": { "operation": "boost", "score": -0.0343179889023304 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0029453637544065714 }, "else": { "operation": "boost", "score": 0.016401216387748718 } }, "else": { "operation": "boost", "score": -0.09799113869667053 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007896837778389454 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.0025168994907289743 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.11467655003070831 }, "else": { "operation": "boost", "score": 0.024424491450190544 } }, "else": { "operation": "boost", "score": -0.007310532499104738 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12443819642066956 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0035631044302135706 }, "else": { "operation": "boost", "score": -0.008986982516944408 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023761725053191185 }, "else": { "operation": "boost", "score": -0.017716599628329277 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.03538259118795395 }, "else": { "operation": "boost", "score": -0.1455874890089035 } }, "else": { "operation": "boost", "score": -0.04808923974633217 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0029287291690707207 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.013254859484732151 }, "else": { "operation": "boost", "score": -0.013607860542833805 } } } } }, "else": { "operation": "boost", "score": -0.01896427944302559 } }, "else": { "operation": "boost", "score": -0.03987665846943855 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0016057188622653484 }, "else": { "operation": "boost", "score": 0.13489805161952972 } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07963182032108307 }, "else": { "operation": "boost", "score": 0.00846092402935028 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.13736312091350555 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.04183298721909523 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01914840377867222 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07107304781675339 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.334110289812088 }, "else": { "operation": "boost", "score": 0.08036689460277557 } }, "else": { "operation": "boost", "score": -0.014230316504836082 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0020142316352576017 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006073031574487686 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.03518424555659294 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07550010830163956 }, "else": { "operation": "boost", "score": 0.0991765707731247 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03151776269078255 }, "else": { "operation": "boost", "score": 0.09667878597974777 } }, "else": { "operation": "boost", "score": 0.010098605416715145 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10982761532068253 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.04742194712162018 }, "else": { "operation": "boost", "score": 0.0175915714353323 } }, "else": { "operation": "boost", "score": -0.04533904790878296 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0451512336730957 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.005792181473225355 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6190476417541504, "then": { "operation": "boost", "score": 0.0802665501832962 }, "else": { "operation": "boost", "score": 0.0464773029088974 } }, "else": { "operation": "boost", "score": 0.04906149208545685 } } } } }, "else": { "operation": "boost", "score": 0.00182180549018085 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5811403393745422, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.21303798258304596 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.45086240768432617 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12832720577716827 }, "else": { "operation": "boost", "score": -0.12493003159761429 } } }, "else": { "operation": "boost", "score": 0.030104711651802063 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03720709681510925 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.06907923519611359 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.0017599978018552065 }, "else": { "operation": "boost", "score": 0.11850801855325699 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011560242623090744 }, "else": { "operation": "boost", "score": -0.005367468111217022 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.04277527704834938 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02742583304643631 }, "else": { "operation": "boost", "score": 0.011669686995446682 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.16171684861183167 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04192972183227539 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13758307695388794 }, "else": { "operation": "boost", "score": 0.10288197547197342 } } } }, "else": { "operation": "boost", "score": 0.024063006043434143 } }, "else": { "operation": "boost", "score": 0.005906339269131422 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007926573045551777 }, "else": { "operation": "boost", "score": 0.01316104270517826 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.039876118302345276 }, "else": { "operation": "boost", "score": 0.0019774187821894884 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0008502574055455625 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12860222160816193 }, "else": { "operation": "boost", "score": -0.036265552043914795 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.031604018062353134 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.03170159086585045 }, "else": { "operation": "boost", "score": 0.11102037876844406 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1512681096792221 }, "else": { "operation": "boost", "score": 0.012774158269166946 } }, "else": { "operation": "boost", "score": -0.01491548866033554 } } } }, "else": { "operation": "boost", "score": 0.0014616678236052394 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020735034719109535 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.003132858080789447 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.015362963080406189 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.05720027908682823 }, "else": { "operation": "boost", "score": 0.0019871785771101713 } } } } }, "else": { "operation": "boost", "score": 0.0020820770878344774 } }, "else": { "operation": "boost", "score": -0.0038999649696052074 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11538.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0015353065682575107 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13650.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21689.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34039.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51599.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81237.5, "then": { "operation": "boost", "score": 0.02071131393313408 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.15357714891433716 }, "else": { "operation": "boost", "score": -0.05908498913049698 } } }, "else": { "operation": "boost", "score": -0.07985755056142807 } }, "else": { "operation": "boost", "score": 0.17819459736347198 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.03263849765062332 }, "else": { "operation": "boost", "score": 0.0014056472573429346 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.27682042121887207 }, "else": { "operation": "boost", "score": -0.04304707050323486 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47903.5, "then": { "operation": "boost", "score": 0.08384064584970474 }, "else": { "operation": "boost", "score": 0.041568320244550705 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14853766560554504 }, "else": { "operation": "boost", "score": 0.026025809347629547 } }, "else": { "operation": "boost", "score": 0.08861199021339417 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.055260706692934036 }, "else": { "operation": "boost", "score": -0.07253166288137436 } } } }, "else": { "operation": "boost", "score": 0.14591781795024872 } }, "else": { "operation": "boost", "score": -0.01714162901043892 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.10343771427869797 }, "else": { "operation": "boost", "score": 0.060994792729616165 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23639.5, "then": { "operation": "boost", "score": 0.13562996685504913 }, "else": { "operation": "boost", "score": 0.1308707445859909 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23670.0, "then": { "operation": "boost", "score": -0.17256002128124237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23530.5, "then": { "operation": "boost", "score": 0.11293838173151016 }, "else": { "operation": "boost", "score": 0.06684472411870956 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15241092443466187 }, "else": { "operation": "boost", "score": 0.06121528148651123 } }, "else": { "operation": "boost", "score": 0.022694366052746773 } } } } }, "else": { "operation": "boost", "score": -0.013790400698781013 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13630.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.03707519918680191 }, "else": { "operation": "boost", "score": 0.3135356903076172 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12103.0, "then": { "operation": "boost", "score": 0.044678039848804474 }, "else": { "operation": "boost", "score": 0.09570205956697464 } }, "else": { "operation": "boost", "score": 0.05193081125617027 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10512.0, "then": { "operation": "boost", "score": -0.057923078536987305 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2417.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.010606556199491024 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7343.5, "then": { "operation": "boost", "score": 0.06683764606714249 }, "else": { "operation": "boost", "score": 0.09689395874738693 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5489.0, "then": { "operation": "boost", "score": -0.19661694765090942 }, "else": { "operation": "boost", "score": 0.0874442458152771 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1741335391998291 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.023827973753213882 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.0439685694873333 }, "else": { "operation": "boost", "score": 0.00542305875569582 } }, "else": { "operation": "boost", "score": 0.10408622026443481 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0039001659024506807 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.03540974482893944 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.00806677807122469 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.0945664718747139 }, "else": { "operation": "boost", "score": 0.02583887055516243 } }, "else": { "operation": "boost", "score": -0.004696503281593323 } } }, "else": { "operation": "boost", "score": -0.014060160145163536 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.009309097193181515 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011938800103962421 }, "else": { "operation": "boost", "score": -0.0037101132329553366 } }, "else": { "operation": "boost", "score": -0.013298619538545609 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.030892062932252884 }, "else": { "operation": "boost", "score": 0.008150971494615078 } } } } } }, "else": { "operation": "boost", "score": -0.0026942575350403786 } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03979991748929024 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.08283963054418564 }, "else": { "operation": "boost", "score": 0.030207233503460884 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009189972653985023 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.04154224693775177 }, "else": { "operation": "boost", "score": 0.015572352334856987 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003040298353880644 }, "else": { "operation": "boost", "score": -0.029332948848605156 } } }, "else": { "operation": "boost", "score": -0.041594043374061584 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.02615475095808506 }, "else": { "operation": "boost", "score": -0.013300401158630848 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07829426229000092 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.02837296947836876 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0705345943570137 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8999999761581421, "then": { "operation": "boost", "score": 0.1169532835483551 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1291540116071701 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.054411765187978745, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.01554314885288477 }, "else": { "operation": "boost", "score": 0.07426635175943375 } }, "else": { "operation": "boost", "score": 0.033868152648210526 } } } } }, "else": { "operation": "boost", "score": 0.005777824204415083 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13250766694545746 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23344279825687408 }, "else": { "operation": "boost", "score": 0.10641317814588547 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9583333730697632, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.16220280528068542 }, "else": { "operation": "boost", "score": -0.14591169357299805 } }, "else": { "operation": "boost", "score": 0.04754066467285156 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "boost", "score": 0.01037480216473341 }, "else": { "operation": "boost", "score": 0.0007627106388099492 } }, "else": { "operation": "boost", "score": -0.17340068519115448 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.16714222729206085 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12042967975139618 }, "else": { "operation": "boost", "score": -0.06605146825313568 } } }, "else": { "operation": "boost", "score": 0.020424598827958107 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.019215742126107216 }, "else": { "operation": "boost", "score": -0.08911450207233429 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.13078071177005768 }, "else": { "operation": "boost", "score": 0.007530285511165857 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.056790441274642944 }, "else": { "operation": "boost", "score": -0.05184756591916084 } }, "else": { "operation": "boost", "score": 0.006529053673148155 } }, "else": { "operation": "boost", "score": -0.04378349334001541 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.27619048953056335, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.3653782904148102 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38181817531585693, "then": { "operation": "boost", "score": 0.07858690619468689 }, "else": { "operation": "boost", "score": 0.11174001544713974 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09166831523180008 }, "else": { "operation": "boost", "score": 0.01055699959397316 } } }, "else": { "operation": "boost", "score": 0.08620313555002213 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04174426570534706 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.06838716566562653 }, "else": { "operation": "boost", "score": 0.1924591213464737 } }, "else": { "operation": "boost", "score": 0.04884497821331024 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12335193157196045 }, "else": { "operation": "boost", "score": -0.00785698089748621 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.0012624308001250029 }, "else": { "operation": "boost", "score": -0.2254643440246582 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015137880109250546 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.15625737607479095 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.11338242143392563 }, "else": { "operation": "boost", "score": 0.06257830560207367 } }, "else": { "operation": "boost", "score": 0.0027737983036786318 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.03157328814268112 }, "else": { "operation": "boost", "score": 0.004928826354444027 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.0009449964854866266 }, "else": { "operation": "boost", "score": 0.003165645757690072 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": -0.0032335103023797274 }, "else": { "operation": "boost", "score": 0.026816265657544136 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3568873107433319 }, "else": { "operation": "boost", "score": -0.05166623368859291 } }, "else": { "operation": "boost", "score": 0.03901751711964607 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.15077897906303406 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021945124492049217 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.15239909291267395 }, "else": { "operation": "boost", "score": 0.01584498956799507 } }, "else": { "operation": "boost", "score": -0.08326348662376404 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07219880074262619 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0299227274954319 }, "else": { "operation": "boost", "score": -0.06895601004362106 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.038680627942085266 }, "else": { "operation": "boost", "score": 0.11015525460243225 } }, "else": { "operation": "boost", "score": -0.053410883992910385 } }, "else": { "operation": "boost", "score": -0.09881503880023956 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0328415222465992 }, "else": { "operation": "boost", "score": -0.011629240587353706 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020773131400346756 }, "else": { "operation": "boost", "score": -0.0018824003636837006 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.005757858045399189 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 627.0, "then": { "operation": "boost", "score": 0.05603818967938423 }, "else": { "operation": "boost", "score": -0.05972527712583542 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.10737966001033783 }, "else": { "operation": "boost", "score": 0.023752516135573387 } }, "else": { "operation": "boost", "score": 0.07787908613681793 } }, "else": { "operation": "boost", "score": 0.025654487311840057 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.03546380251646042 }, "else": { "operation": "boost", "score": 0.0018497334094718099 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006541426759213209 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.5, "then": { "operation": "boost", "score": 0.0151128601282835 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "boost", "score": 0.133380725979805 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04545454680919647, "then": { "operation": "boost", "score": 0.06309676170349121 }, "else": { "operation": "boost", "score": -0.8512701392173767 } }, "else": { "operation": "boost", "score": 0.09862184524536133 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.01509571261703968 }, "else": { "operation": "boost", "score": -0.07236646860837936 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": -0.18449170887470245 }, "else": { "operation": "boost", "score": 0.04280773177742958 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0022940603084862232 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.04749784246087074 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.06776309013366699 }, "else": { "operation": "boost", "score": 0.04730264097452164 } }, "else": { "operation": "boost", "score": -0.15484528243541718 } }, "else": { "operation": "boost", "score": -0.5227890014648438 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.0503368079662323 }, "else": { "operation": "boost", "score": -0.01646747998893261 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.3345746695995331 }, "else": { "operation": "boost", "score": -0.030194537714123726 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.07266387343406677 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1248648539185524 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.044586386531591415 }, "else": { "operation": "boost", "score": -0.15573719143867493 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": -0.00925513170659542 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.039646197110414505 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.410255491733551 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2844904959201813 }, "else": { "operation": "boost", "score": 0.03760319575667381 } } } }, "else": { "operation": "boost", "score": -0.056531667709350586 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.0468035452067852 }, "else": { "operation": "boost", "score": -0.00421023927628994 } } } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": -0.0009124461212195456 }, "else": { "operation": "boost", "score": -0.10024348646402359 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": -0.013376638293266296 }, "else": { "operation": "boost", "score": 0.010598448105156422 } }, "else": { "operation": "boost", "score": 0.0026784008368849754 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07097875326871872 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007245237939059734 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04052131995558739 }, "else": { "operation": "boost", "score": 0.004261022433638573 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.14191485941410065 }, "else": { "operation": "boost", "score": 0.21085265278816223 } }, "else": { "operation": "boost", "score": -0.05177057161927223 } } }, "else": { "operation": "boost", "score": 0.024973243474960327 } }, "else": { "operation": "boost", "score": -0.03841579705476761 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.021131940186023712 }, "else": { "operation": "boost", "score": -0.05342138558626175 } } }, "else": { "operation": "boost", "score": -0.02653176710009575 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03673877939581871 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.07599932700395584 }, "else": { "operation": "boost", "score": -0.06548918038606644 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.08669006824493408 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.08861265331506729 }, "else": { "operation": "boost", "score": 0.026562046259641647 } } }, "else": { "operation": "boost", "score": -0.019264139235019684 } }, "else": { "operation": "boost", "score": 0.0024448304902762175 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18715.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19345.0, "then": { "operation": "boost", "score": 0.04059597849845886 }, "else": { "operation": "boost", "score": 0.11695563048124313 } }, "else": { "operation": "boost", "score": 0.006772107444703579 } }, "else": { "operation": "boost", "score": -0.029932662844657898 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.05432966351509094 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.02545340359210968 }, "else": { "operation": "boost", "score": 0.10780216753482819 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.19936606287956238 }, "else": { "operation": "boost", "score": 0.011377205140888691 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.14811460673809052 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 217.0, "then": { "operation": "boost", "score": 0.009434820152819157 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.10946819931268692 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.2193797379732132 }, "else": { "operation": "boost", "score": 0.24134685099124908 } } }, "else": { "operation": "boost", "score": 0.07150455564260483 } } }, "else": { "operation": "boost", "score": 0.03137388080358505 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71608.5, "then": { "operation": "boost", "score": 0.16520154476165771 }, "else": { "operation": "boost", "score": -0.02338491380214691 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014318152330815792 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10401364415884018 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.05098547413945198 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0019205717835575342 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03335797041654587 }, "else": { "operation": "boost", "score": 0.023069268092513084 } } } } } }, "else": { "operation": "boost", "score": -0.007567909080535173 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.028262227773666382 }, "else": { "operation": "boost", "score": -0.05210632085800171 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09633392840623856 }, "else": { "operation": "boost", "score": 0.024748986586928368 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.008531076833605766 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.026122869923710823 }, "else": { "operation": "boost", "score": -0.06893464177846909 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.16197113692760468 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219439.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "boost", "score": 0.0535912849009037 }, "else": { "operation": "boost", "score": -0.08915743231773376 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09400129318237305 }, "else": { "operation": "boost", "score": 0.04673252999782562 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114340.0, "then": { "operation": "boost", "score": -0.0490911640226841 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04285065457224846 }, "else": { "operation": "boost", "score": 0.07903455942869186 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32513.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34838.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.025673111900687218 }, "else": { "operation": "boost", "score": -0.0032793078571558 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "boost", "score": 0.08412274718284607 }, "else": { "operation": "boost", "score": -0.053108248859643936 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0016729211201891303 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.09559276700019836 }, "else": { "operation": "boost", "score": 0.1996934413909912 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "boost", "score": 0.08973729610443115 }, "else": { "operation": "boost", "score": -0.04293940216302872 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28306.0, "then": { "operation": "boost", "score": -0.06691945344209671 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23608.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23667.0, "then": { "operation": "boost", "score": 0.0257573202252388 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.12183696031570435 }, "else": { "operation": "boost", "score": 0.1029563620686531 } } }, "else": { "operation": "boost", "score": 0.0002523923176340759 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 383039.5, "then": { "operation": "boost", "score": -0.052961524575948715 }, "else": { "operation": "boost", "score": -0.012170521542429924 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.10369031131267548 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 368.0, "then": { "operation": "boost", "score": -0.10544906556606293 }, "else": { "operation": "boost", "score": 0.2995036542415619 } } }, "else": { "operation": "boost", "score": 0.02196711301803589 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030106905847787857 }, "else": { "operation": "boost", "score": -0.05712660774588585 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.09915849566459656 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 287372.5, "then": { "operation": "boost", "score": -0.05266396328806877 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": -0.03306536376476288 }, "else": { "operation": "boost", "score": -0.1025344505906105 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.011035148985683918 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114453.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.11017565429210663 }, "else": { "operation": "boost", "score": -0.02786710113286972 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43437.5, "then": { "operation": "boost", "score": -0.16425654292106628 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.10959862917661667 }, "else": { "operation": "boost", "score": 0.03908837214112282 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020907845348119736 }, "else": { "operation": "boost", "score": 0.021836567670106888 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.5, "then": { "operation": "boost", "score": 0.06050478667020798 }, "else": { "operation": "boost", "score": 0.01572110876441002 } }, "else": { "operation": "boost", "score": -0.10983797907829285 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02006070502102375 }, "else": { "operation": "boost", "score": 0.010470184497535229 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.09088798612356186 }, "else": { "operation": "boost", "score": -0.21706445515155792 } } }, "else": { "operation": "boost", "score": -0.004189439117908478 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 572.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18423551321029663 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "boost", "score": 0.09644411504268646 }, "else": { "operation": "boost", "score": 0.012157647870481014 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07632800191640854 }, "else": { "operation": "boost", "score": 0.007070333696901798 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.13942863047122955 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0272446908056736 }, "else": { "operation": "boost", "score": -0.12196841835975647 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.11251983791589737 }, "else": { "operation": "boost", "score": 0.03911150246858597 } }, "else": { "operation": "boost", "score": 0.002881062915548682 } }, "else": { "operation": "boost", "score": 0.007258948870003223 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.001138879219070077 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0748089849948883 }, "else": { "operation": "boost", "score": -0.028776157647371292 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.012498794123530388 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1272727996110916 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 39.5, "then": { "operation": "boost", "score": 0.10625836253166199 }, "else": { "operation": "boost", "score": -0.2630074918270111 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0777101069688797 }, "else": { "operation": "boost", "score": -0.20100924372673035 } } } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10300993919372559 }, "else": { "operation": "boost", "score": -0.00013713593943975866 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07258450984954834 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85788.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "boost", "score": 0.05634203925728798 }, "else": { "operation": "boost", "score": 0.0918859913945198 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.04461992159485817 }, "else": { "operation": "boost", "score": 0.10808533430099487 } }, "else": { "operation": "boost", "score": 0.004633437376469374 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.054197363555431366 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09122700244188309 }, "else": { "operation": "boost", "score": 0.016398636624217033 } } }, "else": { "operation": "boost", "score": 0.024599619209766388 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.05623637139797211 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.02157897874712944 }, "else": { "operation": "boost", "score": -0.3518964946269989 } }, "else": { "operation": "boost", "score": 0.03711097687482834 } } } } }, "else": { "operation": "boost", "score": 0.0065354714170098305 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.015746375545859337 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0009132710401900113 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19923536479473114 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 764.5, "then": { "operation": "boost", "score": -0.10447246581315994 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 496.5, "then": { "operation": "boost", "score": 0.12463806569576263 }, "else": { "operation": "boost", "score": 0.022603238001465797 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03495293855667114 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.0387357659637928 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.030327312648296356 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10043363273143768 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.06141754239797592 }, "else": { "operation": "boost", "score": -0.6589498519897461 } }, "else": { "operation": "boost", "score": -0.011951551772654057 } } }, "else": { "operation": "boost", "score": -0.46245768666267395 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.026983272284269333 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.03691395744681358 }, "else": { "operation": "boost", "score": -0.21593500673770905 } }, "else": { "operation": "boost", "score": -0.0030434238724410534 } } }, "else": { "operation": "boost", "score": -0.09894584119319916 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.03734799101948738 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.029733896255493164 }, "else": { "operation": "boost", "score": -0.0035382313653826714 } } } } } } } }, "else": { "operation": "boost", "score": -0.13124299049377441 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4868420958518982, "then": { "operation": "boost", "score": 0.00838513020426035 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11191882193088531 }, "else": { "operation": "boost", "score": 0.025476140901446342 } }, "else": { "operation": "boost", "score": -0.027673494070768356 } }, "else": { "operation": "boost", "score": 0.0016390540404245257 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05725253373384476 }, "else": { "operation": "boost", "score": 0.018201498314738274 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.02411074750125408 }, "else": { "operation": "boost", "score": -0.0009591796551831067 } }, "else": { "operation": "boost", "score": -0.07524699717760086 } }, "else": { "operation": "boost", "score": 0.07326993346214294 } }, "else": { "operation": "boost", "score": -0.0007499621133320034 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.003975861705839634 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.11684975773096085 }, "else": { "operation": "boost", "score": 0.057258397340774536 } }, "else": { "operation": "boost", "score": 0.005751962307840586 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005686541553586721 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18485.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": 0.01728680357336998 }, "else": { "operation": "boost", "score": 0.1062101274728775 } }, "else": { "operation": "boost", "score": 0.01091484073549509 } }, "else": { "operation": "boost", "score": 0.025032317265868187 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83772.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.033595696091651917 }, "else": { "operation": "boost", "score": 0.10440874844789505 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84795.5, "then": { "operation": "boost", "score": -0.02318812534213066 }, "else": { "operation": "boost", "score": 0.09346015006303787 } } }, "else": { "operation": "boost", "score": -0.157002255320549 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03263818100094795 }, "else": { "operation": "boost", "score": -0.0425051674246788 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.0, "then": { "operation": "boost", "score": 0.1669570803642273 }, "else": { "operation": "boost", "score": 0.3675655424594879 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40920.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.5697132349014282 }, "else": { "operation": "boost", "score": -0.023276273161172867 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33041.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.14003463089466095 }, "else": { "operation": "boost", "score": 0.026254350319504738 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 183.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.03707120195031166 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014836492948234081 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.132423534989357 }, "else": { "operation": "boost", "score": 0.009154224768280983 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 231.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 471.5, "then": { "operation": "boost", "score": 0.11152742058038712 }, "else": { "operation": "boost", "score": -0.07030696421861649 } }, "else": { "operation": "boost", "score": 0.19040973484516144 } } } } }, "else": { "operation": "boost", "score": 0.01620151475071907 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12720.5, "then": { "operation": "boost", "score": -0.052730195224285126 }, "else": { "operation": "boost", "score": 0.0004337524878792465 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011061073280870914 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.004861864261329174 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.034332744777202606 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 337.5, "then": { "operation": "boost", "score": -0.14742957055568695 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.07975684851408005 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.5, "then": { "operation": "boost", "score": 0.08220399916172028 }, "else": { "operation": "boost", "score": 0.20067091286182404 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.0, "then": { "operation": "boost", "score": 0.13763968646526337 }, "else": { "operation": "boost", "score": -0.13621628284454346 } }, "else": { "operation": "boost", "score": 0.03315587714314461 } } }, "else": { "operation": "boost", "score": -0.06315770000219345 } } } }, "else": { "operation": "boost", "score": -0.012423207052052021 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.0031761308200657368 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.11809579282999039 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1635202020406723 }, "else": { "operation": "boost", "score": -0.037150535732507706 } }, "else": { "operation": "boost", "score": -0.0501626618206501 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06489672511816025 }, "else": { "operation": "boost", "score": 0.1546953320503235 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12533694505691528 }, "else": { "operation": "boost", "score": -0.42625296115875244 } } }, "else": { "operation": "boost", "score": -0.19710898399353027 } }, "else": { "operation": "boost", "score": 0.04215243458747864 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015180389396846294 }, "else": { "operation": "boost", "score": 0.008961247280240059 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.018538309261202812 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.029507778584957123 }, "else": { "operation": "boost", "score": 0.004183686804026365 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.18548007309436798 }, "else": { "operation": "boost", "score": -0.04452761262655258 } }, "else": { "operation": "boost", "score": 0.035082846879959106 } }, "else": { "operation": "boost", "score": -0.003015610622242093 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.02761068381369114 }, "else": { "operation": "boost", "score": 0.015102088451385498 } } } } }, "else": { "operation": "boost", "score": 0.0035661691799759865 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011376204900443554 }, "else": { "operation": "boost", "score": 0.02329920418560505 } }, "else": { "operation": "boost", "score": -0.005766354966908693 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.02002062276005745 }, "else": { "operation": "boost", "score": -0.05108867958188057 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.0008670383831486106 }, "else": { "operation": "boost", "score": 0.012771343812346458 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.008553776890039444 }, "else": { "operation": "boost", "score": -0.003096699947491288 } }, "else": { "operation": "boost", "score": -0.01753406971693039 } } } }, "else": { "operation": "boost", "score": -0.00452780444175005 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.00763728329911828 }, "else": { "operation": "boost", "score": 0.0031684329733252525 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "boost", "score": 0.012649516575038433 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.0009456591797061265 }, "else": { "operation": "boost", "score": 0.00534850126132369 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.08092911541461945 }, "else": { "operation": "boost", "score": 0.07282716035842896 } }, "else": { "operation": "boost", "score": -0.052553366869688034 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025721775367856026 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.38723108172416687 }, "else": { "operation": "boost", "score": 0.03393387794494629 } }, "else": { "operation": "boost", "score": 0.0653151273727417 } }, "else": { "operation": "boost", "score": 0.012249866500496864 } }, "else": { "operation": "boost", "score": -0.0009468266507610679 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10935372859239578 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.1255285143852234 }, "else": { "operation": "boost", "score": 0.01151618454605341 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.5625141859054565 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.08110619336366653 }, "else": { "operation": "boost", "score": -0.017891934141516685 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014426414854824543 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25824177265167236, "then": { "operation": "boost", "score": -0.14213517308235168 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.11763907968997955 }, "else": { "operation": "boost", "score": 0.10717064887285233 } }, "else": { "operation": "boost", "score": -0.1177716925740242 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": -0.0003918668953701854 }, "else": { "operation": "boost", "score": -0.04780978709459305 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.033513378351926804 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.5149034857749939 }, "else": { "operation": "boost", "score": 0.03727913647890091 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0597819983959198 }, "else": { "operation": "boost", "score": 0.011244762688875198 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13772675395011902 }, "else": { "operation": "boost", "score": 0.0008922623237594962 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7571429014205933, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.011498223058879375 }, "else": { "operation": "boost", "score": 0.08705304563045502 } }, "else": { "operation": "boost", "score": -0.0019239538814872503 } }, "else": { "operation": "boost", "score": -0.14409135282039642 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03846336901187897 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.04297233372926712 }, "else": { "operation": "boost", "score": -0.35373765230178833 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03167393058538437 }, "else": { "operation": "boost", "score": -0.014555301517248154 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.0942402109503746 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.016259023919701576 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033303868025541306 }, "else": { "operation": "boost", "score": 0.06864845007658005 } }, "else": { "operation": "boost", "score": 0.007498632185161114 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04134007543325424 }, "else": { "operation": "boost", "score": -0.00981801189482212 } }, "else": { "operation": "boost", "score": -0.06618612259626389 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0025917303282767534 }, "else": { "operation": "boost", "score": 0.061121661216020584 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.10832519829273224 }, "else": { "operation": "boost", "score": -0.01213759370148182 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.04495736211538315 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.017547788098454475 }, "else": { "operation": "boost", "score": -0.1341622918844223 } } }, "else": { "operation": "boost", "score": -0.028751591220498085 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.3880917727947235 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.002466740319505334 }, "else": { "operation": "boost", "score": -0.10592134296894073 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.035535380244255066 }, "else": { "operation": "boost", "score": 4.711574365501292e-05 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.024230919778347015 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03361710533499718 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.08879311382770538 }, "else": { "operation": "boost", "score": -0.09885875135660172 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.0708024725317955 }, "else": { "operation": "boost", "score": 0.016223499551415443 } }, "else": { "operation": "boost", "score": 0.002337029902264476 } } } }, "else": { "operation": "boost", "score": -0.10892795771360397 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8445.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18069.5, "then": { "operation": "boost", "score": 0.21943867206573486 }, "else": { "operation": "boost", "score": -0.10635702311992645 } }, "else": { "operation": "boost", "score": 0.028769806027412415 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0018315829802304506 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0014870587037876248 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.07606072723865509 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": 0.08696188032627106 }, "else": { "operation": "boost", "score": 0.015474531799554825 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01057498436421156 }, "else": { "operation": "boost", "score": -0.057800356298685074 } } }, "else": { "operation": "boost", "score": 0.025675181299448013 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.023569855839014053 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.08692494034767151 }, "else": { "operation": "boost", "score": -0.0077415392734110355 } }, "else": { "operation": "boost", "score": -0.07437096536159515 } } }, "else": { "operation": "boost", "score": 0.008042150177061558 } } }, "else": { "operation": "boost", "score": 0.016793668270111084 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.057483647018671036 }, "else": { "operation": "boost", "score": -0.018704036250710487 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Operator" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0959937646985054 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264171.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278828.5, "then": { "operation": "boost", "score": 0.017328433692455292 }, "else": { "operation": "boost", "score": 0.07443199306726456 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.00947010237723589 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.024375759065151215 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.10033959150314331 }, "else": { "operation": "boost", "score": -0.02666870318353176 } }, "else": { "operation": "boost", "score": 0.048825353384017944 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07376376539468765 }, "else": { "operation": "boost", "score": 0.03161128982901573 } }, "else": { "operation": "boost", "score": 0.010658477433025837 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.0, "then": { "operation": "boost", "score": 0.2117031067609787 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.34462350606918335 }, "else": { "operation": "boost", "score": 0.10555897653102875 } } }, "else": { "operation": "boost", "score": 0.024253148585557938 } } }, "else": { "operation": "boost", "score": 0.009416268207132816 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264171.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.038875989615917206 }, "else": { "operation": "boost", "score": -0.15468454360961914 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.036198753863573074 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.005613049957901239 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01932956464588642 }, "else": { "operation": "boost", "score": -0.08947605639696121 } } }, "else": { "operation": "boost", "score": -0.006544506177306175 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.02913655899465084 }, "else": { "operation": "boost", "score": -0.004449688363820314 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.021303845569491386 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.09884210675954819 }, "else": { "operation": "boost", "score": -0.03678084909915924 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.011744608171284199 }, "else": { "operation": "boost", "score": 0.027313342317938805 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.002407502382993698 }, "else": { "operation": "boost", "score": 0.010657954961061478 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "boost", "score": 0.034929338842630386 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.605949878692627 }, "else": { "operation": "boost", "score": -0.09146628528833389 } }, "else": { "operation": "boost", "score": -0.0168082807213068 } } } } }, "else": { "operation": "boost", "score": -0.002327068941667676 } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014023395255208015 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0515873022377491, "then": { "operation": "boost", "score": 0.013358557596802711 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.027090756222605705 }, "else": { "operation": "boost", "score": 0.03358397260308266 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.060462746769189835 }, "else": { "operation": "boost", "score": -0.15509632229804993 } }, "else": { "operation": "boost", "score": 0.012676683254539967 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.949999988079071, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13433782756328583 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09863774478435516 }, "else": { "operation": "boost", "score": -0.16547133028507233 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06674587726593018 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.010323403403162956 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0627661719918251 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.19156986474990845 }, "else": { "operation": "boost", "score": 0.1426202356815338 } }, "else": { "operation": "boost", "score": 0.16829155385494232 } } } } }, "else": { "operation": "boost", "score": -0.2928027808666229 } } } }, "else": { "operation": "boost", "score": 0.015595413744449615 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10437838733196259 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.005141392350196838 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.09008649736642838 }, "else": { "operation": "boost", "score": -0.03291019797325134 } } } } }, "else": { "operation": "boost", "score": -0.03173323720693588 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7636363506317139, "then": { "operation": "boost", "score": 0.13227279484272003 }, "else": { "operation": "boost", "score": -0.1185946986079216 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009302161633968353 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05218985304236412 }, "else": { "operation": "boost", "score": 0.17856843769550323 } }, "else": { "operation": "boost", "score": -0.1022999957203865 } }, "else": { "operation": "boost", "score": -0.005562970414757729 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013899204321205616 }, "else": { "operation": "boost", "score": -0.0226959940046072 } } }, "else": { "operation": "boost", "score": -0.018368801102042198 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": -0.003882678924128413 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": 0.05628706514835358 }, "else": { "operation": "boost", "score": 0.09682033210992813 } } }, "else": { "operation": "boost", "score": 0.02351347543299198 } }, "else": { "operation": "boost", "score": -0.02647601068019867 } }, "else": { "operation": "boost", "score": -0.04130930453538895 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.04020145535469055 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.4870975613594055 }, "else": { "operation": "boost", "score": -0.028539301827549934 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005968847777694464 }, "else": { "operation": "boost", "score": -0.1483989655971527 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03192640468478203 }, "else": { "operation": "boost", "score": -0.07722233235836029 } }, "else": { "operation": "boost", "score": -0.022721100598573685 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07280039042234421 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": -0.03695666044950485 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1300.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1320.5, "then": { "operation": "boost", "score": 0.04043447971343994 }, "else": { "operation": "boost", "score": 0.12720909714698792 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006100551690906286 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 536.5, "then": { "operation": "boost", "score": 0.10865337401628494 }, "else": { "operation": "boost", "score": -0.008415140211582184 } }, "else": { "operation": "boost", "score": 0.2203696370124817 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2476.0, "then": { "operation": "boost", "score": 0.017760321497917175 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.20148883759975433 }, "else": { "operation": "boost", "score": 0.1202641949057579 } }, "else": { "operation": "boost", "score": 0.08263277262449265 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00247525074519217 }, "else": { "operation": "boost", "score": -0.03168054670095444 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00047201229608617723 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": 0.039939068257808685 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016636637970805168 }, "else": { "operation": "boost", "score": -0.4741767346858978 } }, "else": { "operation": "boost", "score": -0.09433291107416153 } } } } }, "else": { "operation": "boost", "score": 0.14637233316898346 } }, "else": { "operation": "boost", "score": 0.012629233300685883 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.037794049829244614 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2244.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2258.5, "then": { "operation": "boost", "score": 0.06961623579263687 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.19252680242061615 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.24983547627925873 }, "else": { "operation": "boost", "score": 0.08904335647821426 } } } }, "else": { "operation": "boost", "score": -0.0031359035056084394 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.008890224620699883 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03583687171339989 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.09853939712047577 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.028752600774168968 }, "else": { "operation": "boost", "score": 0.1811959594488144 } }, "else": { "operation": "boost", "score": 0.04541449621319771 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.4954158067703247 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.3830605447292328 }, "else": { "operation": "boost", "score": 0.20169775187969208 } } } } }, "else": { "operation": "boost", "score": -0.011522210203111172 } } } }, "else": { "operation": "boost", "score": -0.00015315190830733627 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.02350427769124508 }, "else": { "operation": "boost", "score": 0.05079275369644165 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.04530778527259827 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.048677559942007065 }, "else": { "operation": "boost", "score": 0.1919398307800293 } } }, "else": { "operation": "boost", "score": 0.015766914933919907 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04012180119752884 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03769192472100258 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.018319953233003616 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.05416394770145416 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.06106317415833473 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 304.0, "then": { "operation": "boost", "score": 0.13117925822734833 }, "else": { "operation": "boost", "score": 0.05575950816273689 } } }, "else": { "operation": "boost", "score": -0.03928442671895027 } } } } } }, "else": { "operation": "boost", "score": -0.04714240878820419 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1590.0, "then": { "operation": "boost", "score": -0.17719106376171112 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 839.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.017520271241664886 }, "else": { "operation": "boost", "score": -0.6152868866920471 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 819.0, "then": { "operation": "boost", "score": 0.19883014261722565 }, "else": { "operation": "boost", "score": 0.0854945182800293 } } }, "else": { "operation": "boost", "score": 0.022442366927862167 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03264964371919632 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.002057549776509404 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.0006458893185481429 }, "else": { "operation": "boost", "score": -0.11560098081827164 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.06998492032289505 }, "else": { "operation": "boost", "score": 0.045737460255622864 } } }, "else": { "operation": "boost", "score": 0.03170068934559822 } }, "else": { "operation": "boost", "score": -0.006171678192913532 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017687972635030746 }, "else": { "operation": "boost", "score": 0.07785360515117645 } }, "else": { "operation": "boost", "score": 0.0007515914039686322 } }, "else": { "operation": "boost", "score": -0.014054653234779835 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.02502502128481865 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.0388454794883728 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008057907223701477 }, "else": { "operation": "boost", "score": 0.012503103353083134 } }, "else": { "operation": "boost", "score": -0.01557657215744257 } } } }, "else": { "operation": "boost", "score": 0.003403385868296027 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.013817992992699146 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.019076203927397728 }, "else": { "operation": "boost", "score": 0.0007730999495834112 } } } } } } } }, "else": { "operation": "boost", "score": -0.10107261687517166 } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2401.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2435.0, "then": { "operation": "boost", "score": 0.032201603055000305 }, "else": { "operation": "boost", "score": 0.11483565717935562 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0617864690721035 }, "else": { "operation": "boost", "score": 0.006226181983947754 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.12029630690813065 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "boost", "score": -0.008689844980835915 }, "else": { "operation": "boost", "score": 0.01702594943344593 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.037849243730306625 }, "else": { "operation": "boost", "score": 0.2459680587053299 } }, "else": { "operation": "boost", "score": 0.02448938973248005 } }, "else": { "operation": "boost", "score": -0.0016990706790238619 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03538915142416954 }, "else": { "operation": "boost", "score": -0.034839726984500885 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.09035608172416687 }, "else": { "operation": "boost", "score": -0.03833260014653206 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.08869067579507828 }, "else": { "operation": "boost", "score": -0.01240998599678278 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08846154063940048, "then": { "operation": "boost", "score": 0.004644074477255344 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01157040148973465 }, "else": { "operation": "boost", "score": 0.09142053872346878 } }, "else": { "operation": "boost", "score": 0.14772655069828033 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03846153989434242, "then": { "operation": "boost", "score": 0.11546443402767181 }, "else": { "operation": "boost", "score": -0.05383998155593872 } } } } }, "else": { "operation": "boost", "score": -0.029881024733185768 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.08464516699314117 }, "else": { "operation": "boost", "score": -0.4770536720752716 } }, "else": { "operation": "boost", "score": 0.11821084469556808 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.08442805707454681 }, "else": { "operation": "boost", "score": -0.05351674184203148 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.003896588459610939 }, "else": { "operation": "boost", "score": 0.12887097895145416 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09658420830965042 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.10368930548429489 }, "else": { "operation": "boost", "score": 0.04493116959929466 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22850088775157928 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.1933455765247345 }, "else": { "operation": "boost", "score": 0.033427558839321136 } } } }, "else": { "operation": "boost", "score": 0.005932012107223272 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4868420958518982, "then": { "operation": "boost", "score": 0.00749246496707201 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1118156686425209 }, "else": { "operation": "boost", "score": 0.023955637589097023 } }, "else": { "operation": "boost", "score": -0.025657739490270615 } }, "else": { "operation": "boost", "score": 0.0014802623772993684 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05111749842762947 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2755.5, "then": { "operation": "boost", "score": 0.10674373060464859 }, "else": { "operation": "boost", "score": 0.11995040625333786 } }, "else": { "operation": "boost", "score": -0.01559891365468502 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1365.5, "then": { "operation": "boost", "score": 0.020675111562013626 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1338.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04668193310499191 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.19981591403484344 }, "else": { "operation": "boost", "score": 0.12705089151859283 } } }, "else": { "operation": "boost", "score": 0.13037189841270447 } }, "else": { "operation": "boost", "score": 0.04369893670082092 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.1229759156703949 }, "else": { "operation": "boost", "score": 0.00476189935579896 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": -0.009437011554837227 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "boost", "score": 0.08872359991073608 }, "else": { "operation": "boost", "score": -0.03400474414229393 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.5230880379676819 }, "else": { "operation": "boost", "score": 0.07907228916883469 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08144064992666245 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.05477839708328247 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.14004527032375336 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "boost", "score": -0.2884790003299713 }, "else": { "operation": "boost", "score": 0.1341576725244522 } } }, "else": { "operation": "boost", "score": -0.2568714916706085 } }, "else": { "operation": "boost", "score": 0.010281368158757687 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.008630182594060898 }, "else": { "operation": "boost", "score": 0.21126312017440796 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.035019855946302414 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.3757169842720032 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": 0.10267037153244019 }, "else": { "operation": "boost", "score": -0.051565755158662796 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.03324376791715622 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03870555758476257 }, "else": { "operation": "boost", "score": 0.11746573448181152 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.06276345252990723 }, "else": { "operation": "boost", "score": -0.379285991191864 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.3647865355014801 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08495768904685974 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.0488070473074913 }, "else": { "operation": "boost", "score": 0.11129654198884964 } }, "else": { "operation": "boost", "score": -0.008523523807525635 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.11637271195650101 }, "else": { "operation": "boost", "score": 0.12362448871135712 } }, "else": { "operation": "boost", "score": -0.12438582628965378 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.03371777385473251 }, "else": { "operation": "boost", "score": -0.04726670682430267 } } }, "else": { "operation": "boost", "score": -0.004519737791270018 } } } }, "else": { "operation": "boost", "score": -0.02885497361421585 } } }, "else": { "operation": "boost", "score": -0.001990227960050106 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19392986595630646 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006984378211200237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54332.5, "then": { "operation": "boost", "score": -0.03888782486319542 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22379.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41256.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10755780339241028 }, "else": { "operation": "boost", "score": -0.10696125775575638 } }, "else": { "operation": "boost", "score": -0.005441601388156414 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12546.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.14657340943813324 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.16655570268630981 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.15415269136428833 }, "else": { "operation": "boost", "score": 0.13576605916023254 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.13063950836658478 }, "else": { "operation": "boost", "score": 0.13512086868286133 } }, "else": { "operation": "boost", "score": -0.10237313061952591 } }, "else": { "operation": "boost", "score": 0.3571297526359558 } } }, "else": { "operation": "boost", "score": 0.09820949286222458 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.06696020811796188 }, "else": { "operation": "boost", "score": 0.15468481183052063 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2764.5, "then": { "operation": "boost", "score": 0.04715441167354584 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2586.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2694.0, "then": { "operation": "boost", "score": 0.14415474236011505 }, "else": { "operation": "boost", "score": -0.11410806328058243 } }, "else": { "operation": "boost", "score": 0.14428988099098206 } }, "else": { "operation": "boost", "score": 0.11052005738019943 } } }, "else": { "operation": "boost", "score": 0.13736645877361298 } }, "else": { "operation": "boost", "score": -0.13670773804187775 } } } } }, "else": { "operation": "boost", "score": -0.05037490278482437 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23210.5, "then": { "operation": "boost", "score": 0.014186015352606773 }, "else": { "operation": "boost", "score": -0.04297608882188797 } } }, "else": { "operation": "boost", "score": -0.0010744292521849275 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0020708227530121803 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.014898300170898438 }, "else": { "operation": "boost", "score": 0.055497460067272186 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3234.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.09710296243429184 }, "else": { "operation": "boost", "score": 0.12897491455078125 } }, "else": { "operation": "boost", "score": -0.23152711987495422 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3145.5, "then": { "operation": "boost", "score": 0.1268555372953415 }, "else": { "operation": "boost", "score": -0.018572473898530006 } } } } } }, "else": { "operation": "boost", "score": -0.0016624314012005925 } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008136741816997528 }, "else": { "operation": "boost", "score": 0.002513736952096224 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 101593.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007307353895157576 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0788964331150055 }, "else": { "operation": "boost", "score": -0.0437840074300766 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09683886170387268 }, "else": { "operation": "boost", "score": 0.11477165669202805 } }, "else": { "operation": "boost", "score": -0.11833161115646362 } }, "else": { "operation": "boost", "score": 0.06083684787154198 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.10753721743822098 }, "else": { "operation": "boost", "score": -0.005546011961996555 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "boost", "score": 0.033183347433805466 }, "else": { "operation": "boost", "score": 0.08888457715511322 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94712.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.2765735685825348 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.1545838564634323 }, "else": { "operation": "boost", "score": -0.1506715714931488 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.029452266171574593 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0023757184389978647 }, "else": { "operation": "boost", "score": -0.027332454919815063 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.011446679010987282 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.14841961860656738 }, "else": { "operation": "boost", "score": 0.056678447872400284 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.06871774047613144 }, "else": { "operation": "boost", "score": -0.0457843653857708 } } }, "else": { "operation": "boost", "score": -0.0015570458490401506 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32513.5, "then": { "operation": "boost", "score": 0.017153823748230934 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28306.0, "then": { "operation": "boost", "score": -0.059707093983888626 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.01495064701884985 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.12010848522186279 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.03656211867928505 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.021731168031692505 }, "else": { "operation": "boost", "score": 0.030957257375121117 } } } }, "else": { "operation": "boost", "score": 0.013275510631501675 } } }, "else": { "operation": "boost", "score": 0.019501956179738045 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06954441964626312 }, "else": { "operation": "boost", "score": -0.03923351317644119 } }, "else": { "operation": "boost", "score": -0.03012293390929699 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029267923906445503 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10463807731866837 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.04564548656344414 }, "else": { "operation": "boost", "score": -0.15529769659042358 } }, "else": { "operation": "boost", "score": 0.06419387459754944 } }, "else": { "operation": "boost", "score": -0.07368117570877075 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.10496639460325241 }, "else": { "operation": "boost", "score": 0.04815496876835823 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.05864673852920532 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.03470772132277489 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.04150198772549629 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.11083546280860901 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.037026308476924896 }, "else": { "operation": "boost", "score": -0.007051641587167978 } } } } } } } } }, "else": { "operation": "boost", "score": -0.022695478051900864 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.0339239239692688 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.14123205840587616 }, "else": { "operation": "boost", "score": 0.04520072042942047 } } }, "else": { "operation": "boost", "score": 0.010399160906672478 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1568448692560196 }, "else": { "operation": "boost", "score": 0.05683870613574982 } }, "else": { "operation": "boost", "score": 0.036181047558784485 } }, "else": { "operation": "boost", "score": 0.006418443750590086 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19464.5, "then": { "operation": "boost", "score": 0.11872857064008713 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.025473980233073235 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.2097034752368927 }, "else": { "operation": "boost", "score": 0.08857140690088272 } } } }, "else": { "operation": "boost", "score": -0.014261007308959961 } } } } } }, "else": { "operation": "boost", "score": -0.0034663155674934387 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.011772729456424713 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.09820578992366791 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.07269033044576645 }, "else": { "operation": "boost", "score": 0.001352529739961028 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.021520335227251053 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03552021458745003 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.12906621396541595 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.34873783588409424 }, "else": { "operation": "boost", "score": 0.07871928066015244 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -4.078963279724121 }, "else": { "operation": "boost", "score": 0.05776024982333183 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.12529131770133972 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": 0.02548973634839058 }, "else": { "operation": "boost", "score": -0.01674666255712509 } } }, "else": { "operation": "boost", "score": -0.10195588320493698 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.11195947974920273 }, "else": { "operation": "boost", "score": 0.046296052634716034 } }, "else": { "operation": "boost", "score": -0.07628229260444641 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05658329650759697 }, "else": { "operation": "boost", "score": -0.0840420126914978 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.030207747593522072 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.028964461758732796 }, "else": { "operation": "boost", "score": 0.021728480234742165 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.047187164425849915 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.016152985394001007 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.09823276102542877 }, "else": { "operation": "boost", "score": 0.04049789533019066 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.006056106649339199 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.0314520001411438 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.002095353789627552 }, "else": { "operation": "boost", "score": 0.005663914140313864 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01896762102842331 }, "else": { "operation": "boost", "score": -0.0251948032528162 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.011592444963753223 }, "else": { "operation": "boost", "score": -0.010772663168609142 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00412809057161212 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04637395218014717 }, "else": { "operation": "boost", "score": -0.034317828714847565 } } }, "else": { "operation": "boost", "score": -0.04657662659883499 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.004893117118626833 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.01724916510283947 }, "else": { "operation": "boost", "score": -0.0320163331925869 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.024041756987571716 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.04951898381114006 }, "else": { "operation": "boost", "score": 0.03630492836236954 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.1194930225610733 }, "else": { "operation": "boost", "score": 0.23504610359668732 } }, "else": { "operation": "boost", "score": -0.019972670823335648 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02967793121933937 }, "else": { "operation": "boost", "score": 0.03039899282157421 } }, "else": { "operation": "boost", "score": -0.019270317628979683 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.07593152672052383 }, "else": { "operation": "boost", "score": -0.1119447872042656 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.22518962621688843 }, "else": { "operation": "boost", "score": -0.49226096272468567 } } }, "else": { "operation": "boost", "score": -0.034750133752822876 } } } } }, "else": { "operation": "boost", "score": 0.00735706090927124 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0060614896938204765 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0009965458884835243 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.002975654788315296 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.05767285078763962 }, "else": { "operation": "boost", "score": -0.12522552907466888 } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01303115114569664 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0515873022377491, "then": { "operation": "boost", "score": 0.012234548106789589 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.025301268324255943 }, "else": { "operation": "boost", "score": 0.030299127101898193 } } }, "else": { "operation": "boost", "score": 0.010740390047430992 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.949999988079071, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1258709728717804 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09807255119085312 }, "else": { "operation": "boost", "score": -0.19874314963817596 } }, "else": { "operation": "boost", "score": 0.0510077141225338 } } }, "else": { "operation": "boost", "score": 0.014973265118896961 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0961185172200203 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.004991411231458187 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.04078677296638489 }, "else": { "operation": "boost", "score": 0.020131388679146767 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.1055484265089035 }, "else": { "operation": "boost", "score": -0.004018100444227457 } } } } } }, "else": { "operation": "boost", "score": -0.028723297640681267 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": -0.0040410407818853855 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.01162667479366064 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02511112578213215 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04547983035445213 }, "else": { "operation": "boost", "score": -0.07719141244888306 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.0955670177936554 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0228638406842947 }, "else": { "operation": "boost", "score": -0.0394623763859272 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007796879857778549 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.051225464791059494 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.018518518656492233, "then": { "operation": "boost", "score": -0.004428735934197903 }, "else": { "operation": "boost", "score": -0.029613174498081207 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.08236151933670044 }, "else": { "operation": "boost", "score": 0.0025961408391594887 } }, "else": { "operation": "boost", "score": -0.03839225322008133 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.037286754697561264 }, "else": { "operation": "boost", "score": -0.039847567677497864 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.040251292288303375 }, "else": { "operation": "boost", "score": -0.0437786728143692 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03878917545080185 }, "else": { "operation": "boost", "score": -0.008336059749126434 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.044125039130449295 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011474181897938251 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.027825117111206055 }, "else": { "operation": "boost", "score": 0.0943220779299736 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.024581633508205414 }, "else": { "operation": "boost", "score": 0.0014805186074227095 } } }, "else": { "operation": "boost", "score": 0.011040838435292244 } }, "else": { "operation": "boost", "score": -0.1408228576183319 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.1314740628004074 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09635115414857864 }, "else": { "operation": "boost", "score": 0.03760522976517677 } } }, "else": { "operation": "boost", "score": 0.01810985989868641 } }, "else": { "operation": "boost", "score": 0.012111708521842957 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0067160180769860744 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.07565616816282272 }, "else": { "operation": "boost", "score": 0.17735838890075684 } }, "else": { "operation": "boost", "score": 0.027767790481448174 } }, "else": { "operation": "boost", "score": -0.010808801278471947 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.10089290142059326 }, "else": { "operation": "boost", "score": -0.2198437750339508 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.02295619063079357 }, "else": { "operation": "boost", "score": 0.14077213406562805 } }, "else": { "operation": "boost", "score": 0.11527787894010544 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005511674098670483 }, "else": { "operation": "boost", "score": 0.08540590852499008 } }, "else": { "operation": "boost", "score": 0.012404259294271469 } }, "else": { "operation": "boost", "score": -0.017055222764611244 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09242419898509979 }, "else": { "operation": "boost", "score": 0.007527480833232403 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026825908571481705 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008293534629046917 }, "else": { "operation": "boost", "score": -0.008304610848426819 } } }, "else": { "operation": "boost", "score": -0.00025957004982046783 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03127264976501465 }, "else": { "operation": "boost", "score": 0.0029050633311271667 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04638173058629036 }, "else": { "operation": "boost", "score": -0.036952536553144455 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.030090264976024628 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013557438738644123 }, "else": { "operation": "boost", "score": 0.07717171311378479 } }, "else": { "operation": "boost", "score": 0.008119088597595692 } } }, "else": { "operation": "boost", "score": 0.0007229075417853892 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.09277409315109253 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.10741609334945679 }, "else": { "operation": "boost", "score": 0.07809469103813171 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14348240196704865 }, "else": { "operation": "boost", "score": -0.07767779380083084 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104.5, "then": { "operation": "boost", "score": 0.030663302168250084 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11328443139791489 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84.5, "then": { "operation": "boost", "score": 0.1363927125930786 }, "else": { "operation": "boost", "score": 0.08278275281190872 } } }, "else": { "operation": "boost", "score": 0.11178727447986603 } } }, "else": { "operation": "boost", "score": 0.000523740251082927 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.25732576847076416 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1311606913805008 }, "else": { "operation": "boost", "score": 0.009878815151751041 } }, "else": { "operation": "boost", "score": -0.01701691746711731 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.039230771362781525, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0599638931453228 }, "else": { "operation": "boost", "score": -0.03965172916650772 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07329436391592026 }, "else": { "operation": "boost", "score": -0.0982820987701416 } }, "else": { "operation": "boost", "score": 0.0784081295132637 } }, "else": { "operation": "boost", "score": 0.01116863451898098 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.04095606878399849 }, "else": { "operation": "boost", "score": 0.01760183647274971 } }, "else": { "operation": "boost", "score": 0.0011690022656694055 } } }, "else": { "operation": "boost", "score": -0.033140093088150024 } } }, "else": { "operation": "boost", "score": -0.012623968534171581 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014136821031570435 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.018576625734567642 }, "else": { "operation": "boost", "score": -0.002336552133783698 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0695246160030365 }, "else": { "operation": "boost", "score": 0.013858671300113201 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01845489628612995 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06919911503791809 }, "else": { "operation": "boost", "score": 0.036244772374629974 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.002136986004188657 }, "else": { "operation": "boost", "score": -0.010153657756745815 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.05909198895096779 }, "else": { "operation": "boost", "score": 0.1420530378818512 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.17784470319747925 }, "else": { "operation": "boost", "score": -0.03960204869508743 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.01786086894571781 }, "else": { "operation": "boost", "score": -0.10552618652582169 } }, "else": { "operation": "boost", "score": -0.0014802414225414395 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001390197197906673 }, "else": { "operation": "boost", "score": 0.007861419580876827 } } }, "else": { "operation": "boost", "score": -0.0029140650294721127 } } }, "else": { "operation": "boost", "score": 0.41247108578681946 } }, "else": { "operation": "boost", "score": -0.002749080304056406 } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.030647119507193565 }, "else": { "operation": "boost", "score": 0.013352826237678528 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1974688172340393 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.17846496403217316 }, "else": { "operation": "boost", "score": -0.061002109199762344 } } }, "else": { "operation": "boost", "score": -0.10871422290802002 } }, "else": { "operation": "boost", "score": -0.624359667301178 } }, "else": { "operation": "boost", "score": 0.006319113075733185 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.012310375459492207 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037362027913331985 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007795094978064299 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.02891029603779316 }, "else": { "operation": "boost", "score": -0.21593999862670898 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026077790185809135 }, "else": { "operation": "boost", "score": 0.05128052458167076 } }, "else": { "operation": "boost", "score": 0.011515296064317226 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.15622597932815552 }, "else": { "operation": "boost", "score": -0.1001325249671936 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.08070877939462662 }, "else": { "operation": "boost", "score": -0.1392795890569687 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.15256302058696747 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.027194920927286148 }, "else": { "operation": "boost", "score": -0.09970366209745407 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09483659267425537 }, "else": { "operation": "boost", "score": 0.008731959387660027 } }, "else": { "operation": "boost", "score": -0.004675008822232485 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11233007907867432 }, "else": { "operation": "boost", "score": 0.007869773544371128 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07206682115793228 }, "else": { "operation": "boost", "score": -0.0015550142852589488 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04178120940923691 }, "else": { "operation": "boost", "score": -0.029132375493645668 } } } } } } }, "else": { "operation": "boost", "score": -0.006533915642648935 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02277120016515255 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -2.612753087305464e-05 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.03794875368475914 }, "else": { "operation": "boost", "score": -0.20701996982097626 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.006935046054422855 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5187.0, "then": { "operation": "boost", "score": 0.07261147350072861 }, "else": { "operation": "boost", "score": -0.028424011543393135 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.015384029597043991 }, "else": { "operation": "boost", "score": 0.08977698534727097 } }, "else": { "operation": "boost", "score": 0.07346714287996292 } }, "else": { "operation": "boost", "score": 0.025957927107810974 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.03389984369277954 }, "else": { "operation": "boost", "score": 0.0013326467014849186 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005824715830385685 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.014481354504823685 }, "else": { "operation": "boost", "score": -0.09426949918270111 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0409083291888237 }, "else": { "operation": "boost", "score": 0.010950912721455097 } } }, "else": { "operation": "boost", "score": -0.036922987550497055 } }, "else": { "operation": "boost", "score": 0.029071133583784103 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "boost", "score": 0.1318715512752533 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.01984906941652298 }, "else": { "operation": "boost", "score": 0.10309440642595291 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.01483512856066227 }, "else": { "operation": "boost", "score": -0.06383675336837769 } }, "else": { "operation": "boost", "score": 0.03891408443450928 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.001461015548557043 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.026021623983979225 }, "else": { "operation": "boost", "score": -0.05662216618657112 } }, "else": { "operation": "boost", "score": -0.13625440001487732 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.06531166285276413 }, "else": { "operation": "boost", "score": -0.016013454645872116 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.014857595786452293 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": -0.025708360597491264 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06699799746274948 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.344493567943573 }, "else": { "operation": "boost", "score": -2.5616343021392822 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.09038715809583664 }, "else": { "operation": "boost", "score": -0.04872964322566986 } }, "else": { "operation": "boost", "score": -0.5548510551452637 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.3106423616409302 }, "else": { "operation": "boost", "score": 0.0021411709021776915 } }, "else": { "operation": "boost", "score": -0.042472995817661285 } }, "else": { "operation": "boost", "score": 0.03559790179133415 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.9256091117858887 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.07578161358833313 }, "else": { "operation": "boost", "score": -0.07016465812921524 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12227088958024979 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.044001512229442596 }, "else": { "operation": "boost", "score": -0.12362933158874512 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.01640508510172367 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.0457572266459465 }, "else": { "operation": "boost", "score": 0.15349778532981873 } }, "else": { "operation": "boost", "score": 0.02310495637357235 } }, "else": { "operation": "boost", "score": 0.06777944415807724 } }, "else": { "operation": "boost", "score": 0.018574628978967667 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.02743743360042572 }, "else": { "operation": "boost", "score": 0.021612467244267464 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": -0.007628526538610458 }, "else": { "operation": "boost", "score": -0.06712199002504349 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06794321537017822, "then": { "operation": "boost", "score": 0.21923542022705078 }, "else": { "operation": "boost", "score": -0.2608596682548523 } }, "else": { "operation": "boost", "score": 0.023834899067878723 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.09534350037574768 }, "else": { "operation": "boost", "score": -0.9258720278739929 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.003725592512637377 }, "else": { "operation": "boost", "score": -0.10818687826395035 } }, "else": { "operation": "boost", "score": -0.043849095702171326 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.1155441403388977 }, "else": { "operation": "boost", "score": -0.014544609934091568 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.151570662856102 }, "else": { "operation": "boost", "score": 0.11665213853120804 } } }, "else": { "operation": "boost", "score": -0.025387190282344818 } } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02349306456744671 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.6265851259231567 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.08012394607067108 }, "else": { "operation": "boost", "score": 0.025629190728068352 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.09182284027338028 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.021481746807694435 }, "else": { "operation": "boost", "score": 0.11275172233581543 } } } }, "else": { "operation": "boost", "score": 0.029000993818044662 } }, "else": { "operation": "boost", "score": -0.008118954487144947 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.024136018007993698 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.01346964854747057 }, "else": { "operation": "boost", "score": 0.10349048674106598 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1678321659564972, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2153846174478531, "then": { "operation": "boost", "score": -0.0036813935730606318 }, "else": { "operation": "boost", "score": 0.3073946237564087 } }, "else": { "operation": "boost", "score": -0.1428874284029007 } }, "else": { "operation": "boost", "score": 0.06587015092372894 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32329.5, "then": { "operation": "boost", "score": 0.04427262768149376 }, "else": { "operation": "boost", "score": 0.013392185792326927 } } }, "else": { "operation": "boost", "score": -0.0226267259567976 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276057.0, "then": { "operation": "boost", "score": 0.026769356802105904 }, "else": { "operation": "boost", "score": -0.0021601542830467224 } } } }, "else": { "operation": "boost", "score": -6.209079583641142e-05 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.007434238214045763 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.11225781589746475 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "boost", "score": -0.009049694053828716 }, "else": { "operation": "boost", "score": 0.016425030305981636 } } }, "else": { "operation": "boost", "score": 0.0014412200544029474 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.00226655718870461 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.12126026302576065 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.004715561866760254 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.028103098273277283 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4678.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4906.0, "then": { "operation": "boost", "score": 0.02139548398554325 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4889.0, "then": { "operation": "boost", "score": 0.14455154538154602 }, "else": { "operation": "boost", "score": 0.07278066873550415 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "boost", "score": -0.017109179869294167 }, "else": { "operation": "boost", "score": -0.434749037027359 } }, "else": { "operation": "boost", "score": -0.02984795533120632 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.019846899434924126 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.07535487413406372 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.06605380773544312 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -1.016629934310913 }, "else": { "operation": "boost", "score": -0.2845565378665924 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10324717313051224 }, "else": { "operation": "boost", "score": 0.04328459873795509 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.1409737467765808 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.1061517521739006 }, "else": { "operation": "boost", "score": -0.010839094407856464 } } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01897215098142624 }, "else": { "operation": "boost", "score": 0.011613945476710796 } } } } } } }, "else": { "operation": "boost", "score": -0.0022881212644279003 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.21337024867534637 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09601641446352005 }, "else": { "operation": "boost", "score": 0.04702974855899811 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.030181847512722015 }, "else": { "operation": "boost", "score": -0.165236234664917 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.005775230936706066 }, "else": { "operation": "boost", "score": -0.02628377266228199 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03386535868048668 }, "else": { "operation": "boost", "score": -0.03348756581544876 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.023519551381468773 }, "else": { "operation": "boost", "score": -0.09890418499708176 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04151955246925354 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.08760417997837067 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.027636181563138962 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.037497058510780334 }, "else": { "operation": "boost", "score": 0.01963561214506626 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": 0.05842473730444908 }, "else": { "operation": "boost", "score": 0.003613121574744582 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018412195146083832 }, "else": { "operation": "boost", "score": -0.11091025918722153 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05899861454963684 }, "else": { "operation": "boost", "score": -0.01022137701511383 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5430.5, "then": { "operation": "boost", "score": -0.002282290253788233 }, "else": { "operation": "boost", "score": 0.044926755130290985 } }, "else": { "operation": "boost", "score": -0.07729021459817886 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0718260109424591 }, "else": { "operation": "boost", "score": -0.009805711917579174 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.01890442706644535 }, "else": { "operation": "boost", "score": -0.04056936502456665 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.027277609333395958 }, "else": { "operation": "boost", "score": -0.040269531309604645 } }, "else": { "operation": "boost", "score": -0.07905872911214828 } }, "else": { "operation": "boost", "score": 0.05950302630662918 } } } }, "else": { "operation": "boost", "score": 0.015931516885757446 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.057025786489248276 }, "else": { "operation": "boost", "score": 0.0945146381855011 } }, "else": { "operation": "boost", "score": -0.0007187004666775465 } }, "else": { "operation": "boost", "score": -0.11580859869718552 } }, "else": { "operation": "boost", "score": -0.0341719314455986 } }, "else": { "operation": "boost", "score": -0.09671631455421448 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1310732513666153 }, "else": { "operation": "boost", "score": 0.053770359605550766 } }, "else": { "operation": "boost", "score": 0.015804274007678032 } }, "else": { "operation": "boost", "score": -0.006392304319888353 } } } }, "else": { "operation": "boost", "score": 0.09927359968423843 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.05623910576105118 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.025796253234148026 }, "else": { "operation": "boost", "score": -0.05791706591844559 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.053595222532749176 }, "else": { "operation": "boost", "score": 0.04356860741972923 } }, "else": { "operation": "boost", "score": -0.142654687166214 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.013562212698161602 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.024350283667445183 }, "else": { "operation": "boost", "score": -0.04309597983956337 } }, "else": { "operation": "boost", "score": 0.03048279881477356 } }, "else": { "operation": "boost", "score": -0.06747405230998993 } }, "else": { "operation": "boost", "score": -0.010689353570342064 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.015913430601358414 }, "else": { "operation": "boost", "score": 0.016271665692329407 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.06399650126695633 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.04048401862382889 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.04112030565738678 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04321363568305969 }, "else": { "operation": "boost", "score": -0.0176907517015934 } }, "else": { "operation": "boost", "score": 0.002722848439589143 } } } }, "else": { "operation": "boost", "score": -0.006007716525346041 } } } } }, "else": { "operation": "boost", "score": -0.0036463786382228136 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 540.5, "then": { "operation": "boost", "score": 0.010642889887094498 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.1076432541012764 }, "else": { "operation": "boost", "score": 0.002137869829311967 } }, "else": { "operation": "boost", "score": -0.03285114839673042 } }, "else": { "operation": "boost", "score": 0.008818382397294044 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.021740401163697243 }, "else": { "operation": "boost", "score": -0.0017848012503236532 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03931949660181999 }, "else": { "operation": "boost", "score": -0.0361865796148777 } } }, "else": { "operation": "boost", "score": 0.0022785011678934097 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02646273747086525 }, "else": { "operation": "boost", "score": 0.0759374275803566 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004840652924031019 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.0, "then": { "operation": "boost", "score": 0.05887341871857643 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.02641955576837063 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.044552553445100784 }, "else": { "operation": "boost", "score": -0.4906547963619232 } } } }, "else": { "operation": "boost", "score": 0.01621556282043457 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.0, "then": { "operation": "boost", "score": 0.21544446051120758 }, "else": { "operation": "boost", "score": 0.19031000137329102 } }, "else": { "operation": "boost", "score": 0.016765983775258064 } }, "else": { "operation": "boost", "score": -0.10624470561742783 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 299.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08027859777212143 }, "else": { "operation": "boost", "score": 0.241974875330925 } }, "else": { "operation": "boost", "score": -0.0019852265249937773 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.0004944982356391847 }, "else": { "operation": "boost", "score": -0.2540135085582733 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09636766463518143 }, "else": { "operation": "boost", "score": -0.10452818870544434 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 535.5, "then": { "operation": "boost", "score": -0.16668598353862762 }, "else": { "operation": "boost", "score": -0.015611420385539532 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.06753343343734741 }, "else": { "operation": "boost", "score": -0.1911434382200241 } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.007081192918121815 }, "else": { "operation": "boost", "score": 0.00288125011138618 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26162.5, "then": { "operation": "boost", "score": 0.01612645946443081 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24366.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07398166507482529 }, "else": { "operation": "boost", "score": -0.3154350519180298 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13187740743160248 }, "else": { "operation": "boost", "score": 0.05682500824332237 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05133046954870224 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.023707790300250053 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.02581457793712616 }, "else": { "operation": "boost", "score": -0.01743943616747856 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2072698473930359 }, "else": { "operation": "boost", "score": 0.047167375683784485 } }, "else": { "operation": "boost", "score": -0.00019360630540177226 } }, "else": { "operation": "boost", "score": -0.024645131081342697 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.13232548534870148 }, "else": { "operation": "boost", "score": 0.024211199954152107 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.32818618416786194 }, "else": { "operation": "boost", "score": -0.0208810493350029 } }, "else": { "operation": "boost", "score": 0.01948917657136917 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01278875395655632 }, "else": { "operation": "boost", "score": -0.022827213630080223 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": 0.1038617193698883 }, "else": { "operation": "boost", "score": 0.006586747709661722 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03564148768782616 }, "else": { "operation": "boost", "score": 0.14786049723625183 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": -0.0013454812578856945 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.09113797545433044 }, "else": { "operation": "boost", "score": 0.03895705193281174 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.06217343360185623 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.1486217975616455 }, "else": { "operation": "boost", "score": 0.13016176223754883 } }, "else": { "operation": "boost", "score": 0.05729968473315239 } } }, "else": { "operation": "boost", "score": 0.06111820787191391 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.056365203112363815 }, "else": { "operation": "boost", "score": 0.02247944474220276 } }, "else": { "operation": "boost", "score": -0.016720078885555267 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.02601204439997673 }, "else": { "operation": "boost", "score": 0.06227882578969002 } }, "else": { "operation": "boost", "score": 0.0030314817558974028 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12022153288125992 }, "else": { "operation": "boost", "score": 0.12000033259391785 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.12320045381784439 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.006964227184653282 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.18940284848213196 }, "else": { "operation": "boost", "score": -4.047545433044434 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -1.1598280668258667 }, "else": { "operation": "boost", "score": 0.09728285670280457 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.030948176980018616 }, "else": { "operation": "boost", "score": -0.2216339111328125 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04883275181055069 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.9287672638893127 }, "else": { "operation": "boost", "score": -0.1187591552734375 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.10178817808628082 }, "else": { "operation": "boost", "score": 0.11623505502939224 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.039081644266843796 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.012981066480278969 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.06439736485481262 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.05048086866736412 }, "else": { "operation": "boost", "score": 0.014685514383018017 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0736498311161995 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.04772954806685448 }, "else": { "operation": "boost", "score": -0.4940255284309387 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.02378462813794613 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 102.0, "then": { "operation": "boost", "score": 0.09266984462738037 }, "else": { "operation": "boost", "score": 0.14308907091617584 } }, "else": { "operation": "boost", "score": 0.014239626936614513 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.051811687648296356 }, "else": { "operation": "boost", "score": 0.10920540988445282 } }, "else": { "operation": "boost", "score": 0.032075319439172745 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.0, "then": { "operation": "boost", "score": 0.4880698025226593 }, "else": { "operation": "boost", "score": 0.08262555301189423 } }, "else": { "operation": "boost", "score": -0.033600013703107834 } } } }, "else": { "operation": "boost", "score": -0.01181051880121231 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.14055949449539185 }, "else": { "operation": "boost", "score": -0.6771196722984314 } }, "else": { "operation": "boost", "score": 0.014894271269440651 } }, "else": { "operation": "boost", "score": -0.050648804754018784 } }, "else": { "operation": "boost", "score": 0.0019549650605767965 } } }, "else": { "operation": "boost", "score": -0.012961633503437042 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0006347025046125054 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.048054322600364685 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.035423826426267624 }, "else": { "operation": "boost", "score": 0.12212302535772324 } }, "else": { "operation": "boost", "score": -0.02675449103116989 } }, "else": { "operation": "boost", "score": 0.033974118530750275 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.044836048036813736 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.081944040954113 }, "else": { "operation": "boost", "score": 0.05451355502009392 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2760.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3433.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21057.0, "then": { "operation": "boost", "score": 0.1132504940032959 }, "else": { "operation": "boost", "score": -0.23650947213172913 } }, "else": { "operation": "boost", "score": 0.1273631900548935 } }, "else": { "operation": "boost", "score": -0.0120706120505929 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.16854271292686462 }, "else": { "operation": "boost", "score": 0.055377766489982605 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10572179406881332 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.1452728807926178 }, "else": { "operation": "boost", "score": 0.014915743842720985 } }, "else": { "operation": "boost", "score": 0.14274831116199493 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.09674631059169769 }, "else": { "operation": "boost", "score": 0.00017668871441856027 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.012411405332386494 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1287834495306015 }, "else": { "operation": "boost", "score": -0.008206627331674099 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.030098503455519676 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.044731445610523224 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.02806226909160614 }, "else": { "operation": "boost", "score": 0.03125736489892006 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.07539957761764526 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02558889426290989 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": -0.023266151547431946 }, "else": { "operation": "boost", "score": 0.046103496104478836 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.004668282810598612 }, "else": { "operation": "boost", "score": -0.07791505008935928 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.09925834089517593 }, "else": { "operation": "boost", "score": 0.026298368349671364 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08280010521411896 }, "else": { "operation": "boost", "score": -0.025515953078866005 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 206.5, "then": { "operation": "boost", "score": 0.020996129140257835 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205.5, "then": { "operation": "boost", "score": -1.2313841581344604 }, "else": { "operation": "boost", "score": -0.019677285104990005 } } }, "else": { "operation": "boost", "score": 0.03189944103360176 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04470019415020943 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05552222579717636 }, "else": { "operation": "boost", "score": -0.02226981893181801 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": -0.004143225494772196 }, "else": { "operation": "boost", "score": -0.023187613114714622 } } } } } } } } } } } } } } }, "else": { "operation": "boost", "score": -0.001284936210140586 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31804.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44616.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 256926.0, "then": { "operation": "boost", "score": -0.3237709403038025 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 107411.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123410.5, "then": { "operation": "boost", "score": 0.0641995221376419 }, "else": { "operation": "boost", "score": -0.15270227193832397 } }, "else": { "operation": "boost", "score": 0.07798721641302109 } }, "else": { "operation": "boost", "score": -0.04450218006968498 } } }, "else": { "operation": "boost", "score": 0.07720731943845749 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "boost", "score": -0.07564513385295868 }, "else": { "operation": "boost", "score": 0.034298233687877655 } } }, "else": { "operation": "boost", "score": 0.08149267733097076 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "boost", "score": -0.027133308351039886 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10897216945886612 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6388.5, "then": { "operation": "boost", "score": 0.10675381869077682 }, "else": { "operation": "boost", "score": 0.10890088230371475 } } }, "else": { "operation": "boost", "score": 0.11071084439754486 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03138341009616852 }, "else": { "operation": "boost", "score": 0.05855172500014305 } }, "else": { "operation": "boost", "score": 0.011526976712048054 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6228.0, "then": { "operation": "boost", "score": -0.6128130555152893 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 228.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.1938953697681427 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 230.5, "then": { "operation": "boost", "score": 0.052111294120550156 }, "else": { "operation": "boost", "score": 0.08896856009960175 } } }, "else": { "operation": "boost", "score": -0.0076774610206484795 } } }, "else": { "operation": "boost", "score": 0.005879159085452557 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013599907979369164 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.10632477700710297 }, "else": { "operation": "boost", "score": 0.04641656205058098 } }, "else": { "operation": "boost", "score": 0.01490599662065506 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.034468874335289 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18548713624477386 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.02061012014746666 }, "else": { "operation": "boost", "score": 0.0008919649990275502 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.06846587359905243 }, "else": { "operation": "boost", "score": -0.020502114668488503 } } } } }, "else": { "operation": "boost", "score": 0.002200815826654434 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01704997755587101 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10347466170787811 }, "else": { "operation": "boost", "score": -0.11698000133037567 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4868420958518982, "then": { "operation": "boost", "score": 0.008053292520344257 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.033500056713819504 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.05394105985760689 }, "else": { "operation": "boost", "score": -0.012555580586194992 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0004688366025220603 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.12153556942939758 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.03442415967583656 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.21169571578502655 }, "else": { "operation": "boost", "score": -0.04025162756443024 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "boost", "score": 0.012789590284228325 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0032844385132193565 }, "else": { "operation": "boost", "score": -0.005439239554107189 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 33.0, "then": { "operation": "boost", "score": 0.10146772861480713 }, "else": { "operation": "boost", "score": 0.00980337243527174 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 110487.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -1.3344062566757202 }, "else": { "operation": "boost", "score": 0.009627556428313255 } }, "else": { "operation": "boost", "score": 0.10476235300302505 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62576.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 66036.0, "then": { "operation": "boost", "score": -0.07570146769285202 }, "else": { "operation": "boost", "score": -0.26687929034233093 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33949.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.960381031036377 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06920372694730759 }, "else": { "operation": "boost", "score": -0.06455236673355103 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07550415396690369 }, "else": { "operation": "boost", "score": 0.12658020853996277 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30340.5, "then": { "operation": "boost", "score": -0.15594829618930817 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25815.0, "then": { "operation": "boost", "score": -0.025030015036463737 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20564.5, "then": { "operation": "boost", "score": 0.060023099184036255 }, "else": { "operation": "boost", "score": 0.13376763463020325 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "boost", "score": 0.08851295709609985 }, "else": { "operation": "boost", "score": -0.01734205149114132 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13065.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03359891101717949 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15332.0, "then": { "operation": "boost", "score": -0.16280946135520935 }, "else": { "operation": "boost", "score": -0.9851589202880859 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11825.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11624765396118164 }, "else": { "operation": "boost", "score": 0.18206609785556793 } }, "else": { "operation": "boost", "score": -0.15224216878414154 } }, "else": { "operation": "boost", "score": 0.08760282397270203 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10005.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03666738420724869 }, "else": { "operation": "boost", "score": -0.23923088610172272 } }, "else": { "operation": "boost", "score": -0.0004597318184096366 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012804374098777771 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03867601975798607 }, "else": { "operation": "boost", "score": -0.015153972432017326 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.023802975192666054 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.1417694389820099 }, "else": { "operation": "boost", "score": -0.1193254292011261 } } }, "else": { "operation": "boost", "score": 0.007603168953210115 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0035514100454747677 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9444444179534912, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14474473893642426 }, "else": { "operation": "boost", "score": 0.021108919754624367 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1303565949201584 }, "else": { "operation": "boost", "score": -0.036749038845300674 } }, "else": { "operation": "boost", "score": -0.004057413898408413 } }, "else": { "operation": "boost", "score": -0.009613612666726112 } }, "else": { "operation": "boost", "score": 0.2877407968044281 } } } } }, "else": { "operation": "boost", "score": -0.00025061643100343645 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15307879447937012 }, "else": { "operation": "boost", "score": 0.00011914357310160995 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0020736465230584145 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.014401315711438656 }, "else": { "operation": "boost", "score": 0.0510273277759552 } }, "else": { "operation": "boost", "score": -0.0266535934060812 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.003241482423618436 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.035302940756082535 }, "else": { "operation": "boost", "score": 0.006700173020362854 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.04681948944926262 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.4166176915168762 }, "else": { "operation": "boost", "score": -0.2807748019695282 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.030816150829195976 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 335.5, "then": { "operation": "boost", "score": 0.1650572270154953 }, "else": { "operation": "boost", "score": 0.01767268404364586 } }, "else": { "operation": "boost", "score": -0.05059971287846565 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.013998083770275116 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.15048490464687347 }, "else": { "operation": "boost", "score": -0.043688274919986725 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.03296702727675438 }, "else": { "operation": "boost", "score": 0.003230134956538677 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.16998125612735748 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.08110211044549942 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.11920542269945145 }, "else": { "operation": "boost", "score": 0.016821181401610374 } } } }, "else": { "operation": "boost", "score": -0.0445370152592659 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.053657375276088715 }, "else": { "operation": "boost", "score": -0.036594126373529434 } } } }, "else": { "operation": "boost", "score": 0.004221324808895588 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.10494678467512131 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.21408015489578247 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.18649962544441223 }, "else": { "operation": "boost", "score": -0.18989971280097961 } } } }, "else": { "operation": "boost", "score": 0.05425123870372772 } } } }, "else": { "operation": "boost", "score": -0.0008076915983110666 } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.033986277878284454 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.13223795592784882 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.018286192789673805 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.10335563123226166 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027822459116578102 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1131838709115982 }, "else": { "operation": "boost", "score": 0.12349305301904678 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.2060401886701584 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08474448323249817 }, "else": { "operation": "boost", "score": -0.040490809828042984 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.29267844557762146 }, "else": { "operation": "boost", "score": 0.1648392230272293 } } } } } } }, "else": { "operation": "boost", "score": 0.2249753177165985 } }, "else": { "operation": "boost", "score": 0.010791255161166191 } } }, "else": { "operation": "boost", "score": 0.0052569047547876835 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.01201393362134695 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10625940561294556 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0855901911854744 }, "else": { "operation": "boost", "score": -0.017492705956101418 } } }, "else": { "operation": "boost", "score": -7.276600081240758e-05 } } }, "else": { "operation": "boost", "score": 0.00928430911153555 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.355042040348053, "then": { "operation": "boost", "score": 0.025639701634645462 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10781511664390564 }, "else": { "operation": "boost", "score": 0.049368515610694885 } }, "else": { "operation": "boost", "score": 0.0008999896235764027 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.03102671355009079 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12337850779294968 }, "else": { "operation": "boost", "score": 0.0312652513384819 } }, "else": { "operation": "boost", "score": -0.038665637373924255 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "boost", "score": 0.10933035612106323 }, "else": { "operation": "boost", "score": 0.006694428622722626 } }, "else": { "operation": "boost", "score": -0.04410915821790695 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03158142790198326 }, "else": { "operation": "boost", "score": -0.0009317589574493468 } }, "else": { "operation": "boost", "score": -0.015745334327220917 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.014270126819610596 }, "else": { "operation": "boost", "score": -0.05719872564077377 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0035641142167150974 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022409895434975624 }, "else": { "operation": "boost", "score": 0.049379270523786545 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05277777835726738, "then": { "operation": "boost", "score": -0.042906321585178375 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.013325969688594341 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06805077195167542 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0736483708024025 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.1000467836856842 }, "else": { "operation": "boost", "score": 0.12437940388917923 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.031166445463895798 }, "else": { "operation": "boost", "score": 0.11422640085220337 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04280893877148628 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20068.5, "then": { "operation": "boost", "score": -0.3485015034675598 }, "else": { "operation": "boost", "score": -0.028521491214632988 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.002293128753080964 }, "else": { "operation": "boost", "score": -0.01119181327521801 } }, "else": { "operation": "boost", "score": -0.021052774041891098 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.0020274079870432615 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.021125925704836845 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.02459239959716797 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 656.5, "then": { "operation": "boost", "score": -0.014513703994452953 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.130198135972023 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.43990230560302734 }, "else": { "operation": "boost", "score": 0.17540815472602844 } } }, "else": { "operation": "boost", "score": -0.11512011289596558 } }, "else": { "operation": "boost", "score": -0.11026690155267715 } }, "else": { "operation": "boost", "score": 0.011854995973408222 } }, "else": { "operation": "boost", "score": -0.051343098282814026 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 80.5, "then": { "operation": "boost", "score": 0.03971867635846138 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03397351875901222 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78.5, "then": { "operation": "boost", "score": 0.5105454325675964 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.13600489497184753 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77.5, "then": { "operation": "boost", "score": -0.2796136736869812 }, "else": { "operation": "boost", "score": 0.8609305024147034 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.010636524297297001 }, "else": { "operation": "boost", "score": 0.06954678893089294 } }, "else": { "operation": "boost", "score": 0.4000227451324463 } }, "else": { "operation": "boost", "score": -0.03475746512413025 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.11006142944097519 }, "else": { "operation": "boost", "score": -0.061565693467855453 } }, "else": { "operation": "boost", "score": 0.11654902249574661 } }, "else": { "operation": "boost", "score": 0.04735817015171051 } } }, "else": { "operation": "boost", "score": -0.0183044895529747 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.02881796844303608 }, "else": { "operation": "boost", "score": -0.02189992554485798 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.11726465821266174 }, "else": { "operation": "boost", "score": 0.03629761561751366 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.004008475225418806 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.11067378520965576 }, "else": { "operation": "boost", "score": 0.28126034140586853 } }, "else": { "operation": "boost", "score": 0.0362430103123188 } } } } }, "else": { "operation": "boost", "score": 0.012865160591900349 } } }, "else": { "operation": "boost", "score": 0.0040780361741781235 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.28348326683044434 }, "else": { "operation": "boost", "score": 0.055761221796274185 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "boost", "score": 0.0649571344256401 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "boost", "score": 0.19835662841796875 }, "else": { "operation": "boost", "score": 0.08227872103452682 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.15470652282238007 }, "else": { "operation": "boost", "score": -0.019036533311009407 } } } }, "else": { "operation": "boost", "score": 0.008130851201713085 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.325901061296463 }, "else": { "operation": "boost", "score": -0.027516013011336327 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 560.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 596.0, "then": { "operation": "boost", "score": 0.08257932960987091 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 569.0, "then": { "operation": "boost", "score": 0.1354023516178131 }, "else": { "operation": "boost", "score": 0.09804705530405045 } } }, "else": { "operation": "boost", "score": 0.020344272255897522 } } }, "else": { "operation": "boost", "score": -0.04532129690051079 } }, "else": { "operation": "boost", "score": -0.038339853286743164 } } } }, "else": { "operation": "boost", "score": -0.003258779877796769 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4724.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4809.0, "then": { "operation": "boost", "score": 0.013752676546573639 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.22141319513320923 }, "else": { "operation": "boost", "score": 0.09042683243751526 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0062300353311002254 }, "else": { "operation": "boost", "score": -0.026556165888905525 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.029851600527763367 }, "else": { "operation": "boost", "score": 0.009203627705574036 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11293602734804153 }, "else": { "operation": "boost", "score": 0.06543811410665512 } }, "else": { "operation": "boost", "score": 0.02322736196219921 } }, "else": { "operation": "boost", "score": 0.0036628604866564274 } }, "else": { "operation": "boost", "score": -0.01222881581634283 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": -0.14632746577262878 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10784900188446045 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.17748208343982697 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08828332275152206 }, "else": { "operation": "boost", "score": 0.053786247968673706 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": -0.0760713517665863 }, "else": { "operation": "boost", "score": 0.11916641891002655 } }, "else": { "operation": "boost", "score": -0.05426008254289627 } } } } }, "else": { "operation": "boost", "score": -1.6424253772129305e-05 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.00675848126411438 }, "else": { "operation": "boost", "score": 0.0026029536966234446 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323356.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05310757830739021 }, "else": { "operation": "boost", "score": -0.0001880819909274578 } }, "else": { "operation": "boost", "score": -0.08489398658275604 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": 0.002480890369042754 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09180008620023727 }, "else": { "operation": "boost", "score": 0.059591226279735565 } }, "else": { "operation": "boost", "score": 0.02666710689663887 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.052185337990522385 }, "else": { "operation": "boost", "score": 0.023458095267415047 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.05459415912628174 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06972047686576843 }, "else": { "operation": "boost", "score": 0.017543915659189224 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05335920304059982 }, "else": { "operation": "boost", "score": -0.03800826519727707 } }, "else": { "operation": "boost", "score": -0.012955172918736935 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.14958524703979492 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55854.0, "then": { "operation": "boost", "score": -0.04003315791487694 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.14571157097816467 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": 0.1355765163898468 }, "else": { "operation": "boost", "score": 0.06905090063810349 } } }, "else": { "operation": "boost", "score": -0.18326330184936523 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48070.0, "then": { "operation": "boost", "score": -0.030554134398698807 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09274778515100479 }, "else": { "operation": "boost", "score": -0.15596041083335876 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13327.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13390.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04343261197209358 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": -0.13246724009513855 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27669.0, "then": { "operation": "boost", "score": 0.19992277026176453 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": 0.07009807974100113 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18305.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.09583566337823868 }, "else": { "operation": "boost", "score": 0.15764276683330536 } }, "else": { "operation": "boost", "score": 0.07781140506267548 } } } } } }, "else": { "operation": "boost", "score": 0.4124438464641571 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013666884042322636 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0800977498292923 }, "else": { "operation": "boost", "score": -0.09904047101736069 } } } }, "else": { "operation": "boost", "score": 0.0018011487554758787 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24577.5, "then": { "operation": "boost", "score": -0.1376655399799347 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23639.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23935.5, "then": { "operation": "boost", "score": 0.09532508254051208 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.10352880507707596 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.19421051442623138 }, "else": { "operation": "boost", "score": 0.11590353399515152 } } } }, "else": { "operation": "boost", "score": -0.11697892844676971 } }, "else": { "operation": "boost", "score": -0.024104753509163857 } } } }, "else": { "operation": "boost", "score": -0.05465766042470932 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07416559755802155 }, "else": { "operation": "boost", "score": -0.18289320170879364 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160645.0, "then": { "operation": "boost", "score": -0.20275366306304932 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68401.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.05106541886925697 }, "else": { "operation": "boost", "score": -0.0409347303211689 } }, "else": { "operation": "boost", "score": 0.008066191338002682 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0433371476829052 }, "else": { "operation": "boost", "score": -0.022048654034733772 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8476.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61294.0, "then": { "operation": "boost", "score": -0.05512602627277374 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3873879909515381 }, "else": { "operation": "boost", "score": -0.06662780791521072 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53793.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10067971795797348 }, "else": { "operation": "boost", "score": 0.04762813076376915 } }, "else": { "operation": "boost", "score": -0.07026449590921402 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46971.0, "then": { "operation": "boost", "score": -0.06588133424520493 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46241.5, "then": { "operation": "boost", "score": 0.07676829397678375 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.021756984293460846 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.035159796476364136 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02654184214770794 }, "else": { "operation": "boost", "score": -0.10338429361581802 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7473.5, "then": { "operation": "boost", "score": -0.1215212494134903 }, "else": { "operation": "boost", "score": 0.025562740862369537 } }, "else": { "operation": "boost", "score": -0.0663188248872757 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.02178775519132614 }, "else": { "operation": "boost", "score": 0.06688954681158066 } } }, "else": { "operation": "boost", "score": -0.08996648341417313 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.016525056213140488 }, "else": { "operation": "boost", "score": -0.1172778382897377 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.02249608188867569 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": -0.05667947977781296 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1431623101234436 }, "else": { "operation": "boost", "score": -0.10630203038454056 } }, "else": { "operation": "boost", "score": -0.001528955646790564 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0225498266518116 }, "else": { "operation": "boost", "score": -0.002707627136260271 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.002116968622431159 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10629629343748093 }, "else": { "operation": "boost", "score": 0.03224535658955574 } }, "else": { "operation": "boost", "score": -0.039633672684431076 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.008502139709889889 }, "else": { "operation": "boost", "score": -0.004962095990777016 } }, "else": { "operation": "boost", "score": 0.0057676793076097965 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.009677935391664505 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.015383767895400524 }, "else": { "operation": "boost", "score": -0.012490826658904552 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.012639855034649372 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09186425805091858 }, "else": { "operation": "boost", "score": 0.024591373279690742 } }, "else": { "operation": "boost", "score": -0.10280642658472061 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 222.0, "then": { "operation": "boost", "score": -0.07410300523042679 }, "else": { "operation": "boost", "score": 0.007650325540453196 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.14758314192295074 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11467.0, "then": { "operation": "boost", "score": -0.13882435858249664 }, "else": { "operation": "boost", "score": -0.08684992045164108 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.12642629444599152 }, "else": { "operation": "boost", "score": 0.09720033407211304 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08268596231937408 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011967801488935947 }, "else": { "operation": "boost", "score": 0.04184703528881073 } }, "else": { "operation": "boost", "score": 0.014635924249887466 } }, "else": { "operation": "boost", "score": 0.00020478229271247983 } } } }, "else": { "operation": "boost", "score": -0.00837474875152111 } } } } } }, "else": { "operation": "boost", "score": 0.00758777279406786 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004558957181870937 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06271757930517197 }, "else": { "operation": "boost", "score": 0.10996513068675995 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.124207504093647 }, "else": { "operation": "boost", "score": 0.07462351024150848 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": 0.10277403146028519 }, "else": { "operation": "boost", "score": 0.056860532611608505 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.10565686970949173 }, "else": { "operation": "boost", "score": 0.00852958019822836 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 95499.0, "then": { "operation": "boost", "score": -0.1321980506181717 }, "else": { "operation": "boost", "score": 0.010032344609498978 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0011827511480078101 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.003902002004906535 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "boost", "score": 0.14399966597557068 }, "else": { "operation": "boost", "score": 0.042930010706186295 } }, "else": { "operation": "boost", "score": 0.022893289104104042 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.017599718645215034 }, "else": { "operation": "boost", "score": -0.14016197621822357 } } } }, "else": { "operation": "boost", "score": -0.004712421912699938 } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007662678137421608 }, "else": { "operation": "boost", "score": 0.0022291792556643486 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 366.0, "then": { "operation": "boost", "score": 0.13852377235889435 }, "else": { "operation": "boost", "score": 0.1504603773355484 } }, "else": { "operation": "boost", "score": 0.017679976299405098 } }, "else": { "operation": "boost", "score": 0.0004018302424810827 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21689.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "boost", "score": 0.013747102580964565 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04407130181789398 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.12216737866401672 }, "else": { "operation": "boost", "score": 0.09761015325784683 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09166666865348816, "then": { "operation": "boost", "score": 0.02380344085395336 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.13274243474006653 }, "else": { "operation": "boost", "score": 0.09116168320178986 } } }, "else": { "operation": "boost", "score": -0.09778054803609848 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09673146158456802 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1560927927494049 }, "else": { "operation": "boost", "score": 0.03121931478381157 } }, "else": { "operation": "boost", "score": 0.02049807645380497 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "boost", "score": -0.06066863238811493 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10877031087875366 }, "else": { "operation": "boost", "score": 0.062258388847112656 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20150.0, "then": { "operation": "boost", "score": -0.23891590535640717 }, "else": { "operation": "boost", "score": 0.008292204700410366 } } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024745650589466095 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06608335673809052 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.00471850298345089 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.11236737668514252 }, "else": { "operation": "boost", "score": 0.18059031665325165 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.123537078499794 }, "else": { "operation": "boost", "score": 0.04545416682958603 } } }, "else": { "operation": "boost", "score": -0.013286944478750229 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.024762321263551712 }, "else": { "operation": "boost", "score": 0.006236442364752293 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17142857611179352, "then": { "operation": "boost", "score": 0.23571592569351196 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11377774924039841 }, "else": { "operation": "boost", "score": 0.0004342622123658657 } } }, "else": { "operation": "boost", "score": -0.12980826199054718 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.05231255665421486 }, "else": { "operation": "boost", "score": 0.07834428548812866 } }, "else": { "operation": "boost", "score": -0.048718564212322235 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02048558183014393 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.004039331804960966 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.12391205877065659 }, "else": { "operation": "boost", "score": 0.02058020420372486 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.015947308391332626 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.03115501068532467 }, "else": { "operation": "boost", "score": 0.21738301217556 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.03718357905745506 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.7489467263221741 }, "else": { "operation": "boost", "score": 0.002957037417218089 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08451537042856216 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.10831350833177567 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.05443519353866577 }, "else": { "operation": "boost", "score": -0.02920595183968544 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.033183977007865906 }, "else": { "operation": "boost", "score": 0.10355139523744583 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.11862979829311371 }, "else": { "operation": "boost", "score": -0.039351195096969604 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04428980126976967 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.005200193263590336 }, "else": { "operation": "boost", "score": 0.11671609431505203 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.004109319765120745 }, "else": { "operation": "boost", "score": -0.017383024096488953 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01265617273747921 }, "else": { "operation": "boost", "score": -0.21304729580879211 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.12047511339187622 }, "else": { "operation": "boost", "score": -0.025379842147231102 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.11262232810258865 }, "else": { "operation": "boost", "score": -0.002517029643058777 } }, "else": { "operation": "boost", "score": 0.10504040122032166 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.002391108078882098 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": -0.05318252742290497 }, "else": { "operation": "boost", "score": 0.10331213474273682 } }, "else": { "operation": "boost", "score": 0.049957748502492905 } } } } }, "else": { "operation": "boost", "score": -0.10730710625648499 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.2303236573934555 }, "else": { "operation": "boost", "score": 0.0054090130142867565 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.1147279143333435 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05448167398571968, "then": { "operation": "boost", "score": 0.08509765565395355 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.05857612565159798 }, "else": { "operation": "boost", "score": -0.22504429519176483 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.017649006098508835 }, "else": { "operation": "boost", "score": -0.15300437808036804 } }, "else": { "operation": "boost", "score": -0.044720426201820374 } } }, "else": { "operation": "boost", "score": 0.0037050058599561453 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0010362752946093678 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.027484215795993805 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00554429879412055 }, "else": { "operation": "boost", "score": -0.08167380094528198 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011218525469303131 }, "else": { "operation": "boost", "score": -0.003770761890336871 } }, "else": { "operation": "boost", "score": 0.005748257972300053 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04880952462553978, "then": { "operation": "boost", "score": -0.031342294067144394 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.00885771494358778 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.4306332468986511 }, "else": { "operation": "boost", "score": 0.08183860033750534 } } }, "else": { "operation": "boost", "score": -0.028326673433184624 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.039141733199357986 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09765610843896866 }, "else": { "operation": "boost", "score": -0.03922317922115326 } }, "else": { "operation": "boost", "score": -0.0986628457903862 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.027735400944948196 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.003858044045045972 }, "else": { "operation": "boost", "score": 0.09469389915466309 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.014627712778747082 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09197455644607544 }, "else": { "operation": "boost", "score": 0.1658807396888733 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.07276316732168198 }, "else": { "operation": "boost", "score": 0.014979771338403225 } } }, "else": { "operation": "boost", "score": -0.034781619906425476 } } }, "else": { "operation": "boost", "score": 0.009112276136875153 } }, "else": { "operation": "boost", "score": -0.021843209862709045 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.019261864945292473 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10714627057313919 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11526324599981308 }, "else": { "operation": "boost", "score": -0.11177810281515121 } } } }, "else": { "operation": "boost", "score": -0.04483933374285698 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.008547231554985046 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.011520959436893463 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.09290006011724472 }, "else": { "operation": "boost", "score": 0.00897774938493967 } } }, "else": { "operation": "boost", "score": 0.002085469663143158 } } }, "else": { "operation": "boost", "score": -0.10700166970491409 } }, "else": { "operation": "boost", "score": -0.0914255902171135 } } } } }, "else": { "operation": "boost", "score": -0.0005744961090385914 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0008905512513592839 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.020704131573438644 }, "else": { "operation": "boost", "score": -0.07614192366600037 } } } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06903892755508423 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18876557052135468 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 375.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 387.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19327495992183685 }, "else": { "operation": "boost", "score": 0.027518780902028084 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.14140792191028595 }, "else": { "operation": "boost", "score": 0.11907932907342911 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.03998662903904915 }, "else": { "operation": "boost", "score": -0.1258513182401657 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.011606038548052311 }, "else": { "operation": "boost", "score": -0.2191244661808014 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11718155443668365 }, "else": { "operation": "boost", "score": 0.06479702889919281 } }, "else": { "operation": "boost", "score": -0.024944700300693512 } }, "else": { "operation": "boost", "score": 0.019519178196787834 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.22390438616275787 }, "else": { "operation": "boost", "score": 0.005302328150719404 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.039260413497686386 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03125, "then": { "operation": "boost", "score": 0.1144624650478363 }, "else": { "operation": "boost", "score": 0.09660680592060089 } } }, "else": { "operation": "boost", "score": 0.02982574701309204 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.2442377358675003 }, "else": { "operation": "boost", "score": 0.05437062308192253 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.10171560198068619 }, "else": { "operation": "boost", "score": -0.1263628453016281 } }, "else": { "operation": "boost", "score": -0.025182468816637993 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 32.5, "then": { "operation": "boost", "score": -1.1635589599609375 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10637155920267105 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 351.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 353.5, "then": { "operation": "boost", "score": -0.07604531943798065 }, "else": { "operation": "boost", "score": -2.3250505924224854 } }, "else": { "operation": "boost", "score": 0.0006879388820379972 } }, "else": { "operation": "boost", "score": 0.02164728380739689 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.10851065814495087 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.039101045578718185 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.01330705638974905 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011266784742474556 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.04557691514492035 }, "else": { "operation": "boost", "score": -0.03421202674508095 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 8.564466406824067e-05 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.01082985382527113 }, "else": { "operation": "boost", "score": -0.49768930673599243 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.22587206959724426 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.0730074793100357 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.07912294566631317 }, "else": { "operation": "boost", "score": 0.15605005621910095 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.11053638160228729 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.12218141555786133 }, "else": { "operation": "boost", "score": 0.05419934540987015 } } } } } }, "else": { "operation": "boost", "score": 0.12106246501207352 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 713.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.003912226762622595 }, "else": { "operation": "boost", "score": -0.3724445700645447 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 529.0, "then": { "operation": "boost", "score": 0.12119866162538528 }, "else": { "operation": "boost", "score": -0.011137607507407665 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.13489627838134766 }, "else": { "operation": "boost", "score": 0.1532379537820816 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.007829384878277779 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07500000298023224, "then": { "operation": "boost", "score": 0.13543486595153809 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.13237453997135162 }, "else": { "operation": "boost", "score": 0.11059262603521347 } } }, "else": { "operation": "boost", "score": 0.05686461552977562 } } }, "else": { "operation": "boost", "score": 0.018850700929760933 } } } }, "else": { "operation": "boost", "score": -0.008060585707426071 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60.5, "then": { "operation": "boost", "score": 0.06289072334766388 }, "else": { "operation": "boost", "score": -0.3092290461063385 } }, "else": { "operation": "boost", "score": 0.10499934107065201 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.8331498503684998 }, "else": { "operation": "boost", "score": -0.20780743658542633 } }, "else": { "operation": "boost", "score": -0.047034647315740585 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.059705376625061035 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09132546186447144 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.028110170736908913 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.23361150920391083 }, "else": { "operation": "boost", "score": 0.0433497354388237 } }, "else": { "operation": "boost", "score": 0.07546158879995346 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11782119423151016 }, "else": { "operation": "boost", "score": 0.02086947113275528 } } }, "else": { "operation": "boost", "score": 0.005205557215958834 } } } } } } }, "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_ClassOrStructTag", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.012463361956179142 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07737422734498978 }, "else": { "operation": "boost", "score": -0.09085630625486374 } }, "else": { "operation": "boost", "score": 0.02898760698735714 } }, "else": { "operation": "boost", "score": 0.0026517438236624002 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.12204079329967499 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.02965729683637619 }, "else": { "operation": "boost", "score": 0.06992881745100021 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04107140749692917 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.070843905210495 }, "else": { "operation": "boost", "score": 0.09791503101587296 } }, "else": { "operation": "boost", "score": -0.15968668460845947 } } } }, "else": { "operation": "boost", "score": -0.14159312844276428 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13615930080413818 }, "else": { "operation": "boost", "score": 0.052236009389162064 } }, "else": { "operation": "boost", "score": 0.03252272680401802 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.019402096047997475 }, "else": { "operation": "boost", "score": -0.0016749135684221983 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1059688925743103 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.06762527674436569 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.17693574726581573 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "boost", "score": 0.0825815424323082 }, "else": { "operation": "boost", "score": -0.07617483288049698 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.23308321833610535 }, "else": { "operation": "boost", "score": 0.05411040782928467 } } } }, "else": { "operation": "boost", "score": -0.028206706047058105 } } }, "else": { "operation": "boost", "score": -0.03554273024201393 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04851605370640755 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.01354444120079279 }, "else": { "operation": "boost", "score": 0.00028308844775892794 } } }, "else": { "operation": "boost", "score": 0.0018960082670673728 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04133536294102669 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.015318037010729313 }, "else": { "operation": "boost", "score": -0.07059430330991745 } }, "else": { "operation": "boost", "score": -0.04200071841478348 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "boost", "score": 0.04456363990902901 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23156195878982544 }, "else": { "operation": "boost", "score": 0.08310915529727936 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.07290057092905045 }, "else": { "operation": "boost", "score": 0.007316057104617357 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.08657484501600266 }, "else": { "operation": "boost", "score": 0.03044774942100048 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21682295203208923 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14236512780189514 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.0029452084563672543 }, "else": { "operation": "boost", "score": 0.020027635619044304 } } } } } }, "else": { "operation": "boost", "score": 0.000618130317889154 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0795307382941246 }, "else": { "operation": "boost", "score": -0.001810825546272099 } } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03266708925366402 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0009327465668320656 }, "else": { "operation": "boost", "score": 0.1312214434146881 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.17447154223918915 }, "else": { "operation": "boost", "score": 0.1253359615802765 } }, "else": { "operation": "boost", "score": -0.20898273587226868 } }, "else": { "operation": "boost", "score": 0.0064253732562065125 } }, "else": { "operation": "boost", "score": 0.002406321233138442 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010589491575956345 }, "else": { "operation": "boost", "score": -0.03444811329245567 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55854.0, "then": { "operation": "boost", "score": -0.030573207885026932 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13581161201000214 }, "else": { "operation": "boost", "score": -0.1807805597782135 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13327.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13390.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04429379850625992 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": -0.12419701367616653 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27669.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.227375328540802 }, "else": { "operation": "boost", "score": 0.13805517554283142 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": 0.05788595229387283 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18305.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.10646718740463257 }, "else": { "operation": "boost", "score": 0.15834835171699524 } }, "else": { "operation": "boost", "score": 0.07219183444976807 } } } } } }, "else": { "operation": "boost", "score": 0.293490469455719 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01297700684517622 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.026375558227300644 }, "else": { "operation": "boost", "score": 0.0847490057349205 } }, "else": { "operation": "boost", "score": -0.09269993752241135 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48070.0, "then": { "operation": "boost", "score": -0.008573790080845356 }, "else": { "operation": "boost", "score": 0.0870227962732315 } }, "else": { "operation": "boost", "score": -0.1229916512966156 } }, "else": { "operation": "boost", "score": -0.001574713154695928 } } }, "else": { "operation": "boost", "score": -0.048676829785108566 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.12214494496583939 }, "else": { "operation": "boost", "score": -0.1037021353840828 } }, "else": { "operation": "boost", "score": -0.04056360945105553 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15023371577262878 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.07364392280578613 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009506402537226677 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "boost", "score": 0.055521395057439804 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.025570079684257507 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.06092042848467827 }, "else": { "operation": "boost", "score": -0.029181823134422302 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.07947777956724167 }, "else": { "operation": "boost", "score": 0.08994629979133606 } }, "else": { "operation": "boost", "score": 0.05075100436806679 } } } } } }, "else": { "operation": "boost", "score": -0.07185915112495422 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "boost", "score": 0.0533621683716774 }, "else": { "operation": "boost", "score": -0.0014711321564391255 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1160333901643753 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.6834306716918945 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.051403388381004333 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.11522802710533142 }, "else": { "operation": "boost", "score": 0.0700298324227333 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.06973990797996521 }, "else": { "operation": "boost", "score": -0.018311945721507072 } } } } } }, "else": { "operation": "boost", "score": 0.01993720419704914 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8540.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10859.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.36258992552757263 }, "else": { "operation": "boost", "score": 0.00906816590577364 } }, "else": { "operation": "boost", "score": 0.05254797264933586 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7434.5, "then": { "operation": "boost", "score": -0.08782931417226791 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5686.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5775.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5984.5, "then": { "operation": "boost", "score": 0.09978839755058289 }, "else": { "operation": "boost", "score": 0.1178746223449707 } }, "else": { "operation": "boost", "score": 0.025234615430235863 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.19874288141727448 }, "else": { "operation": "boost", "score": 0.07394558191299438 } } }, "else": { "operation": "boost", "score": 0.023061631247401237 } } }, "else": { "operation": "boost", "score": -0.06070975586771965 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.020129607990384102 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 586.5, "then": { "operation": "boost", "score": -0.037844061851501465 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 559.0, "then": { "operation": "boost", "score": 0.13602204620838165 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10234995931386948 }, "else": { "operation": "boost", "score": -0.04330899193882942 } } } } } }, "else": { "operation": "boost", "score": -0.05301975831389427 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.01611350290477276 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.13334432244300842 }, "else": { "operation": "boost", "score": -0.12033907324075699 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": -0.04478370398283005 }, "else": { "operation": "boost", "score": 0.0034690052270889282 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11786990612745285 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27963.5, "then": { "operation": "boost", "score": 0.05131985992193222 }, "else": { "operation": "boost", "score": -0.01769796386361122 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85554.5, "then": { "operation": "boost", "score": -0.26024141907691956 }, "else": { "operation": "boost", "score": 0.0228851530700922 } }, "else": { "operation": "boost", "score": -0.00726274074986577 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11467.0, "then": { "operation": "boost", "score": -0.13189347088336945 }, "else": { "operation": "boost", "score": -0.08146468549966812 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263421.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 284274.5, "then": { "operation": "boost", "score": 0.03683525323867798 }, "else": { "operation": "boost", "score": 0.07591350376605988 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08017046749591827 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.014701871201395988 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30877.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11244361102581024 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.017412761226296425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.06858232617378235 }, "else": { "operation": "boost", "score": 0.10910484939813614 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6067.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10529.5, "then": { "operation": "boost", "score": 0.0756959542632103 }, "else": { "operation": "boost", "score": 0.1205582395195961 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "boost", "score": -0.1905510127544403 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.029379069805145264 }, "else": { "operation": "boost", "score": -0.05824361369013786 } } } }, "else": { "operation": "boost", "score": 0.00017395502072758973 } } } } } }, "else": { "operation": "boost", "score": -0.007080084644258022 } } } }, "else": { "operation": "boost", "score": -0.04216315969824791 } } } }, "else": { "operation": "boost", "score": 0.007638061419129372 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0033902886789292097 }, "else": { "operation": "boost", "score": 0.013279748149216175 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.010543291456997395 }, "else": { "operation": "boost", "score": -0.03187592327594757 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0012880584690719843 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.011228806339204311 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09284064173698425 }, "else": { "operation": "boost", "score": 0.10964417457580566 } }, "else": { "operation": "boost", "score": -0.08027882128953934 } }, "else": { "operation": "boost", "score": 0.0034490302205085754 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "boost", "score": -0.024945441633462906 }, "else": { "operation": "boost", "score": -0.14458364248275757 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.11311852931976318 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3375000059604645, "then": { "operation": "boost", "score": 0.11175564676523209 }, "else": { "operation": "boost", "score": -0.19676955044269562 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 102.5, "then": { "operation": "boost", "score": -0.30609211325645447 }, "else": { "operation": "boost", "score": 0.04373729228973389 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01842416450381279 }, "else": { "operation": "boost", "score": 0.010416402481496334 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0014686771901324391 }, "else": { "operation": "boost", "score": -0.06901273131370544 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1585739105939865 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187.5, "then": { "operation": "boost", "score": -0.3750849962234497 }, "else": { "operation": "boost", "score": 0.10313858091831207 } } }, "else": { "operation": "boost", "score": 0.004256966523826122 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.049354929476976395 }, "else": { "operation": "boost", "score": 0.027401555329561234 } } } }, "else": { "operation": "boost", "score": -0.004194421228021383 } } } } }, "else": { "operation": "boost", "score": -0.1005130484700203 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01884234882891178 }, "else": { "operation": "boost", "score": -0.0689462348818779 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.006258454639464617 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.02987961657345295 }, "else": { "operation": "boost", "score": -0.000732414482627064 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.044176895171403885 }, "else": { "operation": "boost", "score": -0.052702728658914566 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11079079657793045 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.19599920511245728 }, "else": { "operation": "boost", "score": 0.04521150514483452 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06261385232210159 }, "else": { "operation": "boost", "score": 0.12728698551654816 } }, "else": { "operation": "boost", "score": 0.0655474066734314 } }, "else": { "operation": "boost", "score": -0.03311637043952942 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.06158499792218208 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11893906444311142 }, "else": { "operation": "boost", "score": 0.05905424803495407 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 313.0, "then": { "operation": "boost", "score": 0.1505288928747177 }, "else": { "operation": "boost", "score": -0.016573602333664894 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.15873828530311584 }, "else": { "operation": "boost", "score": 0.06719682365655899 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05940373241901398 }, "else": { "operation": "boost", "score": -0.17346659302711487 } } } } }, "else": { "operation": "boost", "score": -0.11427459865808487 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.042202338576316833 }, "else": { "operation": "boost", "score": 0.07524441182613373 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.11858433485031128 }, "else": { "operation": "boost", "score": 0.19625794887542725 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12304417788982391 }, "else": { "operation": "boost", "score": 0.08037754148244858 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.3108110725879669 }, "else": { "operation": "boost", "score": 0.06397344917058945 } }, "else": { "operation": "boost", "score": -0.0731213316321373 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.09925686568021774 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.14039431512355804 }, "else": { "operation": "boost", "score": 0.08938037604093552 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.1315193474292755 }, "else": { "operation": "boost", "score": 0.05102038010954857 } }, "else": { "operation": "boost", "score": 0.03539048507809639 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08676311373710632 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.10426025837659836 }, "else": { "operation": "boost", "score": -0.15488237142562866 } }, "else": { "operation": "boost", "score": 0.010482681915163994 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.11227946728467941 }, "else": { "operation": "boost", "score": 0.14234095811843872 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1548110991716385 }, "else": { "operation": "boost", "score": -0.10508759319782257 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.143637016415596 }, "else": { "operation": "boost", "score": -0.16116905212402344 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.3005591928958893 }, "else": { "operation": "boost", "score": 0.0785675123333931 } }, "else": { "operation": "boost", "score": -0.02601083368062973 } } } }, "else": { "operation": "boost", "score": 0.006710313260555267 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": -0.14482198655605316 }, "else": { "operation": "boost", "score": 0.12601983547210693 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": -0.04635564610362053 }, "else": { "operation": "boost", "score": 0.07092749327421188 } }, "else": { "operation": "boost", "score": 0.006406267173588276 } } }, "else": { "operation": "boost", "score": -0.06127467751502991 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.010978012345731258 }, "else": { "operation": "boost", "score": -0.02184257283806801 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.012583635747432709 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.008682827465236187 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": -0.034711889922618866 }, "else": { "operation": "boost", "score": 0.09721492230892181 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.15485771000385284 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": 0.11246451735496521 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "boost", "score": 0.13436342775821686 }, "else": { "operation": "boost", "score": 0.18815037608146667 } }, "else": { "operation": "boost", "score": 0.05755028501152992 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.44401416182518005 }, "else": { "operation": "boost", "score": 0.017465168610215187 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.12289970368146896 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.12967509031295776 }, "else": { "operation": "boost", "score": 0.15663959085941315 } } }, "else": { "operation": "boost", "score": -0.10571790486574173 } } } }, "else": { "operation": "boost", "score": 0.02076040767133236 } }, "else": { "operation": "boost", "score": 0.02844737470149994 } } } }, "else": { "operation": "boost", "score": 0.31625476479530334 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1911.5, "then": { "operation": "boost", "score": -0.12703926861286163 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.02211977355182171 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.06254786998033524 }, "else": { "operation": "boost", "score": 0.16769254207611084 } } }, "else": { "operation": "boost", "score": 0.006418746896088123 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5220.0, "then": { "operation": "boost", "score": 0.04958905279636383 }, "else": { "operation": "boost", "score": -0.0028249421156942844 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": -0.08436036854982376 }, "else": { "operation": "boost", "score": -0.30879589915275574 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.0211399607360363 }, "else": { "operation": "boost", "score": -0.6505182981491089 } }, "else": { "operation": "boost", "score": -0.1615784615278244 } }, "else": { "operation": "boost", "score": 0.0029683923348784447 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.014286871068179607 }, "else": { "operation": "boost", "score": -5.436509132385254 } }, "else": { "operation": "boost", "score": 0.11794918775558472 } }, "else": { "operation": "boost", "score": -0.2350432425737381 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2817460298538208, "then": { "operation": "boost", "score": 0.012740939855575562 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.010031374171376228 }, "else": { "operation": "boost", "score": 0.06904774159193039 } }, "else": { "operation": "boost", "score": -0.007882929407060146 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12285906076431274 }, "else": { "operation": "boost", "score": 0.0292589720338583 } }, "else": { "operation": "boost", "score": -0.022729087620973587 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2808.5, "then": { "operation": "boost", "score": 0.12154007703065872 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.03050564043223858 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": -0.0005071241757832468 }, "else": { "operation": "boost", "score": -0.018626980483531952 } } } } } }, "else": { "operation": "boost", "score": -0.026877202093601227 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 101593.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006124514155089855 }, "else": { "operation": "boost", "score": -0.029995478689670563 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06227174401283264 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "boost", "score": 0.03290465101599693 }, "else": { "operation": "boost", "score": 0.0882512629032135 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94712.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.258483350276947 }, "else": { "operation": "boost", "score": -0.14219799637794495 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06446468085050583 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.001465342123992741 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 572.5, "then": { "operation": "boost", "score": 0.010104534216225147 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07055094093084335 }, "else": { "operation": "boost", "score": 0.006079592276364565 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.13924053311347961 }, "else": { "operation": "boost", "score": 0.02262958325445652 } }, "else": { "operation": "boost", "score": 0.004517955239862204 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.026966288685798645 }, "else": { "operation": "boost", "score": 0.0029286008793860674 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.012899668887257576 }, "else": { "operation": "boost", "score": -0.046108145266771317 } } } } }, "else": { "operation": "boost", "score": -0.00023076735669746995 } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.0, "then": { "operation": "boost", "score": 0.21912941336631775 }, "else": { "operation": "boost", "score": -0.10019040107727051 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": 0.026808157563209534 }, "else": { "operation": "boost", "score": 0.12341978400945663 } }, "else": { "operation": "boost", "score": -0.08843503147363663 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1059.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.06141047179698944 }, "else": { "operation": "boost", "score": -0.33091920614242554 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 151.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 157.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "boost", "score": 0.07610651850700378 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 184.5, "then": { "operation": "boost", "score": 0.1370556801557541 }, "else": { "operation": "boost", "score": 0.06053773686289787 } } }, "else": { "operation": "boost", "score": -0.5400559306144714 } }, "else": { "operation": "boost", "score": 0.18691031634807587 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 137.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "boost", "score": -0.18139711022377014 }, "else": { "operation": "boost", "score": -0.21225276589393616 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 39.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "boost", "score": 0.05140113830566406 }, "else": { "operation": "boost", "score": 0.14594367146492004 } }, "else": { "operation": "boost", "score": -0.019171638414263725 } }, "else": { "operation": "boost", "score": 0.06049615517258644 } } } } } }, "else": { "operation": "boost", "score": 0.0038251630030572414 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16415943205356598 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.11363176256418228 }, "else": { "operation": "boost", "score": 0.01816469058394432 } }, "else": { "operation": "boost", "score": 0.04187074303627014 } } }, "else": { "operation": "boost", "score": -0.07540217787027359 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.11970344185829163 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.24180491268634796 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.03747221454977989 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12752953171730042 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.08745478838682175 }, "else": { "operation": "boost", "score": 0.19493316113948822 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.09207066893577576 }, "else": { "operation": "boost", "score": -0.03264419361948967 } } }, "else": { "operation": "boost", "score": 0.04769042879343033 } } }, "else": { "operation": "boost", "score": 0.03294890746474266 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06961002945899963 }, "else": { "operation": "boost", "score": 0.008291048929095268 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.036165982484817505 }, "else": { "operation": "boost", "score": -0.011043772101402283 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.008894701488316059 }, "else": { "operation": "boost", "score": -0.14243075251579285 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -3.138275623321533 }, "else": { "operation": "boost", "score": 0.033732011914253235 } }, "else": { "operation": "boost", "score": 0.13278372585773468 } } }, "else": { "operation": "boost", "score": 0.029886361211538315 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.09625297039747238 }, "else": { "operation": "boost", "score": 0.09525588899850845 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.007970111444592476 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.051561035215854645 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.1082855612039566 }, "else": { "operation": "boost", "score": -0.03169717267155647 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.03181585296988487 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.014491213485598564 }, "else": { "operation": "boost", "score": 0.020460963249206543 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.00444413349032402 }, "else": { "operation": "boost", "score": 0.08218427747488022 } }, "else": { "operation": "boost", "score": -0.04262319207191467 } } } }, "else": { "operation": "boost", "score": -0.0019975751638412476 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11355728656053543 }, "else": { "operation": "boost", "score": -0.1044415682554245 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": -1.019425392150879 }, "else": { "operation": "boost", "score": 0.01414478663355112 } } }, "else": { "operation": "boost", "score": -0.015201829373836517 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.14180408418178558 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10088600218296051 }, "else": { "operation": "boost", "score": 0.009092549793422222 } }, "else": { "operation": "boost", "score": 0.08082938194274902 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2038363367319107 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06547930836677551 }, "else": { "operation": "boost", "score": 0.09676535427570343 } }, "else": { "operation": "boost", "score": 0.18496745824813843 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0092519735917449 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.0921274796128273 }, "else": { "operation": "boost", "score": 0.05620286613702774 } }, "else": { "operation": "boost", "score": -0.08592511713504791 } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.024494143202900887 }, "else": { "operation": "boost", "score": 0.09627258777618408 } }, "else": { "operation": "boost", "score": -0.01911839284002781 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.04779177904129028 }, "else": { "operation": "boost", "score": 0.0232494305819273 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": 0.03768543154001236 }, "else": { "operation": "boost", "score": 0.09190256893634796 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0025529307313263416 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.04530204087495804 }, "else": { "operation": "boost", "score": -0.010121136903762817 } } } }, "else": { "operation": "boost", "score": 0.0028861030004918575 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.03164438530802727 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.08963460475206375 }, "else": { "operation": "boost", "score": 0.04480474069714546 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.0, "then": { "operation": "boost", "score": -0.04642820730805397 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.13978974521160126 }, "else": { "operation": "boost", "score": 0.05959423631429672 } } } } }, "else": { "operation": "boost", "score": -0.07622195780277252 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.013085946440696716 }, "else": { "operation": "boost", "score": 0.0033554963301867247 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04653679579496384, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.058875977993011475 }, "else": { "operation": "boost", "score": 0.12495635449886322 } }, "else": { "operation": "boost", "score": -0.02160157822072506 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.027910621836781502 }, "else": { "operation": "boost", "score": 0.013510202057659626 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.08150480687618256 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0048583876341581345 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.00851268321275711 }, "else": { "operation": "boost", "score": 0.012916956096887589 } } }, "else": { "operation": "boost", "score": -0.013644049875438213 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07388443499803543 }, "else": { "operation": "boost", "score": -0.10143958777189255 } } } } }, "else": { "operation": "boost", "score": 0.03433609381318092 } }, "else": { "operation": "boost", "score": 0.0010733278468251228 } }, "else": { "operation": "boost", "score": 0.08371944725513458 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0015165304066613317 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.09884420037269592 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.15104852616786957 }, "else": { "operation": "boost", "score": -0.0856037363409996 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03970372676849365 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.0182834193110466 }, "else": { "operation": "boost", "score": 0.004376998636871576 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10342270880937576 }, "else": { "operation": "boost", "score": 0.05964742973446846 } }, "else": { "operation": "boost", "score": -0.049109719693660736 } }, "else": { "operation": "boost", "score": -0.0022951303981244564 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.0019559585489332676 }, "else": { "operation": "boost", "score": -0.17431491613388062 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.17513158917427063 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0808163434267044 }, "else": { "operation": "boost", "score": -0.04412682726979256 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.005214035976678133 }, "else": { "operation": "boost", "score": -0.0026326023507863283 } } } } } } }, "else": { "operation": "boost", "score": -0.001000265241600573 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02679959312081337 }, "else": { "operation": "boost", "score": 0.05676625669002533 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31804.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44616.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 256926.0, "then": { "operation": "boost", "score": -0.32495638728141785 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78490.0, "then": { "operation": "boost", "score": 0.05219210684299469 }, "else": { "operation": "boost", "score": -0.03778917342424393 } } }, "else": { "operation": "boost", "score": 0.07379161566495895 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "boost", "score": -0.06831853836774826 }, "else": { "operation": "boost", "score": 0.03497028723359108 } } }, "else": { "operation": "boost", "score": 0.07966428250074387 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.010101201012730598 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.043151579797267914 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.1583748161792755 }, "else": { "operation": "boost", "score": 0.06843973696231842 } } }, "else": { "operation": "boost", "score": -0.0062326532788574696 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10008.5, "then": { "operation": "boost", "score": -0.037455908954143524 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8266.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8956.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9519.0, "then": { "operation": "boost", "score": 0.05104856565594673 }, "else": { "operation": "boost", "score": -0.09768746048212051 } }, "else": { "operation": "boost", "score": 0.09438508749008179 } }, "else": { "operation": "boost", "score": -0.06443855911493301 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1078253909945488 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6388.5, "then": { "operation": "boost", "score": 0.1048721969127655 }, "else": { "operation": "boost", "score": 0.10834860801696777 } } }, "else": { "operation": "boost", "score": 0.1096448227763176 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.02181182987987995 }, "else": { "operation": "boost", "score": -0.25150495767593384 } }, "else": { "operation": "boost", "score": 0.005793331656605005 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.0013905902160331607 }, "else": { "operation": "boost", "score": 0.04705152288079262 } }, "else": { "operation": "boost", "score": 0.013315213844180107 } }, "else": { "operation": "boost", "score": -0.03504322096705437 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.041754961013793945 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.06402675062417984 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10019761323928833 }, "else": { "operation": "boost", "score": -0.1435384303331375 } }, "else": { "operation": "boost", "score": -0.013438774272799492 } }, "else": { "operation": "boost", "score": -0.0017210900550708175 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4868420958518982, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.12383914738893509 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "boost", "score": 0.00411083921790123 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.1665639728307724 }, "else": { "operation": "boost", "score": 0.1373838186264038 } }, "else": { "operation": "boost", "score": 0.06356314569711685 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "boost", "score": -0.27337750792503357 }, "else": { "operation": "boost", "score": 0.1475527137517929 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "boost", "score": -0.10822359472513199 }, "else": { "operation": "boost", "score": 0.5364012122154236 } }, "else": { "operation": "boost", "score": -0.08905252814292908 } } } }, "else": { "operation": "boost", "score": 0.029705043882131577 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07787971943616867 }, "else": { "operation": "boost", "score": 0.12134808301925659 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.10693827271461487 }, "else": { "operation": "boost", "score": 0.10257194936275482 } }, "else": { "operation": "boost", "score": -0.05489085242152214 } }, "else": { "operation": "boost", "score": -0.012935427017509937 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.13052232563495636 }, "else": { "operation": "boost", "score": 0.03591202199459076 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -0.16712616384029388 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07082173973321915 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11612428724765778 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.08313687145709991 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.31703823804855347 }, "else": { "operation": "boost", "score": 0.13670116662979126 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.23898175358772278 }, "else": { "operation": "boost", "score": -0.012517422437667847 } } } }, "else": { "operation": "boost", "score": -0.0126012172549963 } } }, "else": { "operation": "boost", "score": 0.006261396687477827 } }, "else": { "operation": "boost", "score": 0.004863560199737549 } }, "else": { "operation": "boost", "score": 0.0021573270205408335 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.09213710576295853 }, "else": { "operation": "boost", "score": 0.006797345355153084 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": -0.0013197107473388314 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.06070902198553085 }, "else": { "operation": "boost", "score": 0.15326933562755585 } }, "else": { "operation": "boost", "score": 0.028319839388132095 } }, "else": { "operation": "boost", "score": -0.004281728062778711 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2417.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5453.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.017551440745592117 }, "else": { "operation": "boost", "score": -0.0009132958948612213 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0810413509607315 }, "else": { "operation": "boost", "score": -0.04850275442004204 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4138.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4149.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5294.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5346.0, "then": { "operation": "boost", "score": 0.04840794578194618 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.12714016437530518 }, "else": { "operation": "boost", "score": 0.09633695334196091 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5335.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": -0.10030588507652283 }, "else": { "operation": "boost", "score": 0.13567768037319183 } }, "else": { "operation": "boost", "score": -0.11706365644931793 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5035.0, "then": { "operation": "boost", "score": -0.025919411331415176 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5025.0, "then": { "operation": "boost", "score": 0.5713917016983032 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.3826945126056671 }, "else": { "operation": "boost", "score": -0.10087522119283676 } }, "else": { "operation": "boost", "score": -0.008629785850644112 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4174.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4403.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4409.0, "then": { "operation": "boost", "score": 0.09168330579996109 }, "else": { "operation": "boost", "score": 0.23081611096858978 } }, "else": { "operation": "boost", "score": -0.12146233767271042 } }, "else": { "operation": "boost", "score": 0.12582279741764069 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4288.5, "then": { "operation": "boost", "score": 0.07355893403291702 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4286.0, "then": { "operation": "boost", "score": 0.14192205667495728 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4260.5, "then": { "operation": "boost", "score": 0.14415371417999268 }, "else": { "operation": "boost", "score": -0.019754594191908836 } } } } }, "else": { "operation": "boost", "score": 0.06922157108783722 } }, "else": { "operation": "boost", "score": -0.0921175479888916 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.16990762948989868 }, "else": { "operation": "boost", "score": 0.13482347130775452 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2535.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.027855057269334793 }, "else": { "operation": "boost", "score": 0.21827292442321777 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "boost", "score": 0.13940057158470154 }, "else": { "operation": "boost", "score": -0.1004374623298645 } } }, "else": { "operation": "boost", "score": 0.01458230335265398 } } }, "else": { "operation": "boost", "score": -0.007869117893278599 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004349765367805958 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18769.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19795.0, "then": { "operation": "boost", "score": 0.016637912020087242 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.11296894401311874 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "boost", "score": 0.14359325170516968 }, "else": { "operation": "boost", "score": 0.09126196801662445 } }, "else": { "operation": "boost", "score": -0.1112200990319252 } } } }, "else": { "operation": "boost", "score": 0.006123276427388191 } } }, "else": { "operation": "boost", "score": 0.028466634452342987 } }, "else": { "operation": "boost", "score": -0.08871682733297348 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00607148976996541 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0036683068610727787 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006620696280151606 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01093329954892397 }, "else": { "operation": "boost", "score": -0.006406429223716259 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.014515137299895287 }, "else": { "operation": "boost", "score": 0.002811406273394823 } }, "else": { "operation": "boost", "score": -0.003777633188292384 } } } } }, "else": { "operation": "boost", "score": -0.04613441228866577 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.006262804381549358 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0011056270450353622 }, "else": { "operation": "boost", "score": 0.12792585790157318 } } } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1990634649991989 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.17390114068984985 }, "else": { "operation": "boost", "score": -0.06969372928142548 } } }, "else": { "operation": "boost", "score": -0.09872683137655258 } }, "else": { "operation": "boost", "score": -0.4615822732448578 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.030873432755470276 }, "else": { "operation": "boost", "score": 0.010000930167734623 } }, "else": { "operation": "boost", "score": 0.0056824227795004845 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.010858174413442612 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03602274879813194 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006707730703055859 }, "else": { "operation": "boost", "score": -0.06789752840995789 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0230389516800642 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.049674250185489655 }, "else": { "operation": "boost", "score": -0.8532565832138062 } } }, "else": { "operation": "boost", "score": 0.010528373531997204 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.1286287158727646 }, "else": { "operation": "boost", "score": -0.09517481923103333 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.07929416745901108 }, "else": { "operation": "boost", "score": -0.12865674495697021 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.13028587400913239 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12423336505889893 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.0005216404679231346 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.0358511283993721 }, "else": { "operation": "boost", "score": -0.016851868480443954 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03428886830806732 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.07733814418315887 }, "else": { "operation": "boost", "score": 0.08946053683757782 } }, "else": { "operation": "boost", "score": 0.04841115325689316 } } } }, "else": { "operation": "boost", "score": -0.08949687331914902 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.15352505445480347 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0004421839548740536 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10716832429170609 }, "else": { "operation": "boost", "score": 0.006853026803582907 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06491433084011078 }, "else": { "operation": "boost", "score": -0.0011592177907004952 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.042368434369564056 }, "else": { "operation": "boost", "score": -0.02784167416393757 } } } } } } }, "else": { "operation": "boost", "score": -0.006049427669495344 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016787046566605568 }, "else": { "operation": "boost", "score": -0.0001210196569445543 } }, "else": { "operation": "boost", "score": -0.071306973695755 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0413864366710186, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.041189126670360565 }, "else": { "operation": "boost", "score": 0.03648601472377777 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03731456771492958 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.07693253457546234 }, "else": { "operation": "boost", "score": -0.030413903295993805 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.45518791675567627 }, "else": { "operation": "boost", "score": 0.045659612864255905 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5187.0, "then": { "operation": "boost", "score": 0.06844186037778854 }, "else": { "operation": "boost", "score": -0.021764885634183884 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.016973011195659637 }, "else": { "operation": "boost", "score": 0.08355496823787689 } }, "else": { "operation": "boost", "score": 0.06620695441961288 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.0002584746398497373 }, "else": { "operation": "boost", "score": 0.13859061896800995 } }, "else": { "operation": "boost", "score": 0.02066691406071186 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05644087493419647 }, "else": { "operation": "boost", "score": -0.38768503069877625 } }, "else": { "operation": "boost", "score": 0.001744244946166873 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0052124266512691975 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.009738091379404068 }, "else": { "operation": "boost", "score": -0.029594814404845238 } }, "else": { "operation": "boost", "score": 0.023729827255010605 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "boost", "score": 0.13117322325706482 }, "else": { "operation": "boost", "score": 0.061329495161771774 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.4019031524658203 }, "else": { "operation": "boost", "score": 0.06092006713151932 } }, "else": { "operation": "boost", "score": 0.02897232584655285 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -2.305982828140259 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016926012933254242 }, "else": { "operation": "boost", "score": -0.04277658089995384 } } } }, "else": { "operation": "boost", "score": -0.0554649755358696 } }, "else": { "operation": "boost", "score": 0.03374820575118065 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0012983463238924742 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.14158515632152557 }, "else": { "operation": "boost", "score": 0.04197140783071518 } }, "else": { "operation": "boost", "score": -0.01416418794542551 } }, "else": { "operation": "boost", "score": -0.12062415480613708 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.05574364587664604 }, "else": { "operation": "boost", "score": -0.00836645346134901 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": -0.0186707004904747 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.001456090365536511 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.3601115643978119 }, "else": { "operation": "boost", "score": -0.6233419179916382 } }, "else": { "operation": "boost", "score": -0.00956329982727766 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08716340363025665 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05914948508143425 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.25857576727867126 }, "else": { "operation": "boost", "score": -0.7838250398635864 } } }, "else": { "operation": "boost", "score": -0.022232338786125183 } } }, "else": { "operation": "boost", "score": -0.04750727489590645 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.12744635343551636 }, "else": { "operation": "boost", "score": -0.009246227331459522 } }, "else": { "operation": "boost", "score": -0.1367419809103012 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.07858976721763611 }, "else": { "operation": "boost", "score": 0.00307001662440598 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.0743539109826088 }, "else": { "operation": "boost", "score": -0.06551635265350342 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12174052745103836 }, "else": { "operation": "boost", "score": 0.031673628836870193 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.014792616479098797 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.044225599616765976 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.023274097591638565 }, "else": { "operation": "boost", "score": 0.019351603463292122 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.014511732384562492 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2090713381767273 }, "else": { "operation": "boost", "score": -0.2445608228445053 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12607605755329132 }, "else": { "operation": "boost", "score": 0.026778094470500946 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.025927264243364334 }, "else": { "operation": "boost", "score": -0.02987137995660305 } }, "else": { "operation": "boost", "score": -0.037788160145282745 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "boost", "score": 0.024061866104602814 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.016789229586720467 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12800541520118713 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7207792401313782, "then": { "operation": "boost", "score": 0.1375766545534134 }, "else": { "operation": "boost", "score": 0.013885103166103363 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.020499004051089287 }, "else": { "operation": "boost", "score": 0.12224147468805313 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8055555820465088, "then": { "operation": "boost", "score": -0.13406065106391907 }, "else": { "operation": "boost", "score": 0.054487936198711395 } } } }, "else": { "operation": "boost", "score": 0.0085002975538373 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.05643361061811447 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.12329122424125671 }, "else": { "operation": "boost", "score": -0.09193436801433563 } } }, "else": { "operation": "boost", "score": -0.003060924122110009 } } }, "else": { "operation": "boost", "score": -0.000963354017585516 } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.0365595817565918 }, "else": { "operation": "boost", "score": 0.0007020220509730279 } }, "else": { "operation": "boost", "score": -0.019701818004250526 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11215700954198837 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.27619048953056335, "then": { "operation": "boost", "score": 0.0467301644384861 }, "else": { "operation": "boost", "score": 0.08245448023080826 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1398364156484604 }, "else": { "operation": "boost", "score": -0.19752386212348938 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.09871806204319 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.03230193629860878 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.07420612871646881 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.12900835275650024 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": -0.006994599010795355 }, "else": { "operation": "boost", "score": 0.12114787846803665 } }, "else": { "operation": "boost", "score": 0.029676493257284164 } } } } } }, "else": { "operation": "boost", "score": -0.008408273570239544 } } } }, "else": { "operation": "boost", "score": 0.0074455211870372295 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.004527879413217306 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.21872912347316742 }, "else": { "operation": "boost", "score": -0.04754770174622536 } }, "else": { "operation": "boost", "score": 0.12719184160232544 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.0007734504761174321 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.01396672148257494 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160.0, "then": { "operation": "boost", "score": 0.11369326710700989 }, "else": { "operation": "boost", "score": 0.07603171467781067 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 502.5, "then": { "operation": "boost", "score": -1.574643850326538 }, "else": { "operation": "boost", "score": 0.041958317160606384 } } } } }, "else": { "operation": "boost", "score": -0.031520526856184006 } } } }, "else": { "operation": "boost", "score": -0.006881034933030605 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.12703688442707062 }, "else": { "operation": "boost", "score": 0.0213353019207716 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.019340068101882935 }, "else": { "operation": "boost", "score": 0.08886577934026718 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.1268555223941803 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46801.5, "then": { "operation": "boost", "score": 0.08428759127855301 }, "else": { "operation": "boost", "score": 5.087775207357481e-05 } }, "else": { "operation": "boost", "score": -0.057503439486026764 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0918494462966919 }, "else": { "operation": "boost", "score": 0.008874772116541862 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08264424651861191 }, "else": { "operation": "boost", "score": 0.01099391933530569 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.008841034956276417 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.13480369746685028 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.036835748702287674 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09567059576511383 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.15521758794784546 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.09901244193315506 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.14597585797309875 }, "else": { "operation": "boost", "score": 0.14847853779792786 } } }, "else": { "operation": "boost", "score": 0.05795374885201454 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.020010972395539284 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.1032269299030304 }, "else": { "operation": "boost", "score": 0.1400085985660553 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.20660525560379028 }, "else": { "operation": "boost", "score": -0.05370846763253212 } }, "else": { "operation": "boost", "score": -0.011772498488426208 } } } } }, "else": { "operation": "boost", "score": -0.018136993050575256 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08646457642316818 }, "else": { "operation": "boost", "score": -0.13658902049064636 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": -0.00932131428271532 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.16440436244010925 }, "else": { "operation": "boost", "score": 0.09529896825551987 } } } } } }, "else": { "operation": "boost", "score": -0.005756421014666557 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04273701459169388 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.12740308046340942 }, "else": { "operation": "boost", "score": 0.10922787338495255 } }, "else": { "operation": "boost", "score": 0.019424540922045708 } }, "else": { "operation": "boost", "score": 0.0057124122977256775 } } } } }, "else": { "operation": "boost", "score": 0.0005839176592417061 } }, "else": { "operation": "boost", "score": 0.004122056066989899 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.09777884930372238 }, "else": { "operation": "boost", "score": 0.12114188075065613 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 837.5, "then": { "operation": "boost", "score": 0.09827306866645813 }, "else": { "operation": "boost", "score": 0.02200702577829361 } } }, "else": { "operation": "boost", "score": 0.008009660989046097 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.008927793242037296 }, "else": { "operation": "boost", "score": -0.04626351594924927 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.004013698548078537 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2072.0, "then": { "operation": "boost", "score": -0.12897932529449463 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 301.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 333.0, "then": { "operation": "boost", "score": 0.13355639576911926 }, "else": { "operation": "boost", "score": 0.2075267881155014 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "boost", "score": 0.132751002907753 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.21362696588039398 }, "else": { "operation": "boost", "score": 0.5213337540626526 } } }, "else": { "operation": "boost", "score": 0.013352543115615845 } } } }, "else": { "operation": "boost", "score": 0.0031758337281644344 } }, "else": { "operation": "boost", "score": 0.0009514577104710042 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0024446938186883926 }, "else": { "operation": "boost", "score": -0.030420050024986267 } }, "else": { "operation": "boost", "score": -0.043562449514865875 } }, "else": { "operation": "boost", "score": 0.011916355229914188 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05282379686832428 }, "else": { "operation": "boost", "score": -0.0065872156992554665 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012587741948664188 }, "else": { "operation": "boost", "score": 0.024462776258587837 } } }, "else": { "operation": "boost", "score": -0.008742094971239567 } }, "else": { "operation": "boost", "score": -0.030446331948041916 } }, "else": { "operation": "boost", "score": 0.021218188107013702 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.008216533809900284 }, "else": { "operation": "boost", "score": 0.1268429309129715 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06753375381231308 }, "else": { "operation": "boost", "score": -0.13901470601558685 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.005255431868135929 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.051099993288517 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0020289719104766846 }, "else": { "operation": "boost", "score": 0.0410507395863533 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012003724463284016 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.14181208610534668 }, "else": { "operation": "boost", "score": 0.12620006501674652 } } } }, "else": { "operation": "boost", "score": -0.07082828879356384 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.03112710826098919 }, "else": { "operation": "boost", "score": -0.08847583830356598 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.13830742239952087 }, "else": { "operation": "boost", "score": -1.882174728962127e-05 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.12901490926742554 }, "else": { "operation": "boost", "score": 0.18521656095981598 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.05432111769914627 }, "else": { "operation": "boost", "score": 0.1903916895389557 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.035609833896160126 }, "else": { "operation": "boost", "score": -0.01262547355145216 } } }, "else": { "operation": "boost", "score": 0.06411807239055634 } }, "else": { "operation": "boost", "score": 0.011856216937303543 } } }, "else": { "operation": "boost", "score": 0.0065895067527890205 } }, "else": { "operation": "boost", "score": 0.0031092825811356306 } }, "else": { "operation": "boost", "score": -0.03550126776099205 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.002329412382096052 }, "else": { "operation": "boost", "score": -0.07690492272377014 } } }, "else": { "operation": "boost", "score": -0.004003587178885937 } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0064215101301670074 }, "else": { "operation": "boost", "score": -0.034982457756996155 } }, "else": { "operation": "boost", "score": 0.008595187216997147 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09491339325904846 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10813795030117035 }, "else": { "operation": "boost", "score": 0.026994207873940468 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01011747121810913 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0005538416444323957 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10966435074806213 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.0005863608093932271 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.061847835779190063 }, "else": { "operation": "boost", "score": -0.0025651874020695686 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.12924063205718994 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.005631542298942804 }, "else": { "operation": "boost", "score": -2.6872670650482178 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01570088416337967 }, "else": { "operation": "boost", "score": -0.015437116846442223 } }, "else": { "operation": "boost", "score": 0.01898655854165554 } }, "else": { "operation": "boost", "score": 0.32477250695228577 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7250000238418579, "then": { "operation": "boost", "score": 0.11916091293096542 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14032918214797974 }, "else": { "operation": "boost", "score": -0.009158443659543991 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03857787325978279 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "boost", "score": 0.01636551506817341 }, "else": { "operation": "boost", "score": -0.05272066965699196 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006229140795767307 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.15868164598941803 }, "else": { "operation": "boost", "score": 0.10172897577285767 } }, "else": { "operation": "boost", "score": 0.07355272769927979 } } } }, "else": { "operation": "boost", "score": -0.0571664460003376 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0267016664147377 }, "else": { "operation": "boost", "score": -0.24585478007793427 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.002672286471351981 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.039555929601192474 }, "else": { "operation": "boost", "score": -0.020484253764152527 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0940544381737709 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.010528039187192917 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "boost", "score": -0.0652126595377922 }, "else": { "operation": "boost", "score": 0.015664078295230865 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.03290357440710068 }, "else": { "operation": "boost", "score": 0.010914502665400505 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.022186055779457092 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 887.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03917231410741806 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.058195728808641434 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.039940156042575836 }, "else": { "operation": "boost", "score": -0.3641900420188904 } } } }, "else": { "operation": "boost", "score": -0.004128517583012581 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.12377656251192093 }, "else": { "operation": "boost", "score": -0.04499287158250809 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10440531373023987 }, "else": { "operation": "boost", "score": 0.03171736001968384 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3897840082645416 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.13100728392601013 }, "else": { "operation": "boost", "score": 0.060327012091875076 } }, "else": { "operation": "boost", "score": 0.062735415995121 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0850663036108017 }, "else": { "operation": "boost", "score": 0.00992329977452755 } }, "else": { "operation": "boost", "score": -0.15461452305316925 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52351.0, "then": { "operation": "boost", "score": -0.6597424745559692 }, "else": { "operation": "boost", "score": 0.01077981572598219 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.12463614344596863 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.10081978887319565 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11380842328071594 }, "else": { "operation": "boost", "score": -0.13839398324489594 } } }, "else": { "operation": "boost", "score": -0.206013485789299 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.0, "then": { "operation": "boost", "score": 0.0221323873847723 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.559484601020813 }, "else": { "operation": "boost", "score": 0.12837131321430206 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01940220594406128 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.03256663680076599 }, "else": { "operation": "boost", "score": 0.16076846420764923 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.06815636903047562 }, "else": { "operation": "boost", "score": -0.036614853888750076 } } } } } } }, "else": { "operation": "boost", "score": -0.002473875181749463 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 12.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.02513645775616169 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.03783364221453667 }, "else": { "operation": "boost", "score": 0.14749839901924133 } }, "else": { "operation": "boost", "score": 0.08088060468435287 } }, "else": { "operation": "boost", "score": 0.031987566500902176 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.016499163582921028 }, "else": { "operation": "boost", "score": -0.141658216714859 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.12808865308761597 }, "else": { "operation": "boost", "score": 0.06643149256706238 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0032935324124991894 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.0, "then": { "operation": "boost", "score": -0.1287812441587448 }, "else": { "operation": "boost", "score": 0.10050387680530548 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012123527005314827 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04486040771007538 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.3319551646709442 }, "else": { "operation": "boost", "score": 0.07380317151546478 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.04367274045944214 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.08225174248218536 }, "else": { "operation": "boost", "score": 0.17605917155742645 } }, "else": { "operation": "boost", "score": 0.04888812452554703 } } } }, "else": { "operation": "boost", "score": 0.014315054751932621 } }, "else": { "operation": "boost", "score": 0.02112584002315998 } } }, "else": { "operation": "boost", "score": -0.018056031316518784 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 109494.0, "then": { "operation": "boost", "score": -0.24777601659297943 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87592.0, "then": { "operation": "boost", "score": 0.10736199468374252 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62576.5, "then": { "operation": "boost", "score": -0.22593332827091217 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1065555214881897 }, "else": { "operation": "boost", "score": 0.04063396528363228 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11149.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11809.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12311.5, "then": { "operation": "boost", "score": -0.0797615647315979 }, "else": { "operation": "boost", "score": 0.15188761055469513 } }, "else": { "operation": "boost", "score": -0.2769474983215332 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5210.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04635327309370041 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.12002640962600708 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.10610590130090714 }, "else": { "operation": "boost", "score": 0.20376785099506378 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.011896884068846703 }, "else": { "operation": "boost", "score": 0.10166192799806595 } } }, "else": { "operation": "boost", "score": -0.0036856664810329676 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0015772880287840962 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 572.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": 0.07263598591089249 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 246961.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02363217994570732 }, "else": { "operation": "boost", "score": -0.071917325258255 } }, "else": { "operation": "boost", "score": 0.008079431019723415 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.031490202993154526 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011347491294145584 }, "else": { "operation": "boost", "score": -0.04013590142130852 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06917224824428558 }, "else": { "operation": "boost", "score": 0.005467576440423727 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.13472315669059753 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022185808047652245 }, "else": { "operation": "boost", "score": -0.12204346805810928 } } }, "else": { "operation": "boost", "score": 0.002458833158016205 } }, "else": { "operation": "boost", "score": -0.09539466351270676 } } }, "else": { "operation": "boost", "score": -0.0003055269771721214 } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.03035796992480755 }, "else": { "operation": "boost", "score": 0.009633165784180164 } }, "else": { "operation": "boost", "score": 0.004449937026947737 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.002606191672384739 }, "else": { "operation": "boost", "score": -0.004900412634015083 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.051845256239175797 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.002453000284731388 }, "else": { "operation": "boost", "score": -0.025082221254706383 } } }, "else": { "operation": "boost", "score": 0.015986083075404167 } }, "else": { "operation": "boost", "score": -0.0002479067479725927 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.04296969622373581 }, "else": { "operation": "boost", "score": 0.1235916018486023 } }, "else": { "operation": "boost", "score": 0.04188825190067291 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.037706974893808365 }, "else": { "operation": "boost", "score": -0.024859096854925156 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.08896146714687347 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.46634531021118164 }, "else": { "operation": "boost", "score": 0.038066886365413666 } }, "else": { "operation": "boost", "score": 0.02565554343163967 } } } }, "else": { "operation": "boost", "score": 0.002772195963189006 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005064033903181553 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.008555847220122814 }, "else": { "operation": "boost", "score": -0.025147275999188423 } }, "else": { "operation": "boost", "score": 0.022710371762514114 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "boost", "score": 0.13051019608974457 }, "else": { "operation": "boost", "score": 0.05741705372929573 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.022789841517806053 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01503789983689785 }, "else": { "operation": "boost", "score": -0.047851212322711945 } } }, "else": { "operation": "boost", "score": -0.052601851522922516 } }, "else": { "operation": "boost", "score": 0.031111836433410645 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0011380879441276193 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.06363322585821152 }, "else": { "operation": "boost", "score": 0.12223375588655472 } }, "else": { "operation": "boost", "score": 0.048412300646305084 } }, "else": { "operation": "boost", "score": 0.022570235654711723 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.020854227244853973 }, "else": { "operation": "boost", "score": -0.21429283916950226 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.01965940184891224 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.1381608545780182 }, "else": { "operation": "boost", "score": -0.3585803508758545 } }, "else": { "operation": "boost", "score": -0.0406004823744297 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.04854540154337883 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1229785680770874 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.034545864909887314 }, "else": { "operation": "boost", "score": -0.1214531734585762 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.021032089367508888 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.14443641901016235 }, "else": { "operation": "boost", "score": 0.045029085129499435 } } }, "else": { "operation": "boost", "score": -0.013516178354620934 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009333549998700619 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04168562963604927 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.046378243714571 }, "else": { "operation": "boost", "score": -0.1871601939201355 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04545454680919647, "then": { "operation": "boost", "score": 0.11520858854055405 }, "else": { "operation": "boost", "score": 0.08105622231960297 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.12725485861301422 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.06165379658341408 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.056433793157339096 }, "else": { "operation": "boost", "score": 0.15378226339817047 } } } }, "else": { "operation": "boost", "score": -0.6308029890060425 } } }, "else": { "operation": "boost", "score": 0.0013265142915770411 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.013356195762753487 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19895318150520325 }, "else": { "operation": "boost", "score": -0.4459063708782196 } }, "else": { "operation": "boost", "score": 0.0220626313239336 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.03918236866593361 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10292435437440872 }, "else": { "operation": "boost", "score": -0.3755583167076111 } }, "else": { "operation": "boost", "score": 0.11760992556810379 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.12198180705308914 }, "else": { "operation": "boost", "score": -0.007599124684929848 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06553646177053452 }, "else": { "operation": "boost", "score": -0.09695165604352951 } }, "else": { "operation": "boost", "score": 0.01605342887341976 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1844075471162796 }, "else": { "operation": "boost", "score": -0.025037214159965515 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02221003547310829 }, "else": { "operation": "boost", "score": -0.23701885342597961 } } } } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267507.5, "then": { "operation": "boost", "score": 0.021177267655730247 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11525487154722214 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019839659333229065 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Operator" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015433134511113167 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.057098936289548874 }, "else": { "operation": "boost", "score": 0.13458660244941711 } }, "else": { "operation": "boost", "score": 0.032031506299972534 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10673413425683975 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.11087486892938614 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.11505729705095291 }, "else": { "operation": "boost", "score": 0.1181865930557251 } } }, "else": { "operation": "boost", "score": 0.03371023014187813 } } } } }, "else": { "operation": "boost", "score": -0.013447746634483337 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.06671057641506195 }, "else": { "operation": "boost", "score": 0.09972955286502838 } }, "else": { "operation": "boost", "score": 0.053308289498090744 } }, "else": { "operation": "boost", "score": 0.013218212872743607 } }, "else": { "operation": "boost", "score": -0.016297662630677223 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.0011273471172899008 }, "else": { "operation": "boost", "score": -0.03406034782528877 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0227559395134449 }, "else": { "operation": "boost", "score": -0.0012823722790926695 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04772727191448212, "then": { "operation": "boost", "score": 0.022869747132062912 }, "else": { "operation": "boost", "score": -0.006516226101666689 } }, "else": { "operation": "boost", "score": -0.025938794016838074 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.02784261666238308 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03590983897447586 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.08109612762928009 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10342826694250107 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014190574176609516 }, "else": { "operation": "boost", "score": 0.02636292576789856 } } } }, "else": { "operation": "boost", "score": -0.10501861572265625 } }, "else": { "operation": "boost", "score": 0.005518535617738962 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.009848442859947681 }, "else": { "operation": "boost", "score": -0.10039796680212021 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.07763063907623291 }, "else": { "operation": "boost", "score": -0.027240298688411713 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.02485487423837185 }, "else": { "operation": "boost", "score": -0.027851751074194908 } }, "else": { "operation": "boost", "score": -0.029172630980610847 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.03989306837320328 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.26500117778778076 }, "else": { "operation": "boost", "score": 0.008597863838076591 } } }, "else": { "operation": "boost", "score": -0.007710539735853672 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.030399303883314133 }, "else": { "operation": "boost", "score": 0.13162052631378174 } }, "else": { "operation": "boost", "score": 0.006812186446040869 } } }, "else": { "operation": "boost", "score": -0.014520823024213314 } } } } } } }, "else": { "operation": "boost", "score": 5.004140257369727e-05 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.037738487124443054 }, "else": { "operation": "boost", "score": 0.004752991255372763 } }, "else": { "operation": "boost", "score": 0.02928861975669861 } }, "else": { "operation": "boost", "score": 0.0019772143568843603 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.05188920348882675 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05347691848874092 }, "else": { "operation": "boost", "score": 0.0040854415856301785 } } }, "else": { "operation": "boost", "score": -0.9593660831451416 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.3442424535751343 }, "else": { "operation": "boost", "score": 0.023692132905125618 } } }, "else": { "operation": "boost", "score": -0.028362667188048363 } }, "else": { "operation": "boost", "score": -0.0025483083445578814 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.07343307882547379 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0033046375028789043 }, "else": { "operation": "boost", "score": 0.06171811744570732 } } }, "else": { "operation": "boost", "score": 0.006135544739663601 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18799.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24339.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": 0.01418856531381607 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "boost", "score": 0.1164681538939476 }, "else": { "operation": "boost", "score": 0.04317587614059448 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.11185857653617859 }, "else": { "operation": "boost", "score": -0.014510270208120346 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.04197731614112854 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.12091520428657532 }, "else": { "operation": "boost", "score": 0.09562017023563385 } }, "else": { "operation": "boost", "score": 0.08716028183698654 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09958752989768982 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1312047690153122 }, "else": { "operation": "boost", "score": 0.10122273862361908 } }, "else": { "operation": "boost", "score": 0.10605553537607193 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23667.0, "then": { "operation": "boost", "score": -0.13576450943946838 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11540830880403519 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.12726934254169464 }, "else": { "operation": "boost", "score": 0.42342546582221985 } } }, "else": { "operation": "boost", "score": -0.03499477356672287 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21761.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21856.0, "then": { "operation": "boost", "score": 0.007943528704345226 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21807.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15400809049606323 }, "else": { "operation": "boost", "score": 0.07883195579051971 } }, "else": { "operation": "boost", "score": 0.047979287803173065 } } }, "else": { "operation": "boost", "score": -0.047116246074438095 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.05263441056013107 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.10506655275821686 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1746002435684204 }, "else": { "operation": "boost", "score": 0.09839775413274765 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.11263154447078705 }, "else": { "operation": "boost", "score": -0.07422570139169693 } }, "else": { "operation": "boost", "score": 0.06480859220027924 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3923184871673584 }, "else": { "operation": "boost", "score": 0.08823006600141525 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19474.5, "then": { "operation": "boost", "score": -0.13726498186588287 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19307.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.04975201189517975 }, "else": { "operation": "boost", "score": 0.07425963878631592 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07482150942087173 }, "else": { "operation": "boost", "score": 0.13790558278560638 } } }, "else": { "operation": "boost", "score": 0.04579807072877884 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16911.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1577230840921402 }, "else": { "operation": "boost", "score": -0.05254361778497696 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11107.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13650.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.221157044172287 }, "else": { "operation": "boost", "score": -0.006250785663723946 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13627.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.10187754034996033 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11832745373249054 }, "else": { "operation": "boost", "score": 0.22872474789619446 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.012766459956765175 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13163.5, "then": { "operation": "boost", "score": 0.03280264511704445 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1272001713514328 }, "else": { "operation": "boost", "score": 0.06774517893791199 } } } }, "else": { "operation": "boost", "score": 0.03445060923695564 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9216.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9283.0, "then": { "operation": "boost", "score": -0.017081493511795998 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -1.5594873428344727 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.33987849950790405 }, "else": { "operation": "boost", "score": -0.12806160748004913 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8884.0, "then": { "operation": "boost", "score": 0.08143482357263565 }, "else": { "operation": "boost", "score": 0.007139839231967926 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.20815689861774445 }, "else": { "operation": "boost", "score": 0.1330629587173462 } }, "else": { "operation": "boost", "score": 0.025097331032156944 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40317.0, "then": { "operation": "boost", "score": -0.05026332661509514 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1802.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.04757709056138992 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -2.2254202365875244 }, "else": { "operation": "boost", "score": -0.11287709325551987 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057259451597929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.07560966908931732 }, "else": { "operation": "boost", "score": 0.13724294304847717 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.08210229873657227 }, "else": { "operation": "boost", "score": -0.11821195483207703 } } }, "else": { "operation": "boost", "score": 0.13020797073841095 } }, "else": { "operation": "boost", "score": 0.022673651576042175 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04266232252120972 }, "else": { "operation": "boost", "score": -0.0026395930908620358 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0008389283902943134 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.06778945028781891 }, "else": { "operation": "boost", "score": -0.12437945604324341 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.16282415390014648 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.12076234072446823 }, "else": { "operation": "boost", "score": -0.14146800339221954 } }, "else": { "operation": "boost", "score": 0.061968155205249786 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.22983244061470032 }, "else": { "operation": "boost", "score": -0.14643923938274384 } }, "else": { "operation": "boost", "score": 0.09279580414295197 } }, "else": { "operation": "boost", "score": 0.005534606520086527 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007242790888994932 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12718980014324188 }, "else": { "operation": "boost", "score": -0.1756063997745514 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0936138704419136 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.050394196063280106 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.2167072743177414 }, "else": { "operation": "boost", "score": -0.027464965358376503 } } }, "else": { "operation": "boost", "score": 0.020067773759365082 } } } }, "else": { "operation": "boost", "score": -0.01027411688119173 } } }, "else": { "operation": "boost", "score": -0.0022849428933113813 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": -0.00707037840038538 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03475483879446983 }, "else": { "operation": "boost", "score": -0.08702253550291061 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.20704591274261475 }, "else": { "operation": "boost", "score": -0.1599292904138565 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.1152137741446495 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07577437907457352 }, "else": { "operation": "boost", "score": -0.01304718665778637 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.049291614443063736 }, "else": { "operation": "boost", "score": 0.026646971702575684 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.00634567579254508 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018381264060735703 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.2697595953941345 }, "else": { "operation": "boost", "score": -0.33434394001960754 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.024822358042001724 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.09500553458929062 }, "else": { "operation": "boost", "score": -0.8377662301063538 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033516477793455124 }, "else": { "operation": "boost", "score": 0.004234594292938709 } }, "else": { "operation": "boost", "score": -0.016962097957730293 } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11106459051370621 }, "else": { "operation": "boost", "score": 0.032244209200143814 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26223.5, "then": { "operation": "boost", "score": 0.026629513129591942 }, "else": { "operation": "boost", "score": 0.11018887907266617 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.009618686512112617 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.10286859422922134 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 193.5, "then": { "operation": "boost", "score": 0.07623837888240814 }, "else": { "operation": "boost", "score": 0.16123709082603455 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 138.5, "then": { "operation": "boost", "score": -0.16451895236968994 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09047350287437439 }, "else": { "operation": "boost", "score": -0.6680701971054077 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09281507879495621 }, "else": { "operation": "boost", "score": -0.06273282319307327 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.1369399130344391 }, "else": { "operation": "boost", "score": 0.07447401434183121 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.013490051031112671 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.1394423544406891 }, "else": { "operation": "boost", "score": -0.04721715301275253 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.014375285245478153 }, "else": { "operation": "boost", "score": -0.3150927722454071 } }, "else": { "operation": "boost", "score": 0.010144381783902645 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.03751340135931969 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.16713227331638336 }, "else": { "operation": "boost", "score": 0.011783055029809475 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10008.5, "then": { "operation": "boost", "score": -0.045744504779577255 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.21608789265155792 }, "else": { "operation": "boost", "score": 0.13627557456493378 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6325.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6404.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8266.0, "then": { "operation": "boost", "score": 0.04829219728708267 }, "else": { "operation": "boost", "score": -0.09054631739854813 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10801809281110764 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6388.5, "then": { "operation": "boost", "score": 0.10244882106781006 }, "else": { "operation": "boost", "score": 0.1046668142080307 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1316.0, "then": { "operation": "boost", "score": -0.07156732678413391 }, "else": { "operation": "boost", "score": 0.01151252444833517 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9969.5, "then": { "operation": "boost", "score": 0.1359364241361618 }, "else": { "operation": "boost", "score": 0.004720330238342285 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3272.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.03512046858668327 }, "else": { "operation": "boost", "score": -0.595031201839447 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 826.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1482.5, "then": { "operation": "boost", "score": 0.07698275148868561 }, "else": { "operation": "boost", "score": -0.14827753603458405 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 396.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 492.5, "then": { "operation": "boost", "score": 0.10859159380197525 }, "else": { "operation": "boost", "score": -0.07692187279462814 } }, "else": { "operation": "boost", "score": 0.12564368546009064 } }, "else": { "operation": "boost", "score": 0.08205527067184448 } } }, "else": { "operation": "boost", "score": 0.02199121192097664 } } } }, "else": { "operation": "boost", "score": -0.0031144279055297375 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15517.5, "then": { "operation": "boost", "score": 0.2953280806541443 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.02366303652524948 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": -0.3332878351211548 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11078698188066483 }, "else": { "operation": "boost", "score": -0.08909390866756439 } }, "else": { "operation": "boost", "score": 0.13866780698299408 } }, "else": { "operation": "boost", "score": 0.011763175018131733 } } }, "else": { "operation": "boost", "score": -0.012648673728108406 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11093154549598694 }, "else": { "operation": "boost", "score": -0.5291914343833923 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06155640631914139 }, "else": { "operation": "boost", "score": 0.11920171976089478 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.026608886197209358 }, "else": { "operation": "boost", "score": 0.04271235316991806 } } } }, "else": { "operation": "boost", "score": -0.05907009541988373 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.061807781457901 }, "else": { "operation": "boost", "score": -0.7038456201553345 } }, "else": { "operation": "boost", "score": 0.006268741562962532 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.07784746587276459 }, "else": { "operation": "boost", "score": -0.5111668109893799 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.26589760184288025 }, "else": { "operation": "boost", "score": -0.028245875611901283 } }, "else": { "operation": "boost", "score": -0.01054100226610899 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05457284301519394 }, "else": { "operation": "boost", "score": 0.015150396153330803 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.39589232206344604 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03059319406747818 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.06830496340990067 }, "else": { "operation": "boost", "score": -0.282495379447937 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.03965217247605324 }, "else": { "operation": "boost", "score": -0.0025679138489067554 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.06715506315231323 }, "else": { "operation": "boost", "score": -0.02094257064163685 } } }, "else": { "operation": "boost", "score": 0.0018068355275318027 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.017229577526450157 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10297432541847229 }, "else": { "operation": "boost", "score": -0.11538241058588028 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "boost", "score": 0.0035498780198395252 }, "else": { "operation": "boost", "score": 0.0011650307569652796 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.006407003849744797 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.001470765215344727 }, "else": { "operation": "boost", "score": -0.05336328595876694 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.050532061606645584 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08771350234746933 }, "else": { "operation": "boost", "score": 0.01651046611368656 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.02587289735674858 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.0625850260257721 }, "else": { "operation": "boost", "score": 0.14902038872241974 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005664349067956209 }, "else": { "operation": "boost", "score": -0.27249160408973694 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.027409752830863 }, "else": { "operation": "boost", "score": -0.42625102400779724 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0021276185289025307 }, "else": { "operation": "boost", "score": 0.09303026646375656 } }, "else": { "operation": "boost", "score": -0.16849231719970703 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.13335467875003815 }, "else": { "operation": "boost", "score": 0.10966759920120239 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11808928847312927 }, "else": { "operation": "boost", "score": -0.20584243535995483 } } }, "else": { "operation": "boost", "score": 0.04719020426273346 } }, "else": { "operation": "boost", "score": -0.036027874797582626 } }, "else": { "operation": "boost", "score": -0.031206930056214333 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -1.1909608840942383 }, "else": { "operation": "boost", "score": -0.05532153695821762 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.00915819127112627 }, "else": { "operation": "boost", "score": 0.059771828353405 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.012507105246186256 }, "else": { "operation": "boost", "score": 0.10793500393629074 } }, "else": { "operation": "boost", "score": 0.031989794224500656 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.0984049141407013 }, "else": { "operation": "boost", "score": 0.04138743877410889 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2027616947889328 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.14279571175575256 }, "else": { "operation": "boost", "score": 0.012897800654172897 } }, "else": { "operation": "boost", "score": -0.1752908080816269 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.007446837145835161 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12200561910867691 }, "else": { "operation": "boost", "score": -0.17928457260131836 } } }, "else": { "operation": "boost", "score": 0.008509528823196888 } }, "else": { "operation": "boost", "score": 0.03058682009577751 } } } } }, "else": { "operation": "boost", "score": -0.001711043412797153 } } } } }, "else": { "operation": "boost", "score": -0.0009238710044883192 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02269108220934868 }, "else": { "operation": "boost", "score": 0.05330098047852516 } }, "else": { "operation": "boost", "score": 0.009223620407283306 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03228059783577919 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.16584645211696625 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.07815969735383987 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.14617490768432617 }, "else": { "operation": "boost", "score": 0.11525119841098785 } }, "else": { "operation": "boost", "score": 0.09175769984722137 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.006282859481871128 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.008399776183068752 }, "else": { "operation": "boost", "score": -0.22223569452762604 } } }, "else": { "operation": "boost", "score": -0.27305006980895996 } }, "else": { "operation": "boost", "score": 0.003269449109211564 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.01601843535900116 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.028043542057275772 }, "else": { "operation": "boost", "score": 0.09742885828018188 } }, "else": { "operation": "boost", "score": 0.07716909050941467 } }, "else": { "operation": "boost", "score": 0.042028218507766724 } }, "else": { "operation": "boost", "score": 0.03210273012518883 } }, "else": { "operation": "boost", "score": 0.014597962610423565 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.010259544476866722 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.00830183457583189 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1734.5, "then": { "operation": "boost", "score": -0.13975507020950317 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1426.5, "then": { "operation": "boost", "score": 0.20718707144260406 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 599.5, "then": { "operation": "boost", "score": -0.24516814947128296 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1229216605424881 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 433.0, "then": { "operation": "boost", "score": 0.11575203388929367 }, "else": { "operation": "boost", "score": -0.24231795966625214 } } }, "else": { "operation": "boost", "score": 0.0801914632320404 } } }, "else": { "operation": "boost", "score": 0.021735427901148796 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.12083381414413452 }, "else": { "operation": "boost", "score": -0.0030248481780290604 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.0948072001338005 }, "else": { "operation": "boost", "score": 0.27383172512054443 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1579.5, "then": { "operation": "boost", "score": -0.009714770130813122 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1502.0, "then": { "operation": "boost", "score": 0.11747866123914719 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 332.0, "then": { "operation": "boost", "score": 0.016254311427474022 }, "else": { "operation": "boost", "score": 0.13647425174713135 } }, "else": { "operation": "boost", "score": 0.04120105877518654 } }, "else": { "operation": "boost", "score": 0.13338540494441986 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276.5, "then": { "operation": "boost", "score": -0.4938565194606781 }, "else": { "operation": "boost", "score": -0.009356453083455563 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.10596578568220139 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05822819471359253 }, "else": { "operation": "boost", "score": 0.1363849937915802 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.15734019875526428 }, "else": { "operation": "boost", "score": 0.01691935397684574 } }, "else": { "operation": "boost", "score": 0.0724511593580246 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.4160708487033844 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03620489686727524 }, "else": { "operation": "boost", "score": 0.16063012182712555 } } } } } }, "else": { "operation": "boost", "score": 0.009110266342759132 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.0, "then": { "operation": "boost", "score": 0.0866810604929924 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06944756209850311 }, "else": { "operation": "boost", "score": -0.7749258875846863 } } }, "else": { "operation": "boost", "score": 0.09325874596834183 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.6920337677001953 }, "else": { "operation": "boost", "score": -0.0004918013582937419 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.378934383392334 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06651616096496582 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.6517001986503601 }, "else": { "operation": "boost", "score": -0.08216382563114166 } } }, "else": { "operation": "boost", "score": 0.04756613448262215 } }, "else": { "operation": "boost", "score": -0.17708393931388855 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2508236765861511 }, "else": { "operation": "boost", "score": 0.06089054420590401 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.035050004720687866 }, "else": { "operation": "boost", "score": 0.013496862724423409 } }, "else": { "operation": "boost", "score": -0.031116008758544922 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.019468728452920914 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.12419816106557846 }, "else": { "operation": "boost", "score": 0.020146287977695465 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0929543673992157 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04110053926706314 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.27916088700294495 }, "else": { "operation": "boost", "score": -0.03483160585165024 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19822916388511658 }, "else": { "operation": "boost", "score": -0.03534110635519028 } }, "else": { "operation": "boost", "score": -0.009154300205409527 } }, "else": { "operation": "boost", "score": -0.0016710602212697268 } } } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.001121508190408349 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.141806498169899 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54332.5, "then": { "operation": "boost", "score": 0.10971905291080475 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.12022777646780014 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14916.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.14420653879642487 }, "else": { "operation": "boost", "score": -0.18557246029376984 } }, "else": { "operation": "boost", "score": 0.13568644225597382 } } }, "else": { "operation": "boost", "score": -0.2274387776851654 } }, "else": { "operation": "boost", "score": 0.040357351303100586 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01354311965405941 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54332.5, "then": { "operation": "boost", "score": -0.06253518909215927 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41256.0, "then": { "operation": "boost", "score": 0.09960704296827316 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27170.0, "then": { "operation": "boost", "score": -0.11589395254850388 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5627.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19705.5, "then": { "operation": "boost", "score": 0.11205075681209564 }, "else": { "operation": "boost", "score": 0.05314154177904129 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.09712809324264526 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2170.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2569.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.11065590381622314 }, "else": { "operation": "boost", "score": 0.16971030831336975 } }, "else": { "operation": "boost", "score": 0.12376464158296585 } }, "else": { "operation": "boost", "score": 0.1035098284482956 } } } } } } }, "else": { "operation": "boost", "score": -0.0043238201178610325 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20510.0, "then": { "operation": "boost", "score": 0.011571364477276802 }, "else": { "operation": "boost", "score": -0.04722010716795921 } } }, "else": { "operation": "boost", "score": -0.0009978251764550805 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0019917774479836226 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.013154146261513233 }, "else": { "operation": "boost", "score": 0.04523777589201927 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3234.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1088394895195961 }, "else": { "operation": "boost", "score": -0.15285564959049225 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3145.5, "then": { "operation": "boost", "score": 0.12069647014141083 }, "else": { "operation": "boost", "score": -0.013988068327307701 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 41.0, "then": { "operation": "boost", "score": 0.0004998938529752195 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.019258705899119377 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030654016882181168 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10799255967140198 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.16256065666675568 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11701265722513199 }, "else": { "operation": "boost", "score": -0.14268441498279572 } }, "else": { "operation": "boost", "score": 0.040508121252059937 } } }, "else": { "operation": "boost", "score": 0.032139282673597336 } }, "else": { "operation": "boost", "score": 0.05175265669822693 } } } }, "else": { "operation": "boost", "score": -0.021153125911951065 } }, "else": { "operation": "boost", "score": -0.017216481268405914 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01900039054453373 }, "else": { "operation": "boost", "score": -0.04712493345141411 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06428799778223038 }, "else": { "operation": "boost", "score": -0.0016682147979736328 } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07027756422758102 }, "else": { "operation": "boost", "score": 0.006299193482846022 } }, "else": { "operation": "boost", "score": 0.0022606831043958664 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010369128547608852 }, "else": { "operation": "boost", "score": -0.030201684683561325 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55854.0, "then": { "operation": "boost", "score": -0.027100956067442894 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13246478140354156 }, "else": { "operation": "boost", "score": -0.17302605509757996 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13327.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13390.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04131479188799858 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": -0.12184717506170273 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27669.0, "then": { "operation": "boost", "score": 0.18126371502876282 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": 0.05937838926911354 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18305.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.09267889708280563 }, "else": { "operation": "boost", "score": 0.15651339292526245 } }, "else": { "operation": "boost", "score": 0.0657215416431427 } } } } } }, "else": { "operation": "boost", "score": 0.2127271294593811 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01737404242157936 }, "else": { "operation": "boost", "score": 0.0613262765109539 } } }, "else": { "operation": "boost", "score": -0.0005919380346313119 } }, "else": { "operation": "boost", "score": -0.048116810619831085 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10496927052736282 }, "else": { "operation": "boost", "score": -0.10324253886938095 } }, "else": { "operation": "boost", "score": -0.038834888488054276 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10073927789926529 }, "else": { "operation": "boost", "score": 0.059919573366642 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.01782984845340252 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.024614909663796425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.011300225742161274 }, "else": { "operation": "boost", "score": -1.4247578382492065 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.07092142105102539 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": 0.024418644607067108 }, "else": { "operation": "boost", "score": -0.01160360500216484 } }, "else": { "operation": "boost", "score": -0.07974626868963242 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.039677515625953674 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0774620771408081 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.02328232303261757 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.02895928919315338 }, "else": { "operation": "boost", "score": 0.017403723672032356 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.03780077025294304 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38668.0, "then": { "operation": "boost", "score": 0.023525036871433258 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.003453355748206377 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014786962419748306 }, "else": { "operation": "boost", "score": -0.1107129231095314 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.015586654655635357 }, "else": { "operation": "boost", "score": 0.058495599776506424 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.01059426087886095 }, "else": { "operation": "boost", "score": -0.0097710145637393 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0014783326769247651 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5430.5, "then": { "operation": "boost", "score": -0.010742568410933018 }, "else": { "operation": "boost", "score": 0.03885957598686218 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.04731893911957741 }, "else": { "operation": "boost", "score": -0.07264979183673859 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0023176283575594425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.04662192612886429 }, "else": { "operation": "boost", "score": 0.04417034983634949 } } } }, "else": { "operation": "boost", "score": -0.11793400347232819 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02021307870745659 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.22779594361782074 }, "else": { "operation": "boost", "score": 0.08281929045915604 } } }, "else": { "operation": "boost", "score": -0.04026688262820244 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67685.0, "then": { "operation": "boost", "score": 0.02745814435184002 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46971.0, "then": { "operation": "boost", "score": -0.04067988321185112 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46241.5, "then": { "operation": "boost", "score": 0.073260098695755 }, "else": { "operation": "boost", "score": 0.014521090313792229 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6816.5, "then": { "operation": "boost", "score": -0.13123847544193268 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.020030977204442024 }, "else": { "operation": "boost", "score": -0.05952337756752968 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.020828744396567345 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.0, "then": { "operation": "boost", "score": 0.4864813983440399 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.029678992927074432 }, "else": { "operation": "boost", "score": 1.096040964126587 } } }, "else": { "operation": "boost", "score": 0.07675370573997498 } } } }, "else": { "operation": "boost", "score": -0.07796660810709 } }, "else": { "operation": "boost", "score": -0.01804637350142002 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009639609605073929 }, "else": { "operation": "boost", "score": -0.004564268514513969 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.023363469168543816 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.28443872928619385 }, "else": { "operation": "boost", "score": -0.01589646376669407 } } }, "else": { "operation": "boost", "score": -0.016458973288536072 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.01536529790610075 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.01923431269824505 }, "else": { "operation": "boost", "score": 0.010369255207479 } } }, "else": { "operation": "boost", "score": -0.0012308405712246895 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.011557084508240223 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08542213588953018 }, "else": { "operation": "boost", "score": 0.019376607611775398 } }, "else": { "operation": "boost", "score": -0.018595224246382713 } } }, "else": { "operation": "boost", "score": -0.08487731963396072 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147156.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 196353.5, "then": { "operation": "boost", "score": 0.019609130918979645 }, "else": { "operation": "boost", "score": 0.07202785462141037 } }, "else": { "operation": "boost", "score": 0.007201476022601128 } }, "else": { "operation": "boost", "score": -0.008885440416634083 } } } } } }, "else": { "operation": "boost", "score": 0.0055158804170787334 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0037493810523301363 }, "else": { "operation": "boost", "score": 0.0123204430565238 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01058058999478817 }, "else": { "operation": "boost", "score": -0.028071871027350426 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0011182877933606505 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.006581307854503393 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08198849856853485 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": -0.01275172084569931 }, "else": { "operation": "boost", "score": 0.16303503513336182 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.15740245580673218 }, "else": { "operation": "boost", "score": -0.02484997920691967 } }, "else": { "operation": "boost", "score": -0.344868540763855 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "boost", "score": -0.017289847135543823 }, "else": { "operation": "boost", "score": -0.13187934458255768 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03858748450875282 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014591047540307045 }, "else": { "operation": "boost", "score": 0.010827062651515007 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.021580971777439117 }, "else": { "operation": "boost", "score": 0.08215714246034622 } }, "else": { "operation": "boost", "score": -0.06288930773735046 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.0031068939715623856 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.04558214917778969 }, "else": { "operation": "boost", "score": 0.0252196304500103 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.003577129216864705 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.4053155779838562 }, "else": { "operation": "boost", "score": 0.21402689814567566 } }, "else": { "operation": "boost", "score": -0.37612494826316833 } }, "else": { "operation": "boost", "score": -0.022164637222886086 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.14706678688526154 }, "else": { "operation": "boost", "score": 0.05910192430019379 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02144080214202404 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.0427560955286026 }, "else": { "operation": "boost", "score": 0.002069602720439434 } } } } } } } }, "else": { "operation": "boost", "score": -0.09967417269945145 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18095622956752777 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05569540336728096 }, "else": { "operation": "boost", "score": 0.00623029051348567 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.010374044068157673 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.00040866131894290447 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 505.5, "then": { "operation": "boost", "score": 0.12747251987457275 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 80.0, "then": { "operation": "boost", "score": 0.05834675207734108 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "boost", "score": -0.3481118679046631 }, "else": { "operation": "boost", "score": -0.07041449099779129 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06400255858898163 }, "else": { "operation": "boost", "score": 0.12136049568653107 } }, "else": { "operation": "boost", "score": 0.011680318973958492 } } } } } }, "else": { "operation": "boost", "score": -0.12830102443695068 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323356.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04431630298495293 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.010438401252031326 }, "else": { "operation": "boost", "score": -0.05973733589053154 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011501367203891277 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.07861223071813583 }, "else": { "operation": "boost", "score": -0.4425405263900757 } } } } }, "else": { "operation": "boost", "score": -0.07762499153614044 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": 0.004097227938473225 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0728551372885704 }, "else": { "operation": "boost", "score": 0.11657792329788208 } }, "else": { "operation": "boost", "score": 0.07241406291723251 } }, "else": { "operation": "boost", "score": 0.05584844574332237 } }, "else": { "operation": "boost", "score": 0.023807864636182785 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05127359926700592 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.12290338426828384 }, "else": { "operation": "boost", "score": -0.004233391024172306 } } }, "else": { "operation": "boost", "score": -0.4677855372428894 } }, "else": { "operation": "boost", "score": 0.040179044008255005 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.049297481775283813 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.09925256669521332 }, "else": { "operation": "boost", "score": -0.6126480102539062 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10898908972740173 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.04894235357642174 }, "else": { "operation": "boost", "score": 0.00706545589491725 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.08303964138031006 }, "else": { "operation": "boost", "score": -0.055788129568099976 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.9263914227485657 }, "else": { "operation": "boost", "score": -0.18643558025360107 } } } }, "else": { "operation": "boost", "score": 0.025747383013367653 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -2.9813332557678223 }, "else": { "operation": "boost", "score": -0.14915108680725098 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 174936.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.15678027272224426 }, "else": { "operation": "boost", "score": 0.21214967966079712 } }, "else": { "operation": "boost", "score": 0.12414222955703735 } }, "else": { "operation": "boost", "score": -0.15658767521381378 } }, "else": { "operation": "boost", "score": -0.16265924274921417 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.06537684798240662 }, "else": { "operation": "boost", "score": 0.0284457728266716 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.1794997602701187 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0020165604073554277 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1364.5, "then": { "operation": "boost", "score": 0.013017409481108189 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1336.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1339.5, "then": { "operation": "boost", "score": 0.059716127812862396 }, "else": { "operation": "boost", "score": 0.14516830444335938 } }, "else": { "operation": "boost", "score": 0.12174196541309357 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10175497829914093 }, "else": { "operation": "boost", "score": 0.32659679651260376 } }, "else": { "operation": "boost", "score": 0.039183177053928375 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.0010570194572210312 }, "else": { "operation": "boost", "score": 0.12507176399230957 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1288.5, "then": { "operation": "boost", "score": -0.10358240455389023 }, "else": { "operation": "boost", "score": 0.08781860023736954 } } } }, "else": { "operation": "boost", "score": -0.03257418051362038 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.08802974224090576 }, "else": { "operation": "boost", "score": -0.00863630324602127 } }, "else": { "operation": "boost", "score": -0.06784844398498535 } }, "else": { "operation": "boost", "score": 0.0062681264244019985 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": 0.012637274339795113 }, "else": { "operation": "boost", "score": -1.3456543684005737 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83772.5, "then": { "operation": "boost", "score": 0.06677619367837906 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01570790633559227 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11159.0, "then": { "operation": "boost", "score": -0.06605308502912521 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11000.0, "then": { "operation": "boost", "score": 0.1230374276638031 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10549.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10721.5, "then": { "operation": "boost", "score": -0.04559123516082764 }, "else": { "operation": "boost", "score": 0.20249083638191223 } }, "else": { "operation": "boost", "score": -0.013822401873767376 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.006111096125096083 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.06946773827075958 }, "else": { "operation": "boost", "score": -0.11717040091753006 } }, "else": { "operation": "boost", "score": -0.018566399812698364 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.026064207777380943 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.15917040407657623 }, "else": { "operation": "boost", "score": 0.0928230732679367 } } }, "else": { "operation": "boost", "score": -0.277998149394989 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.09362412244081497 }, "else": { "operation": "boost", "score": 0.01554340124130249 } }, "else": { "operation": "boost", "score": 0.050160326063632965 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.3171694874763489 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.06073678657412529 }, "else": { "operation": "boost", "score": 0.17793823778629303 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03395109251141548 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.006013157777488232 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.0771440863609314 }, "else": { "operation": "boost", "score": 0.13262681663036346 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.09401166439056396 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.13829660415649414 }, "else": { "operation": "boost", "score": -0.17314067482948303 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07054900377988815 }, "else": { "operation": "boost", "score": -0.26061660051345825 } } }, "else": { "operation": "boost", "score": -0.3679274618625641 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.050757091492414474 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.380952388048172, "then": { "operation": "boost", "score": 0.12536020576953888 }, "else": { "operation": "boost", "score": 0.06086626648902893 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.12488644570112228 }, "else": { "operation": "boost", "score": -0.0019431646214798093 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.026861920952796936 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.25796881318092346 }, "else": { "operation": "boost", "score": 0.14007917046546936 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.033066824078559875 }, "else": { "operation": "boost", "score": -0.07738576084375381 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.09093592315912247 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.08745656907558441 }, "else": { "operation": "boost", "score": 0.009476685896515846 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.022766586393117905 }, "else": { "operation": "boost", "score": -0.17430199682712555 } } }, "else": { "operation": "boost", "score": -0.26415854692459106 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019531385973095894 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.07001537084579468 }, "else": { "operation": "boost", "score": 0.0038421000353991985 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.06479347497224808 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.010693583637475967 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.10651059448719025 }, "else": { "operation": "boost", "score": -0.03686126321554184 } } }, "else": { "operation": "boost", "score": -0.026678450405597687 } } } } } }, "else": { "operation": "boost", "score": -0.00222615129314363 } } } } } }, "else": { "operation": "boost", "score": -0.0009195612510666251 } } } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.09286915510892868 }, "else": { "operation": "boost", "score": 0.027495920658111572 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.09614996612071991 }, "else": { "operation": "boost", "score": 0.000481467111967504 } } }, "else": { "operation": "boost", "score": 0.023681387305259705 } }, "else": { "operation": "boost", "score": 0.008009188808500767 } }, "else": { "operation": "boost", "score": 0.008648165501654148 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.020054398104548454 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.0816180482506752 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.3995767831802368 }, "else": { "operation": "boost", "score": -0.18157629668712616 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1310470849275589 }, "else": { "operation": "boost", "score": 0.07232290506362915 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.040696825832128525 }, "else": { "operation": "boost", "score": -0.06604741513729095 } } } }, "else": { "operation": "boost", "score": -0.017664430662989616 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0008352893637493253 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.032982807606458664 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11328276991844177 }, "else": { "operation": "boost", "score": -0.11357630789279938 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007845213636755943 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.008875560015439987 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0030543310567736626 }, "else": { "operation": "boost", "score": 0.139981210231781 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.04074990004301071 }, "else": { "operation": "boost", "score": 0.1827218383550644 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05268778279423714 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07657919079065323 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.006924634333699942 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.16306638717651367 }, "else": { "operation": "boost", "score": 0.1575450450181961 } } } } }, "else": { "operation": "boost", "score": 0.041928380727767944 } }, "else": { "operation": "boost", "score": 0.010201769880950451 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02520165592432022 }, "else": { "operation": "boost", "score": 0.07499300688505173 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.09862474352121353 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06531242281198502 }, "else": { "operation": "boost", "score": 0.00828090775758028 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007469095289707184 }, "else": { "operation": "boost", "score": -0.01963634043931961 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.001845017890445888 }, "else": { "operation": "boost", "score": 0.07878232002258301 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0029712512623518705 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024681296199560165 }, "else": { "operation": "boost", "score": -0.05898601561784744 } } }, "else": { "operation": "boost", "score": -0.006331433542072773 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": -0.030434058979153633 }, "else": { "operation": "boost", "score": 0.004290095996111631 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25182.5, "then": { "operation": "boost", "score": -0.14148543775081635 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24136.5, "then": { "operation": "boost", "score": 0.10371380299329758 }, "else": { "operation": "boost", "score": 0.1022026389837265 } } }, "else": { "operation": "boost", "score": 0.013897761702537537 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.014270873740315437 }, "else": { "operation": "boost", "score": -0.002702693920582533 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.3645973801612854 }, "else": { "operation": "boost", "score": -0.005081541370600462 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.1339842826128006 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.17227940261363983 }, "else": { "operation": "boost", "score": 0.50511234998703 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.25701844692230225 }, "else": { "operation": "boost", "score": -0.10041157901287079 } } }, "else": { "operation": "boost", "score": 0.2852506935596466 } }, "else": { "operation": "boost", "score": -0.028586482629179955 } }, "else": { "operation": "boost", "score": -0.10066299140453339 } } }, "else": { "operation": "boost", "score": -0.10443184524774551 } }, "else": { "operation": "boost", "score": 0.028022460639476776 } } }, "else": { "operation": "boost", "score": -0.03764724358916283 } } } }, "else": { "operation": "boost", "score": 0.045905593782663345 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.016254259273409843 }, "else": { "operation": "boost", "score": 0.005370166152715683 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.24085503816604614 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12479384988546371 }, "else": { "operation": "boost", "score": 0.009173772297799587 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "boost", "score": -0.01786581613123417 }, "else": { "operation": "boost", "score": 0.06565792113542557 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06214151531457901 }, "else": { "operation": "boost", "score": -0.2430875599384308 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.03207132965326309 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005190331023186445 }, "else": { "operation": "boost", "score": -0.15600553154945374 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0023001430090516806 }, "else": { "operation": "boost", "score": -0.023341331630945206 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06265182793140411 }, "else": { "operation": "boost", "score": 0.009522300213575363 } }, "else": { "operation": "boost", "score": -0.017819661647081375 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03679153323173523 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.08574125915765762 }, "else": { "operation": "boost", "score": 0.021164949983358383 } }, "else": { "operation": "boost", "score": -0.05994950979948044 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.08644241839647293 }, "else": { "operation": "boost", "score": -0.05428055673837662 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.04010468348860741 }, "else": { "operation": "boost", "score": 0.08430734276771545 } }, "else": { "operation": "boost", "score": 0.002899224404245615 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.07187952846288681 }, "else": { "operation": "boost", "score": 0.011164703406393528 } }, "else": { "operation": "boost", "score": -0.00015802263806108385 } }, "else": { "operation": "boost", "score": -0.0016282513970509171 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.3373187482357025 }, "else": { "operation": "boost", "score": 0.13854220509529114 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.12952488660812378 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.15374647080898285 }, "else": { "operation": "boost", "score": -0.12238463759422302 } } } }, "else": { "operation": "boost", "score": -0.1703130006790161 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.13117073476314545 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.16313962638378143 }, "else": { "operation": "boost", "score": 0.13418011367321014 } }, "else": { "operation": "boost", "score": 0.05015811324119568 } } } }, "else": { "operation": "boost", "score": -0.0024607849773019552 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "boost", "score": 0.005401114467531443 }, "else": { "operation": "boost", "score": 0.08615967631340027 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08937536925077438 }, "else": { "operation": "boost", "score": -0.10623679310083389 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.043639909476041794 }, "else": { "operation": "boost", "score": 0.04368405044078827 } } }, "else": { "operation": "boost", "score": 0.002396391471847892 } } }, "else": { "operation": "boost", "score": -0.024708887562155724 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0008691111579537392 }, "else": { "operation": "boost", "score": 0.0887235477566719 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": -0.043419815599918365 }, "else": { "operation": "boost", "score": 0.0038577918894588947 } }, "else": { "operation": "boost", "score": 0.033499203622341156 } }, "else": { "operation": "boost", "score": 0.0011332364520058036 } } }, "else": { "operation": "boost", "score": 0.00030285396496765316 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.09505528956651688 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.08449176698923111 }, "else": { "operation": "boost", "score": -0.09203261882066727 } } } } } } }, "else": { "operation": "boost", "score": -0.0012676608748733997 } } } } } } }, { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06323254108428955 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.009641560725867748 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.008171170018613338 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "boost", "score": 0.03282593935728073 }, "else": { "operation": "boost", "score": 0.005121679976582527 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.03520376607775688 }, "else": { "operation": "boost", "score": 0.01252059917896986 } }, "else": { "operation": "boost", "score": -0.029805628582835197 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.039825793355703354 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.02583404816687107 }, "else": { "operation": "boost", "score": -0.0030483293812721968 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323356.5, "then": { "operation": "boost", "score": 0.012525311671197414 }, "else": { "operation": "boost", "score": -0.06752876192331314 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": 0.0055870171636343 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08800080418586731 }, "else": { "operation": "boost", "score": 0.05600713565945625 } }, "else": { "operation": "boost", "score": -0.3918980062007904 } }, "else": { "operation": "boost", "score": 0.019029825925827026 } } }, "else": { "operation": "boost", "score": 0.008649935945868492 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.045755449682474136 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.062454935163259506 }, "else": { "operation": "boost", "score": 0.014387715607881546 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04848827049136162 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09567258507013321 }, "else": { "operation": "boost", "score": -0.2281925529241562 } } }, "else": { "operation": "boost", "score": -0.014199627563357353 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.14830505847930908 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 174936.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1854521781206131 }, "else": { "operation": "boost", "score": 0.11996787786483765 } }, "else": { "operation": "boost", "score": -0.15699340403079987 } }, "else": { "operation": "boost", "score": -0.15334628522396088 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.062156956642866135 }, "else": { "operation": "boost", "score": 0.026721222326159477 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.17112767696380615 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009192013181746006 }, "else": { "operation": "boost", "score": -0.027843095362186432 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.005708801560103893 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09980862587690353 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.012668165378272533 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.14625266194343567 }, "else": { "operation": "boost", "score": -0.10804992914199829 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -8.06388197815977e-05 }, "else": { "operation": "boost", "score": -0.12631574273109436 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.009838273748755455 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.5, "then": { "operation": "boost", "score": 0.09892338514328003 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08900832384824753 }, "else": { "operation": "boost", "score": 0.025739239528775215 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": -0.051836807280778885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.03613264113664627 }, "else": { "operation": "boost", "score": 0.07986775785684586 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.03503278270363808 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.10757601261138916 }, "else": { "operation": "boost", "score": 0.0169691052287817 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.3838501572608948 }, "else": { "operation": "boost", "score": -0.030836978927254677 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.03592551127076149 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12966497242450714 }, "else": { "operation": "boost", "score": 0.1274782419204712 } } }, "else": { "operation": "boost", "score": 0.028455030173063278 } }, "else": { "operation": "boost", "score": 0.0037569531705230474 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -1.1428340673446655 }, "else": { "operation": "boost", "score": 0.023978471755981445 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.003662084462121129 }, "else": { "operation": "boost", "score": 0.013937020674347878 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.011647670529782772 }, "else": { "operation": "boost", "score": -0.008839498274028301 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0999378189444542 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.1935093104839325 }, "else": { "operation": "boost", "score": 0.004922173451632261 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 585.0, "then": { "operation": "boost", "score": -0.05425964668393135 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.036123186349868774 }, "else": { "operation": "boost", "score": 0.0033825356513261795 } } } }, "else": { "operation": "boost", "score": -0.0367475263774395 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03078865446150303 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.008712214417755604 }, "else": { "operation": "boost", "score": 0.011979651637375355 } }, "else": { "operation": "boost", "score": -0.03879965469241142 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.03866586461663246 }, "else": { "operation": "boost", "score": 0.21009798347949982 } }, "else": { "operation": "boost", "score": 0.0920775905251503 } }, "else": { "operation": "boost", "score": 0.2428063303232193 } }, "else": { "operation": "boost", "score": -0.015272408723831177 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.019037822261452675 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15033.0, "then": { "operation": "boost", "score": -0.3102653920650482 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 824.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 925.5, "then": { "operation": "boost", "score": 0.09754913300275803 }, "else": { "operation": "boost", "score": 0.11485476791858673 } }, "else": { "operation": "boost", "score": 0.09894561022520065 } } }, "else": { "operation": "boost", "score": -0.004776382818818092 } } }, "else": { "operation": "boost", "score": -0.03008529543876648 } }, "else": { "operation": "boost", "score": -0.016756586730480194 } }, "else": { "operation": "boost", "score": -0.029727621003985405 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6676.0, "then": { "operation": "boost", "score": -0.046208929270505905 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.5, "then": { "operation": "boost", "score": 0.021248159930109978 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.029695043340325356 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.039023395627737045 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.06486136466264725 }, "else": { "operation": "boost", "score": 0.008362199179828167 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11808965355157852 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -0.34527185559272766 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.17559465765953064 }, "else": { "operation": "boost", "score": 0.049269113689661026 } } }, "else": { "operation": "boost", "score": -0.012102169916033745 } } }, "else": { "operation": "boost", "score": 0.0062373545952141285 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54764.5, "then": { "operation": "boost", "score": -0.047405071556568146 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43319.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "boost", "score": 0.02398291788995266 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.147505521774292 }, "else": { "operation": "boost", "score": 0.10074900835752487 } }, "else": { "operation": "boost", "score": 0.09507540613412857 } } }, "else": { "operation": "boost", "score": -0.003674954641610384 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.41116416454315186 }, "else": { "operation": "boost", "score": 0.10943222045898438 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10387858748435974 }, "else": { "operation": "boost", "score": -0.0863095372915268 } } }, "else": { "operation": "boost", "score": 0.004510982893407345 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98110.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.05871541053056717 }, "else": { "operation": "boost", "score": 0.11790791153907776 } }, "else": { "operation": "boost", "score": 0.05048010125756264 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010923215188086033 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.17252491414546967 }, "else": { "operation": "boost", "score": -0.009450162760913372 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0010435703443363309 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005231150425970554 }, "else": { "operation": "boost", "score": -0.031976114958524704 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0029480610974133015 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.04318183660507202 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.08605500310659409 }, "else": { "operation": "boost", "score": 0.018394984304904938 } } } } }, "else": { "operation": "boost", "score": -0.0036205248907208443 } } } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10620300471782684, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.009012590162456036 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07578504830598831 }, "else": { "operation": "boost", "score": 0.16641996800899506 } }, "else": { "operation": "boost", "score": 0.03728919476270676 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "boost", "score": 0.00473210122436285 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.051270533353090286 }, "else": { "operation": "boost", "score": 0.03306911513209343 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.028130805119872093 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0648089051246643 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.10035045444965363 }, "else": { "operation": "boost", "score": -0.3617297410964966 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1083.0, "then": { "operation": "boost", "score": -0.10600259900093079 }, "else": { "operation": "boost", "score": 0.11972405761480331 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.14173394441604614 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.019295549020171165 }, "else": { "operation": "boost", "score": 0.08350656181573868 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.09122568368911743 }, "else": { "operation": "boost", "score": 0.030140165239572525 } }, "else": { "operation": "boost", "score": 0.040103986859321594 } }, "else": { "operation": "boost", "score": 0.018124481663107872 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.01051932293921709 }, "else": { "operation": "boost", "score": -0.08909133076667786 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1009778380393982 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.004479991737753153 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.009989823214709759 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.04886525496840477 }, "else": { "operation": "boost", "score": 0.10923245549201965 } }, "else": { "operation": "boost", "score": 0.024154115468263626 } } } } } }, "else": { "operation": "boost", "score": -0.014968397095799446 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.001687230309471488 }, "else": { "operation": "boost", "score": -0.28885239362716675 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.01669999025762081 }, "else": { "operation": "boost", "score": 0.011055567301809788 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1097826138138771 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.024325914680957794 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.06748930364847183 }, "else": { "operation": "boost", "score": 0.01676822267472744 } }, "else": { "operation": "boost", "score": 0.0685146227478981 } } }, "else": { "operation": "boost", "score": 0.011465790681540966 } } }, "else": { "operation": "boost", "score": 0.0015367245068773627 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.005571965128183365 }, "else": { "operation": "boost", "score": 0.01648169942200184 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.0534038320183754 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1231025978922844 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.2500298321247101 }, "else": { "operation": "boost", "score": 0.1041010394692421 } } }, "else": { "operation": "boost", "score": -0.03203093260526657 } }, "else": { "operation": "boost", "score": -0.05250578746199608 } } }, "else": { "operation": "boost", "score": -0.00014682057371828705 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11829.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12172.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.002054353477433324 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13650.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18485.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": 0.011814051307737827 }, "else": { "operation": "boost", "score": 0.11481445282697678 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.19343028962612152 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16911.5, "then": { "operation": "boost", "score": -0.07780119776725769 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14800.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14962.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15358.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15450.5, "then": { "operation": "boost", "score": 0.03510923311114311 }, "else": { "operation": "boost", "score": -0.13568419218063354 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08142557740211487 }, "else": { "operation": "boost", "score": -0.27325403690338135 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.20131392776966095 }, "else": { "operation": "boost", "score": 0.08810246735811234 } } }, "else": { "operation": "boost", "score": -0.0720902755856514 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13630.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.016085416078567505 }, "else": { "operation": "boost", "score": 0.2521989643573761 } }, "else": { "operation": "boost", "score": 0.04938134551048279 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.12934063374996185 }, "else": { "operation": "boost", "score": 0.041772305965423584 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11376088857650757 }, "else": { "operation": "boost", "score": 0.025636153295636177 } }, "else": { "operation": "boost", "score": -0.061221491545438766 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.13488057255744934 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.12738056480884552 }, "else": { "operation": "boost", "score": -0.10187295824289322 } }, "else": { "operation": "boost", "score": 0.28247615694999695 } }, "else": { "operation": "boost", "score": 0.14037269353866577 } } }, "else": { "operation": "boost", "score": -0.07808146625757217 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.10222488641738892 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.15014860033988953 }, "else": { "operation": "boost", "score": 0.3932572305202484 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1575687974691391 }, "else": { "operation": "boost", "score": 0.0875566229224205 } } } }, "else": { "operation": "boost", "score": 0.0906510278582573 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10512.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11245.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11730.0, "then": { "operation": "boost", "score": -0.2786402106285095 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11572.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11605.0, "then": { "operation": "boost", "score": 0.07665982842445374 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.185525044798851 }, "else": { "operation": "boost", "score": 0.11998668313026428 } } }, "else": { "operation": "boost", "score": 0.08909127116203308 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11627.5, "then": { "operation": "boost", "score": -0.14138123393058777 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11605.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12827938795089722 }, "else": { "operation": "boost", "score": -0.13515648245811462 } }, "else": { "operation": "boost", "score": 0.13916945457458496 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.11323276162147522 }, "else": { "operation": "boost", "score": 0.0600319504737854 } } } } }, "else": { "operation": "boost", "score": -0.008823790587484837 } }, "else": { "operation": "boost", "score": -0.07144328206777573 } }, "else": { "operation": "boost", "score": -0.08307166397571564 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6508.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6676.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7834.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7846.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8476.5, "then": { "operation": "boost", "score": -0.07034026831388474 }, "else": { "operation": "boost", "score": 0.15283505618572235 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.2825421392917633 }, "else": { "operation": "boost", "score": 0.10333261638879776 } } }, "else": { "operation": "boost", "score": -0.024335039779543877 } }, "else": { "operation": "boost", "score": 0.1718910187482834 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1551261693239212 }, "else": { "operation": "boost", "score": 0.028165610507130623 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6635.5, "then": { "operation": "boost", "score": 0.12045002728700638 }, "else": { "operation": "boost", "score": 0.08733866363763809 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3189.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4141.5, "then": { "operation": "boost", "score": 0.009899797849357128 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4090.5, "then": { "operation": "boost", "score": -0.7415831685066223 }, "else": { "operation": "boost", "score": -0.038219280540943146 } }, "else": { "operation": "boost", "score": -0.809259831905365 } } }, "else": { "operation": "boost", "score": 0.11855712532997131 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00896071270108223 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2951.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2990.5, "then": { "operation": "boost", "score": 0.18474960327148438 }, "else": { "operation": "boost", "score": 0.11825201660394669 } }, "else": { "operation": "boost", "score": -0.028056994080543518 } }, "else": { "operation": "boost", "score": 0.06445629894733429 } } } } }, "else": { "operation": "boost", "score": 0.0132911941036582 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.13567376136779785 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3505.0, "then": { "operation": "boost", "score": -0.08502474427223206 }, "else": { "operation": "boost", "score": 0.09739246964454651 } } }, "else": { "operation": "boost", "score": 0.02186526358127594 } }, "else": { "operation": "boost", "score": -0.028517000377178192 } } }, "else": { "operation": "boost", "score": -0.018801579251885414 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.16272012889385223 }, "else": { "operation": "boost", "score": 0.09806791692972183 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7253.5, "then": { "operation": "boost", "score": 0.07483997195959091 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5489.0, "then": { "operation": "boost", "score": -0.15188157558441162 }, "else": { "operation": "boost", "score": 0.08883367478847504 } } } }, "else": { "operation": "boost", "score": -0.0009379096445627511 } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.093626469373703 }, "else": { "operation": "boost", "score": 0.028280165046453476 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.08184418827295303 }, "else": { "operation": "boost", "score": -0.00216707494109869 } } }, "else": { "operation": "boost", "score": 0.022379331290721893 } }, "else": { "operation": "boost", "score": 0.007241897284984589 } }, "else": { "operation": "boost", "score": 0.008146225474774837 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.017873259261250496 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.07795758545398712 }, "else": { "operation": "boost", "score": -0.21537581086158752 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.12594151496887207 }, "else": { "operation": "boost", "score": 0.05854054167866707 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.037353310734033585 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.3627298176288605 }, "else": { "operation": "boost", "score": -0.014377137646079063 } } } } }, "else": { "operation": "boost", "score": -0.01556497160345316 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08049625903367996 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03618570417165756 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1150633916258812 }, "else": { "operation": "boost", "score": 0.012298489920794964 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.008346511982381344 }, "else": { "operation": "boost", "score": 0.01676233857870102 } } } }, "else": { "operation": "boost", "score": -0.001152299577370286 } }, "else": { "operation": "boost", "score": -0.035753872245550156 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.08456120640039444 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.08859608322381973 }, "else": { "operation": "boost", "score": 0.006587623618543148 } } }, "else": { "operation": "boost", "score": -0.019357632845640182 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.04298819601535797 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05007888376712799 }, "else": { "operation": "boost", "score": 0.009852803312242031 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006353740114718676 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0021697371266782284 }, "else": { "operation": "boost", "score": 0.07546260952949524 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0018510966328904033 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.022814467549324036 }, "else": { "operation": "boost", "score": -0.05351943522691727 } } }, "else": { "operation": "boost", "score": -0.005978669039905071 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.13226400315761566 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.4277738332748413 }, "else": { "operation": "boost", "score": 0.11070432513952255 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8541666269302368, "then": { "operation": "boost", "score": -0.1619635969400406 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 201.0, "then": { "operation": "boost", "score": -0.9693260192871094 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00035260836011730134 }, "else": { "operation": "boost", "score": 0.1250338852405548 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12318069487810135 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5982142686843872, "then": { "operation": "boost", "score": 0.06824865192174911 }, "else": { "operation": "boost", "score": 0.11145889759063721 } }, "else": { "operation": "boost", "score": -0.004493872169405222 } } }, "else": { "operation": "boost", "score": 0.14262089133262634 } }, "else": { "operation": "boost", "score": 0.010132948867976665 } }, "else": { "operation": "boost", "score": 0.1474395990371704 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16525180637836456 }, "else": { "operation": "boost", "score": 0.08581510931253433 } }, "else": { "operation": "boost", "score": -0.36563900113105774 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05182238668203354 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.24157482385635376 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08117610216140747 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09976619482040405 }, "else": { "operation": "boost", "score": 0.12871095538139343 } } }, "else": { "operation": "boost", "score": 0.07663854956626892 } } } }, "else": { "operation": "boost", "score": -0.03676852956414223 } }, "else": { "operation": "boost", "score": -0.01979777216911316 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11374147981405258 }, "else": { "operation": "boost", "score": 0.05615615099668503 } } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13151676952838898 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.053425226360559464 }, "else": { "operation": "boost", "score": -0.0641317218542099 } } }, "else": { "operation": "boost", "score": -0.02911890670657158 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.380952388048172, "then": { "operation": "boost", "score": 0.14470094442367554 }, "else": { "operation": "boost", "score": 0.021554289385676384 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.031040946021676064 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": -0.19048035144805908 }, "else": { "operation": "boost", "score": 0.30108898878097534 } } }, "else": { "operation": "boost", "score": -0.39861780405044556 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.14975062012672424 }, "else": { "operation": "boost", "score": 0.041704609990119934 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.759615421295166, "then": { "operation": "boost", "score": 0.01793220080435276 }, "else": { "operation": "boost", "score": 0.15009905397891998 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.024139923974871635 }, "else": { "operation": "boost", "score": -0.08773264288902283 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04993785172700882 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.09051977843046188 }, "else": { "operation": "boost", "score": 0.0009720955858938396 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.20130555331707 }, "else": { "operation": "boost", "score": 0.0405302494764328 } }, "else": { "operation": "boost", "score": -0.1066398173570633 } }, "else": { "operation": "boost", "score": 0.013242166489362717 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08424089848995209 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.005720091983675957 }, "else": { "operation": "boost", "score": 0.025738254189491272 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.09166688472032547 }, "else": { "operation": "boost", "score": 0.11753039062023163 } }, "else": { "operation": "boost", "score": -0.5832440257072449 } }, "else": { "operation": "boost", "score": 0.02776613086462021 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23137183487415314 }, "else": { "operation": "boost", "score": -0.021756792441010475 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0345071405172348 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07945450395345688 }, "else": { "operation": "boost", "score": -0.028893083333969116 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.12271413952112198 }, "else": { "operation": "boost", "score": -0.14297640323638916 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.02707427553832531 }, "else": { "operation": "boost", "score": 0.002292707795277238 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0003334670327603817 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.15001502633094788 }, "else": { "operation": "boost", "score": 0.008839649148285389 } }, "else": { "operation": "boost", "score": -0.017111506313085556 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.06043237820267677 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.05340857803821564 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1661195009946823 }, "else": { "operation": "boost", "score": 0.2365456223487854 } }, "else": { "operation": "boost", "score": 0.25364044308662415 } }, "else": { "operation": "boost", "score": -0.10036366432905197 } }, "else": { "operation": "boost", "score": 0.2620154321193695 } }, "else": { "operation": "boost", "score": -0.026346305385231972 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.23429518938064575 }, "else": { "operation": "boost", "score": -0.10045656561851501 } } }, "else": { "operation": "boost", "score": 0.20050984621047974 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.6688527464866638 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.2688146233558655 }, "else": { "operation": "boost", "score": 0.4417293667793274 } } }, "else": { "operation": "boost", "score": 0.0005499468534253538 } } } }, "else": { "operation": "boost", "score": -0.02891518548130989 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07914672791957855 }, "else": { "operation": "boost", "score": 0.1205822229385376 } }, "else": { "operation": "boost", "score": -0.008967039175331593 } } } }, "else": { "operation": "boost", "score": -0.0007129230070859194 } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021289465948939323 }, "else": { "operation": "boost", "score": 0.04813183471560478 } }, "else": { "operation": "boost", "score": 0.008722607977688313 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03196931257843971 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.0388345830142498 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.1403297632932663 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.10058129578828812 }, "else": { "operation": "boost", "score": 0.1507526934146881 } } }, "else": { "operation": "boost", "score": 0.08814200013875961 } } } }, "else": { "operation": "boost", "score": -0.00463229650631547 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.013011770322918892 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.03736163675785065 }, "else": { "operation": "boost", "score": 0.012584757059812546 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.009693634696304798 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.007768656127154827 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3266.0, "then": { "operation": "boost", "score": -0.21597322821617126 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 194.5, "then": { "operation": "boost", "score": 0.06333497166633606 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.0, "then": { "operation": "boost", "score": -0.2686040699481964 }, "else": { "operation": "boost", "score": 0.020858528092503548 } } } } }, "else": { "operation": "boost", "score": -0.002870124764740467 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.02305787429213524 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10299888998270035 }, "else": { "operation": "boost", "score": -0.07501830905675888 } }, "else": { "operation": "boost", "score": 0.011696655303239822 } }, "else": { "operation": "boost", "score": -0.012627852149307728 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07909845560789108 }, "else": { "operation": "boost", "score": 0.007701096590608358 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04717300087213516 }, "else": { "operation": "boost", "score": 0.016364237293601036 } }, "else": { "operation": "boost", "score": -0.029769698157906532 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03574002534151077 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.03720804676413536 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09676289558410645 }, "else": { "operation": "boost", "score": -0.12819336354732513 } }, "else": { "operation": "boost", "score": -0.012826674617826939 } }, "else": { "operation": "boost", "score": -0.0016799484146758914 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.007233025971800089 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04653679579496384, "then": { "operation": "boost", "score": 0.0021035431418567896 }, "else": { "operation": "boost", "score": 0.36885330080986023 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00250615063123405 }, "else": { "operation": "boost", "score": 0.019408751279115677 } } }, "else": { "operation": "boost", "score": 0.00034316390519961715 } }, "else": { "operation": "boost", "score": -0.14194801449775696 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9642857313156128, "then": { "operation": "boost", "score": 0.029889285564422607 }, "else": { "operation": "boost", "score": -0.004219105001538992 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.027407174929976463 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.030550338327884674 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08387797325849533 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.18990787863731384 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.09325748682022095 }, "else": { "operation": "boost", "score": 0.11865591257810593 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.04514555633068085 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.5995609164237976 }, "else": { "operation": "boost", "score": -0.005585966631770134 } } }, "else": { "operation": "boost", "score": 0.06471025198698044 } } }, "else": { "operation": "boost", "score": -0.01606784760951996 } }, "else": { "operation": "boost", "score": 0.043267473578453064 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 2.9682785680051893e-05 }, "else": { "operation": "boost", "score": -0.021694660186767578 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0011096142698079348 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1809931993484497 }, "else": { "operation": "boost", "score": 0.37391752004623413 } }, "else": { "operation": "boost", "score": 0.012132161296904087 } }, "else": { "operation": "boost", "score": 0.002250427845865488 } }, "else": { "operation": "boost", "score": 0.012916183099150658 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "boost", "score": 0.08849387615919113 }, "else": { "operation": "boost", "score": 0.6290426254272461 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.011594762094318867 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.08957874029874802 }, "else": { "operation": "boost", "score": 0.1128256618976593 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11992846429347992 }, "else": { "operation": "boost", "score": -0.151677206158638 } } }, "else": { "operation": "boost", "score": 0.04608972743153572 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011845405213534832 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.00047763067414052784 }, "else": { "operation": "boost", "score": -0.09927154332399368 } } }, "else": { "operation": "boost", "score": 0.009030444547533989 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.05664996802806854 }, "else": { "operation": "boost", "score": 0.06459620594978333 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276.0, "then": { "operation": "boost", "score": -6.421474972739816e-05 }, "else": { "operation": "boost", "score": 0.1295892894268036 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18944041430950165 }, "else": { "operation": "boost", "score": 0.10885797441005707 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021705687046051025 }, "else": { "operation": "boost", "score": -0.04971541464328766 } } } }, "else": { "operation": "boost", "score": 0.00564919039607048 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.13497887551784515 }, "else": { "operation": "boost", "score": 0.20541535317897797 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.14630739390850067 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10031972825527191 }, "else": { "operation": "boost", "score": 0.025934861972928047 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05843352526426315 }, "else": { "operation": "boost", "score": 0.002735552843660116 } } }, "else": { "operation": "boost", "score": -0.013043341226875782 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009635462425649166 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.06777402758598328 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.04564666375517845 }, "else": { "operation": "boost", "score": 0.029902903363108635 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12425476312637329 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.37651821970939636, "then": { "operation": "boost", "score": -0.09118859469890594 }, "else": { "operation": "boost", "score": -0.00478961830958724 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.015540018677711487 }, "else": { "operation": "boost", "score": 0.22765497863292694 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22252747416496277, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1307.5, "then": { "operation": "boost", "score": 0.0878395214676857 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 956.5, "then": { "operation": "boost", "score": -0.3074185848236084 }, "else": { "operation": "boost", "score": -0.02478114701807499 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3545428216457367 }, "else": { "operation": "boost", "score": 0.045554932206869125 } }, "else": { "operation": "boost", "score": -0.09909647703170776 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10001669824123383 }, "else": { "operation": "boost", "score": -0.09095434099435806 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004216144327074289 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0002822509268298745 }, "else": { "operation": "boost", "score": 0.13845087587833405 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.07011692970991135 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1149551123380661 }, "else": { "operation": "boost", "score": 0.11281303316354752 } } }, "else": { "operation": "boost", "score": 0.04590274766087532 } }, "else": { "operation": "boost", "score": 0.03929777815937996 } } }, "else": { "operation": "boost", "score": -0.01634824089705944 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.010414487682282925 }, "else": { "operation": "boost", "score": -0.0128306420519948 } }, "else": { "operation": "boost", "score": 0.0012367627350613475 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04446640610694885, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008504435420036316 }, "else": { "operation": "boost", "score": -0.003987138159573078 } }, "else": { "operation": "boost", "score": -0.00401657959446311 } }, "else": { "operation": "boost", "score": 0.0976591408252716 } } } }, "else": { "operation": "boost", "score": -0.0008327829418703914 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006493689492344856 }, "else": { "operation": "boost", "score": 0.0015812547644600272 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 366.0, "then": { "operation": "boost", "score": 0.13011257350444794 }, "else": { "operation": "boost", "score": 0.1423938274383545 } }, "else": { "operation": "boost", "score": 0.023511674255132675 } }, "else": { "operation": "boost", "score": 0.0002622609317768365 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1617567241191864 }, "else": { "operation": "boost", "score": 0.009257437661290169 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10071814060211182 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.16139113903045654 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06313807517290115 }, "else": { "operation": "boost", "score": 0.0379500538110733 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0163123719394207 }, "else": { "operation": "boost", "score": -0.16078294813632965 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 141.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.05684657394886017 }, "else": { "operation": "boost", "score": -0.1857578605413437 } }, "else": { "operation": "boost", "score": 0.0012079450534656644 } }, "else": { "operation": "boost", "score": -0.11026198416948318 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009758652187883854 }, "else": { "operation": "boost", "score": -0.03513643518090248 } }, "else": { "operation": "boost", "score": 0.00817959662526846 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.021007856354117393 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.0012846138561144471 }, "else": { "operation": "boost", "score": 0.025247899815440178 } }, "else": { "operation": "boost", "score": 0.023792706429958344 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.012947232462465763 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.027929259464144707 }, "else": { "operation": "boost", "score": -0.028111878782510757 } }, "else": { "operation": "boost", "score": 0.11219681799411774 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.1142905205488205 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": -0.07304318249225616 }, "else": { "operation": "boost", "score": -0.7323216199874878 } }, "else": { "operation": "boost", "score": -0.029716484248638153 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.04278147965669632 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.007514358032494783 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.15295076370239258 }, "else": { "operation": "boost", "score": 0.058344610035419464 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.004197319038212299 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.004172727465629578 }, "else": { "operation": "boost", "score": -0.013509847223758698 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.009997456334531307 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08313433825969696 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.15989114344120026 }, "else": { "operation": "boost", "score": -0.32528579235076904 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.016218550503253937 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011225437745451927 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.012678139843046665 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.01102792751044035 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.06731051206588745 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131.0, "then": { "operation": "boost", "score": 0.20604580640792847 }, "else": { "operation": "boost", "score": 0.23384127020835876 } }, "else": { "operation": "boost", "score": -0.11767412722110748 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 128.5, "then": { "operation": "boost", "score": -0.057466521859169006 }, "else": { "operation": "boost", "score": 0.10215329378843307 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.030609123408794403 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.028927866369485855 }, "else": { "operation": "boost", "score": -0.06072014570236206 } } } } } } } }, "else": { "operation": "boost", "score": -0.006768969818949699 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.04034961387515068 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.05518792197108269 }, "else": { "operation": "boost", "score": -0.05539511516690254 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.12793363630771637 }, "else": { "operation": "boost", "score": -0.017926055938005447 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.09289288520812988 }, "else": { "operation": "boost", "score": -0.06846068054437637 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.0983048677444458 }, "else": { "operation": "boost", "score": 0.00023891753517091274 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.05462288111448288 }, "else": { "operation": "boost", "score": 0.13155803084373474 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.00428219698369503 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": -0.03920314833521843 }, "else": { "operation": "boost", "score": 0.09884340316057205 } }, "else": { "operation": "boost", "score": 0.04947160184383392 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -6.965250492095947 }, "else": { "operation": "boost", "score": -0.06201751530170441 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011007539927959442 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1219949722290039 }, "else": { "operation": "boost", "score": -0.03880688175559044 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.11485811322927475 }, "else": { "operation": "boost", "score": 0.07221674174070358 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.02663453482091427 }, "else": { "operation": "boost", "score": 0.04934520274400711 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03696814924478531 }, "else": { "operation": "boost", "score": -0.22175000607967377 } } } }, "else": { "operation": "boost", "score": 0.0031228982843458652 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.04738541319966316 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.1376953125 }, "else": { "operation": "boost", "score": 0.182562917470932 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.180008664727211 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.13560718297958374 }, "else": { "operation": "boost", "score": 0.1330985426902771 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07254991680383682 }, "else": { "operation": "boost", "score": -0.26436570286750793 } } } }, "else": { "operation": "boost", "score": 0.015702946111559868 } }, "else": { "operation": "boost", "score": -0.0022044179495424032 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0052872877568006516 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0011330160778015852 }, "else": { "operation": "boost", "score": -0.12039345502853394 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.02153114043176174 }, "else": { "operation": "boost", "score": -0.03777686506509781 } }, "else": { "operation": "boost", "score": 0.00037907843943685293 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.05244787409901619 }, "else": { "operation": "boost", "score": -0.03489379957318306 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0167599655687809 }, "else": { "operation": "boost", "score": -0.029007496312260628 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.03618680685758591 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.1010453924536705 }, "else": { "operation": "boost", "score": 0.018803153187036514 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.08096402883529663 }, "else": { "operation": "boost", "score": 0.013602769002318382 } } }, "else": { "operation": "boost", "score": -0.04269365221261978 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.01869354583323002 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.021848097443580627 }, "else": { "operation": "boost", "score": 0.06903199851512909 } } }, "else": { "operation": "boost", "score": -0.07583041489124298 } }, "else": { "operation": "boost", "score": -0.10961497575044632 } } } } } } } }, "else": { "operation": "boost", "score": -0.0008896253420971334 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0005709349061362445 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.018628571182489395 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07194487005472183 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.2638489007949829 }, "else": { "operation": "boost", "score": 0.10925175994634628 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 139.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.21323180198669434 }, "else": { "operation": "boost", "score": 0.05876857042312622 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": 0.028884708881378174 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.015910757705569267 }, "else": { "operation": "boost", "score": -0.006550749763846397 } } }, "else": { "operation": "boost", "score": 0.0021744119003415108 } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17419840395450592 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06320279091596603 }, "else": { "operation": "boost", "score": 0.0060021583922207355 } } }, "else": { "operation": "boost", "score": 0.0018558921292424202 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 323356.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04144292324781418 }, "else": { "operation": "boost", "score": -0.000800419831648469 } }, "else": { "operation": "boost", "score": -0.06254804879426956 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.04144161567091942 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.054580021649599075 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.22081619501113892 }, "else": { "operation": "boost", "score": -0.08280866593122482 } } }, "else": { "operation": "boost", "score": 0.019331850111484528 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.042543381452560425 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "boost", "score": -0.004616320598870516 }, "else": { "operation": "boost", "score": 0.02188146486878395 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.1499992460012436 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1548699587583542 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.17889167368412018 }, "else": { "operation": "boost", "score": 0.11659363657236099 } } }, "else": { "operation": "boost", "score": -0.14876192808151245 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.05720817670226097 }, "else": { "operation": "boost", "score": 0.025385640561580658 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.16323375701904297 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.057196229696273804 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "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": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.056966252624988556 }, "else": { "operation": "boost", "score": 0.15004171431064606 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9027777910232544, "then": { "operation": "boost", "score": -0.18732111155986786 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.05373595654964447 }, "else": { "operation": "boost", "score": 0.13503971695899963 } }, "else": { "operation": "boost", "score": 0.02247055061161518 } }, "else": { "operation": "boost", "score": 0.022180788218975067 } }, "else": { "operation": "boost", "score": 0.136910542845726 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.06152771785855293 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08117244392633438 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.058834925293922424 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": -1.5612088441848755 }, "else": { "operation": "boost", "score": -0.13439875841140747 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 89.5, "then": { "operation": "boost", "score": 0.11517967283725739 }, "else": { "operation": "boost", "score": 0.11340374499559402 } }, "else": { "operation": "boost", "score": 0.03386314958333969 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4833333492279053, "then": { "operation": "boost", "score": -0.10392909497022629 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.10372719168663025 }, "else": { "operation": "boost", "score": 0.03465738892555237 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": -1.4701908826828003 }, "else": { "operation": "boost", "score": 0.012567562982439995 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.15491770207881927 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.051053356379270554 }, "else": { "operation": "boost", "score": -0.008471393026411533 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05147877708077431 }, "else": { "operation": "boost", "score": -0.49180540442466736 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.03830215707421303 }, "else": { "operation": "boost", "score": -0.47525709867477417 } }, "else": { "operation": "boost", "score": -0.05973496660590172 } } } }, "else": { "operation": "boost", "score": -0.02012339048087597 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004640114028006792 }, "else": { "operation": "boost", "score": -0.004080628044903278 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023411495611071587 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.039496440440416336 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.09809743613004684 }, "else": { "operation": "boost", "score": 0.06178741529583931 } } } }, "else": { "operation": "boost", "score": 0.0018873723456636071 } }, "else": { "operation": "boost", "score": -0.013065896928310394 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00231960229575634 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 336.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 338.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04624702408909798 }, "else": { "operation": "boost", "score": 0.12765023112297058 } }, "else": { "operation": "boost", "score": 0.1629762202501297 } }, "else": { "operation": "boost", "score": 0.05949005112051964 } } }, "else": { "operation": "boost", "score": 0.0015173029387369752 } }, "else": { "operation": "boost", "score": 0.05010247975587845 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105656.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.3911207616329193 }, "else": { "operation": "boost", "score": 0.10520221292972565 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 126.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 140.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.10507892817258835 }, "else": { "operation": "boost", "score": 0.20703816413879395 } }, "else": { "operation": "boost", "score": 0.3736547529697418 } }, "else": { "operation": "boost", "score": 0.059659335762262344 } }, "else": { "operation": "boost", "score": 0.038809869438409805 } }, "else": { "operation": "boost", "score": -0.003320480464026332 } } } }, "else": { "operation": "boost", "score": 0.00153782544657588 } }, "else": { "operation": "boost", "score": -0.054987262934446335 } }, "else": { "operation": "boost", "score": -0.0018115566344931722 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4724.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4809.0, "then": { "operation": "boost", "score": 0.009852765128016472 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4777.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.14969991147518158 }, "else": { "operation": "boost", "score": 0.06837885826826096 } }, "else": { "operation": "boost", "score": 0.07433426380157471 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0027836300432682037 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.06237965449690819 }, "else": { "operation": "boost", "score": -0.6220019459724426 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.12104736268520355 }, "else": { "operation": "boost", "score": 0.023423193022608757 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.14159025251865387 }, "else": { "operation": "boost", "score": -0.1621713787317276 } } }, "else": { "operation": "boost", "score": 0.012696435675024986 } }, "else": { "operation": "boost", "score": -0.003472334938123822 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.07794781029224396 }, "else": { "operation": "boost", "score": -0.15954633057117462 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003309168154373765 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.34167471528053284 }, "else": { "operation": "boost", "score": 0.1183452233672142 } }, "else": { "operation": "boost", "score": -0.04812595993280411 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": -0.046059537678956985 }, "else": { "operation": "boost", "score": -0.3691386580467224 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "boost", "score": 0.0649876669049263 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3741258978843689, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4833333492279053, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.029227694496512413 }, "else": { "operation": "boost", "score": -0.08733619004487991 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.06513593345880508 }, "else": { "operation": "boost", "score": -0.056975219398736954 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4409722089767456, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10068166255950928 }, "else": { "operation": "boost", "score": -0.24691852927207947 } }, "else": { "operation": "boost", "score": 0.013338809832930565 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1037105992436409 }, "else": { "operation": "boost", "score": 0.04939659684896469 } } }, "else": { "operation": "boost", "score": 0.0036875875666737556 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1261850744485855 }, "else": { "operation": "boost", "score": 0.012605036608874798 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 813.0, "then": { "operation": "boost", "score": 0.04042644053697586 }, "else": { "operation": "boost", "score": -0.00936864223331213 } } }, "else": { "operation": "boost", "score": 0.009843421168625355 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_PreprocessorExpression" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13525941967964172 }, "else": { "operation": "boost", "score": 0.01956038363277912 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3041.0, "then": { "operation": "boost", "score": 0.12599650025367737 }, "else": { "operation": "boost", "score": 0.023389771580696106 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.09373614192008972 }, "else": { "operation": "boost", "score": 0.03519447520375252 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.017736777663230896 }, "else": { "operation": "boost", "score": -0.00872237142175436 } } } } }, "else": { "operation": "boost", "score": 0.0010559739312157035 } } } }, "else": { "operation": "boost", "score": -0.095174141228199 } } } } } }, "else": { "operation": "boost", "score": -0.09824693202972412 } } } } } } } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11238609254360199 }, "else": { "operation": "boost", "score": 0.020094478502869606 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07653362303972244 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07166194170713425 }, "else": { "operation": "boost", "score": 0.02872108481824398 } } } }, "else": { "operation": "boost", "score": 0.007089162245392799 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007105841767042875 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.004017098806798458 }, "else": { "operation": "boost", "score": -0.01637124828994274 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.0018834793008863926 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.06825366616249084 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04815775528550148 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.06319216638803482 }, "else": { "operation": "boost", "score": 0.09643866866827011 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": -0.07526816427707672 }, "else": { "operation": "boost", "score": -0.19727978110313416 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.03338524326682091 }, "else": { "operation": "boost", "score": -1.1286765336990356 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.12011604011058807 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.019141942262649536 }, "else": { "operation": "boost", "score": 0.13959041237831116 } } } }, "else": { "operation": "boost", "score": 0.04565109312534332 } }, "else": { "operation": "boost", "score": -0.0736427754163742 } }, "else": { "operation": "boost", "score": -0.021803461015224457 } } }, "else": { "operation": "boost", "score": 0.020942602306604385 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03802942484617233 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2788461446762085, "then": { "operation": "boost", "score": 0.12329541146755219 }, "else": { "operation": "boost", "score": -0.05501777306199074 } }, "else": { "operation": "boost", "score": 0.12181895226240158 } } }, "else": { "operation": "boost", "score": -0.019652515649795532 } }, "else": { "operation": "boost", "score": 0.025652481243014336 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.01863601803779602 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "boost", "score": 0.004112062510102987 }, "else": { "operation": "boost", "score": -0.0221867598593235 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6794872283935547, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.009781556203961372 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.12936371564865112 }, "else": { "operation": "boost", "score": 0.034450046718120575 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.5113992691040039 }, "else": { "operation": "boost", "score": 0.11033952236175537 } } }, "else": { "operation": "boost", "score": 0.0213338490575552 } }, "else": { "operation": "boost", "score": -0.0002539501874707639 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.343137264251709, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.5, "then": { "operation": "boost", "score": 0.06378896534442902 }, "else": { "operation": "boost", "score": 0.11923610419034958 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.04035573825240135 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.09656748920679092 }, "else": { "operation": "boost", "score": 0.12042906880378723 } } }, "else": { "operation": "boost", "score": 0.017200559377670288 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.015862487256526947 }, "else": { "operation": "boost", "score": -0.08439627289772034 } } }, "else": { "operation": "boost", "score": 0.020548637956380844 } } }, "else": { "operation": "boost", "score": -0.03001166321337223 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.018463239073753357 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.014806232415139675 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03109312243759632 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0357554629445076 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.008853365667164326 }, "else": { "operation": "boost", "score": 0.026072870939970016 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.011427718214690685 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011451204307377338 }, "else": { "operation": "boost", "score": -0.546181857585907 } }, "else": { "operation": "boost", "score": -0.07365074008703232 } } } } } }, "else": { "operation": "boost", "score": 0.005529902875423431 } }, "else": { "operation": "boost", "score": 0.1260966658592224 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.01939358003437519 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.08443521708250046 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.10568385571241379 }, "else": { "operation": "boost", "score": 0.04364785924553871 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.024261794984340668 }, "else": { "operation": "boost", "score": -0.19520336389541626 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.004023315850645304 }, "else": { "operation": "boost", "score": 0.013336907140910625 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.009834044612944126 }, "else": { "operation": "boost", "score": -0.008008151315152645 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.006185967940837145 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5430.5, "then": { "operation": "boost", "score": 0.0002369472204009071 }, "else": { "operation": "boost", "score": 0.03470873460173607 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.00899704173207283 }, "else": { "operation": "boost", "score": 0.010464057326316833 } } } } }, "else": { "operation": "boost", "score": -0.004049049690365791 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3158.0, "then": { "operation": "boost", "score": 0.042060788720846176 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.047558773308992386 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.03397883474826813 }, "else": { "operation": "boost", "score": 0.005434026475995779 } } } }, "else": { "operation": "boost", "score": -0.03906036168336868 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0030620230827480555 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2405.5, "then": { "operation": "boost", "score": 0.06455560773611069 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02400975488126278 }, "else": { "operation": "boost", "score": 0.12228383123874664 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.04123006388545036 }, "else": { "operation": "boost", "score": 0.02873258665204048 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009252536110579967 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.18867909908294678 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.01782154105603695 }, "else": { "operation": "boost", "score": 0.0062348204664886 } }, "else": { "operation": "boost", "score": -0.02597801946103573 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.06941306591033936 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 413.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12414.0, "then": { "operation": "boost", "score": 0.25358492136001587 }, "else": { "operation": "boost", "score": -0.47656476497650146 } }, "else": { "operation": "boost", "score": 0.012638699263334274 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.016309447586536407 }, "else": { "operation": "boost", "score": -0.05812457203865051 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "boost", "score": 0.03728695586323738 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.1379023641347885 }, "else": { "operation": "boost", "score": -0.05807052552700043 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.11288735270500183 }, "else": { "operation": "boost", "score": 0.053805604577064514 } } }, "else": { "operation": "boost", "score": -0.04062999039888382 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.028144896030426025 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.010471196845173836 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09732396900653839 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.06484860181808472 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.004076449200510979 }, "else": { "operation": "boost", "score": 0.12681223452091217 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.014824877493083477 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.06274145841598511 }, "else": { "operation": "boost", "score": 0.014407742768526077 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.030505545437335968 }, "else": { "operation": "boost", "score": -0.026144856587052345 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.06274736672639847 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.12709949910640717 }, "else": { "operation": "boost", "score": 0.16336943209171295 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.012452660128474236 }, "else": { "operation": "boost", "score": 0.05746909976005554 } } } } } }, "else": { "operation": "boost", "score": -0.035968415439128876 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014468175359070301 }, "else": { "operation": "boost", "score": -0.005608795676380396 } }, "else": { "operation": "boost", "score": -0.024104272946715355 } } }, "else": { "operation": "boost", "score": -0.0006382806459441781 } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83772.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104000.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143594.0, "then": { "operation": "boost", "score": -0.06335800886154175 }, "else": { "operation": "boost", "score": -0.5737907886505127 } }, "else": { "operation": "boost", "score": 0.03885587677359581 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "boost", "score": 0.09810435026884079 }, "else": { "operation": "boost", "score": 0.07233943790197372 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "boost", "score": 0.0019470562692731619 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1566171646118164 }, "else": { "operation": "boost", "score": 0.045549388974905014 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06283995509147644 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.028703797608613968 }, "else": { "operation": "boost", "score": -0.08763261884450912 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06430355459451675 }, "else": { "operation": "boost", "score": -0.15241718292236328 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.0, "then": { "operation": "boost", "score": 0.019264815375208855 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17199723422527313 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0839160829782486, "then": { "operation": "boost", "score": 0.11879970878362656 }, "else": { "operation": "boost", "score": 0.07015257328748703 } } } } }, "else": { "operation": "boost", "score": -0.06888286024332047 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08612290024757385 }, "else": { "operation": "boost", "score": 0.004121131729334593 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.004962845705449581 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.08300302922725677 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07737801223993301 }, "else": { "operation": "boost", "score": 0.12306094169616699 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07143149524927139 }, "else": { "operation": "boost", "score": -0.34893688559532166 } } }, "else": { "operation": "boost", "score": 0.029557837173342705 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212.0, "then": { "operation": "boost", "score": 0.13083603978157043 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02042856626212597 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.04864117503166199 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0773809552192688, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10356160998344421 }, "else": { "operation": "boost", "score": 0.005490880459547043 } }, "else": { "operation": "boost", "score": -0.08141852170228958 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0010617828229442239 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.13769520819187164 }, "else": { "operation": "boost", "score": 0.14867845177650452 } } }, "else": { "operation": "boost", "score": -0.11117088049650192 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.14181700348854065 }, "else": { "operation": "boost", "score": 0.062158603221178055 } }, "else": { "operation": "boost", "score": 0.0067311543971300125 } } } } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03760036826133728 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.018853511661291122 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12133433669805527 }, "else": { "operation": "boost", "score": 0.06592462211847305 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.105338454246521 }, "else": { "operation": "boost", "score": -0.01345216017216444 } } }, "else": { "operation": "boost", "score": -0.011651336215436459 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.0036225328221917152 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 827.5, "then": { "operation": "boost", "score": 0.01930350251495838 }, "else": { "operation": "boost", "score": -0.10742127895355225 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06096611171960831 }, "else": { "operation": "boost", "score": 0.05055908486247063 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.009391154162585735 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.105026014149189 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.0031802672892808914 }, "else": { "operation": "boost", "score": 0.1323307305574417 } } }, "else": { "operation": "boost", "score": 0.004829050973057747 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.34812799096107483 }, "else": { "operation": "boost", "score": 0.06637561321258545 } } } }, "else": { "operation": "boost", "score": -0.05471741408109665 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7394.5, "then": { "operation": "boost", "score": 0.03306485712528229 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5761.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -1.0780378580093384 }, "else": { "operation": "boost", "score": -0.55006343126297 } }, "else": { "operation": "boost", "score": -0.058809760957956314 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.01203928142786026 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.02501862868666649 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06926180422306061 }, "else": { "operation": "boost", "score": -0.002700967714190483 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0010315966792404652 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.1636299043893814 }, "else": { "operation": "boost", "score": -0.36023908853530884 } }, "else": { "operation": "boost", "score": -0.015244640409946442 } } }, "else": { "operation": "boost", "score": 0.005801152903586626 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "boost", "score": -0.022358234971761703 }, "else": { "operation": "boost", "score": -0.11327558010816574 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60738.0, "then": { "operation": "boost", "score": 0.14883174002170563 }, "else": { "operation": "boost", "score": 0.03469937667250633 } }, "else": { "operation": "boost", "score": 0.000803205359261483 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36980.0, "then": { "operation": "boost", "score": 0.02139766700565815 }, "else": { "operation": "boost", "score": -0.059100281447172165 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02726205810904503 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10075.0, "then": { "operation": "boost", "score": -0.05798531323671341 }, "else": { "operation": "boost", "score": 0.12502330541610718 } }, "else": { "operation": "boost", "score": 0.009737773798406124 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.0, "then": { "operation": "boost", "score": -0.02569579891860485 }, "else": { "operation": "boost", "score": -0.10695858299732208 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07410869747400284 }, "else": { "operation": "boost", "score": -0.3387572169303894 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008710064925253391 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 412.5, "then": { "operation": "boost", "score": 0.006405914667993784 }, "else": { "operation": "boost", "score": -0.6995878219604492 } }, "else": { "operation": "boost", "score": -0.0913417637348175 } } }, "else": { "operation": "boost", "score": 0.013663643039762974 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "boost", "score": -0.2796494662761688 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.10667972266674042 }, "else": { "operation": "boost", "score": 0.1328619122505188 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.04475310444831848 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.0, "then": { "operation": "boost", "score": 0.09675250947475433 }, "else": { "operation": "boost", "score": 0.18434949219226837 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008199287578463554 }, "else": { "operation": "boost", "score": 0.0474553108215332 } } } }, "else": { "operation": "boost", "score": 0.0035067100543528795 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.12839217483997345 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0019802870228886604 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03411813825368881 }, "else": { "operation": "boost", "score": -0.009473097510635853 } }, "else": { "operation": "boost", "score": 0.0019824530463665724 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.12222307175397873 }, "else": { "operation": "boost", "score": -0.14956089854240417 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4724.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4809.0, "then": { "operation": "boost", "score": 0.011661228723824024 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4777.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.17665530741214752 }, "else": { "operation": "boost", "score": 0.10395807772874832 } }, "else": { "operation": "boost", "score": 0.07540139555931091 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030999984592199326 }, "else": { "operation": "boost", "score": -0.0008582552545703948 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.13271848857402802 }, "else": { "operation": "boost", "score": -0.023788336664438248 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.012718942947685719 }, "else": { "operation": "boost", "score": -0.12230315804481506 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06591590493917465 }, "else": { "operation": "boost", "score": 0.007218272890895605 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.12837038934230804 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3311.0, "then": { "operation": "boost", "score": -0.22690457105636597 }, "else": { "operation": "boost", "score": 0.021114332601428032 } } }, "else": { "operation": "boost", "score": 0.003324672346934676 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0037011802196502686 }, "else": { "operation": "boost", "score": -0.12366608530282974 } } } }, "else": { "operation": "boost", "score": -0.0002226712240371853 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.1632150262594223 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.10785268247127533 }, "else": { "operation": "boost", "score": -0.17915482819080353 } } }, "else": { "operation": "boost", "score": 0.00519005861133337 } }, "else": { "operation": "boost", "score": 0.001988952048122883 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0001779713056748733 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "boost", "score": 0.016888229176402092 }, "else": { "operation": "boost", "score": 0.008322419598698616 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.01993325725197792 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.22358287870883942 }, "else": { "operation": "boost", "score": 0.004166717641055584 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0019696007948368788 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.008471250534057617 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.10946565121412277 }, "else": { "operation": "boost", "score": 0.12108208984136581 } }, "else": { "operation": "boost", "score": 0.04733788222074509 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.3117411434650421 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.09031153470277786 }, "else": { "operation": "boost", "score": -0.2695808410644531 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.13307377696037292 }, "else": { "operation": "boost", "score": 0.05689319595694542 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.07672062516212463 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.3267916440963745 }, "else": { "operation": "boost", "score": -0.03726831451058388 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.1661318838596344 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.13993531465530396 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.05990537256002426 }, "else": { "operation": "boost", "score": 0.06402098387479782 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -6.2094645500183105 }, "else": { "operation": "boost", "score": -0.017373323440551758 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.01267552375793457 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0334184467792511 }, "else": { "operation": "boost", "score": -0.015059729106724262 } }, "else": { "operation": "boost", "score": 0.0488244891166687 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.0921393409371376 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 593702.0, "then": { "operation": "boost", "score": -0.3295174837112427 }, "else": { "operation": "boost", "score": 0.02113582193851471 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.013316758908331394 }, "else": { "operation": "boost", "score": -0.139473557472229 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010212486609816551 }, "else": { "operation": "boost", "score": -0.0007048065308481455 } } } }, "else": { "operation": "boost", "score": 0.11969831585884094 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10916.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17828.0, "then": { "operation": "boost", "score": 0.010050454176962376 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17717.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.13802367448806763 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.15653443336486816 }, "else": { "operation": "boost", "score": 0.15544553101062775 } } }, "else": { "operation": "boost", "score": 0.15717773139476776 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.08278954029083252 }, "else": { "operation": "boost", "score": 0.0016144493129104376 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006078989710658789 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.021546095609664917 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.024547496810555458 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.07914910465478897 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.0929967612028122 }, "else": { "operation": "boost", "score": 0.03879566863179207 } } }, "else": { "operation": "boost", "score": 0.003545230720192194 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.06879006326198578 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.09389780461788177 }, "else": { "operation": "boost", "score": 0.011562252417206764 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.01178657915443182 }, "else": { "operation": "boost", "score": -0.007153646554797888 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00857981014996767 }, "else": { "operation": "boost", "score": 0.028658321127295494 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.05853233486413956 }, "else": { "operation": "boost", "score": -1.0194538831710815 } }, "else": { "operation": "boost", "score": -0.005921339616179466 } }, "else": { "operation": "boost", "score": 0.010399299673736095 } } } }, "else": { "operation": "boost", "score": -0.008765424601733685 } } }, "else": { "operation": "boost", "score": -0.010986566543579102 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0023805592209100723 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006091568153351545 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0602777823805809 }, "else": { "operation": "boost", "score": 0.026097353547811508 } } }, "else": { "operation": "boost", "score": -0.06459184736013412 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1937878131866455 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12524735927581787 }, "else": { "operation": "boost", "score": 0.022244293242692947 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0028077003080397844 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.10162149369716644 }, "else": { "operation": "boost", "score": -0.014357154257595539 } } }, "else": { "operation": "boost", "score": -0.09541778266429901 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2663.0, "then": { "operation": "boost", "score": -0.12736015021800995 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2531.5, "then": { "operation": "boost", "score": 0.13039375841617584 }, "else": { "operation": "boost", "score": 0.0047057741321623325 } } } } } }, "else": { "operation": "boost", "score": 0.022459451109170914 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.013539246283471584 }, "else": { "operation": "boost", "score": 0.09650299698114395 } }, "else": { "operation": "boost", "score": -0.2147361785173416 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.3263503313064575 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.05967872962355614 }, "else": { "operation": "boost", "score": -0.37373000383377075 } } }, "else": { "operation": "boost", "score": 0.05060591921210289 } }, "else": { "operation": "boost", "score": -0.07721266895532608 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.040496814996004105 }, "else": { "operation": "boost", "score": -0.0045267450623214245 } }, "else": { "operation": "boost", "score": -0.030037201941013336 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.0553273968398571 }, "else": { "operation": "boost", "score": 0.01117137260735035 } } } } } } } }, "else": { "operation": "boost", "score": -0.008206377737224102 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0034218274522572756 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011027421802282333 }, "else": { "operation": "boost", "score": -0.1546860933303833 } } }, "else": { "operation": "boost", "score": 0.00018971998360939324 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.017215432599186897 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07005009800195694 }, "else": { "operation": "boost", "score": 0.10820269584655762 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.02151675894856453 }, "else": { "operation": "boost", "score": 0.03868945688009262 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01720256730914116 }, "else": { "operation": "boost", "score": 0.022854700684547424 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.025057082995772362 }, "else": { "operation": "boost", "score": -0.2068641632795334 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003796959761530161 }, "else": { "operation": "boost", "score": 0.0241637472063303 } }, "else": { "operation": "boost", "score": 0.007984207011759281 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.012657398357987404 }, "else": { "operation": "boost", "score": -0.010409476235508919 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.035366930067539215 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.5, "then": { "operation": "boost", "score": 0.028208432719111443 }, "else": { "operation": "boost", "score": -0.0006842185975983739 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.02041168138384819 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": -0.2217353731393814 }, "else": { "operation": "boost", "score": 0.07504748553037643 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03373274952173233 }, "else": { "operation": "boost", "score": 0.03813846781849861 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.16652703285217285 }, "else": { "operation": "boost", "score": -0.07918111234903336 } } } } }, "else": { "operation": "boost", "score": -0.0009959019953384995 } } } } } }, { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019924568012356758 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.005444488488137722 }, "else": { "operation": "boost", "score": 0.001756542013026774 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08740735054016113 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.043348006904125214 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.0034615076147019863 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.11726447194814682 }, "else": { "operation": "boost", "score": 0.08235105872154236 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.07420490682125092 }, "else": { "operation": "boost", "score": 0.07687977701425552 } } }, "else": { "operation": "boost", "score": -0.046636223793029785 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0019344831816852093 }, "else": { "operation": "boost", "score": 0.06850868463516235 } }, "else": { "operation": "boost", "score": -0.08300977945327759 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.08814404159784317 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16840165853500366 }, "else": { "operation": "boost", "score": -0.18201252818107605 } } } } } }, "else": { "operation": "boost", "score": 0.014446130953729153 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71608.5, "then": { "operation": "boost", "score": 0.19589857757091522 }, "else": { "operation": "boost", "score": -0.022291814908385277 } } }, "else": { "operation": "boost", "score": -0.002566104056313634 } } }, "else": { "operation": "boost", "score": -0.04019346833229065 } }, "else": { "operation": "boost", "score": -0.10584384948015213 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03520826995372772 }, "else": { "operation": "boost", "score": -0.15463842451572418 } }, "else": { "operation": "boost", "score": -0.04409629851579666 } }, "else": { "operation": "boost", "score": 0.008504044264554977 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25537.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44699.0, "then": { "operation": "boost", "score": 0.0039511569775640965 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42438.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.0006312868208624423 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.11735007911920547 }, "else": { "operation": "boost", "score": 0.12437921017408371 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05500492453575134 }, "else": { "operation": "boost", "score": -0.19776439666748047 } } }, "else": { "operation": "boost", "score": 0.016629885882139206 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04825301840901375 }, "else": { "operation": "boost", "score": -0.1438155472278595 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15770.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16299.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.2834759056568146 }, "else": { "operation": "boost", "score": 0.018633026629686356 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16141.5, "then": { "operation": "boost", "score": 0.005021404474973679 }, "else": { "operation": "boost", "score": 0.1676546037197113 } }, "else": { "operation": "boost", "score": 0.024222994223237038 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15964.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0919816717505455, "then": { "operation": "boost", "score": 0.12834876775741577 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1358967274427414 }, "else": { "operation": "boost", "score": 0.12051026523113251 } } }, "else": { "operation": "boost", "score": 0.05975617840886116 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16250.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.13321052491664886 }, "else": { "operation": "boost", "score": 0.02940535731613636 } }, "else": { "operation": "boost", "score": 0.03284329175949097 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.016056234017014503 }, "else": { "operation": "boost", "score": -0.04516790062189102 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15236.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.071615070104599 }, "else": { "operation": "boost", "score": -0.14094847440719604 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14638.5, "then": { "operation": "boost", "score": 0.09856541454792023 }, "else": { "operation": "boost", "score": -0.01208017859607935 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10846593230962753 }, "else": { "operation": "boost", "score": -0.22097456455230713 } }, "else": { "operation": "boost", "score": -0.04433957859873772 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.03499143198132515 }, "else": { "operation": "boost", "score": 0.009490189142525196 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.0026659034192562103 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.021214904263615608 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.07245714962482452 }, "else": { "operation": "boost", "score": -0.14551423490047455 } }, "else": { "operation": "boost", "score": 0.01395431999117136 } }, "else": { "operation": "boost", "score": -0.016599353402853012 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.01604459062218666 }, "else": { "operation": "boost", "score": 0.11436613649129868 } }, "else": { "operation": "boost", "score": -0.03458452597260475 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.11122715473175049 }, "else": { "operation": "boost", "score": 0.022606998682022095 } } } }, "else": { "operation": "boost", "score": -0.000875027384608984 } } }, "else": { "operation": "boost", "score": -0.019769325852394104 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.22298552095890045 }, "else": { "operation": "boost", "score": 0.14108020067214966 } }, "else": { "operation": "boost", "score": -0.025313127785921097 } }, "else": { "operation": "boost", "score": 0.0007600862300023437 } } }, "else": { "operation": "boost", "score": 0.004498590249568224 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.004134381655603647 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11812596768140793 }, "else": { "operation": "boost", "score": 0.062471531331539154 } }, "else": { "operation": "boost", "score": -0.028822265565395355 } }, "else": { "operation": "boost", "score": 0.07917038351297379 } } }, "else": { "operation": "boost", "score": -0.06641858071088791 } }, "else": { "operation": "boost", "score": 0.01795278675854206 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.015490192919969559 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15358.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23993.5, "then": { "operation": "boost", "score": 0.08457411825656891 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12179487943649292, "then": { "operation": "boost", "score": -0.6336929798126221 }, "else": { "operation": "boost", "score": -0.05820425972342491 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13388.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11604379117488861 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13716.0, "then": { "operation": "boost", "score": -0.05614138022065163 }, "else": { "operation": "boost", "score": 0.11895716935396194 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.006640593055635691 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.03073755092918873 }, "else": { "operation": "boost", "score": 0.019022397696971893 } } }, "else": { "operation": "boost", "score": 0.0016327921766787767 } }, "else": { "operation": "boost", "score": -0.10239163041114807 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.16546322405338287 }, "else": { "operation": "boost", "score": -0.08017508685588837 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07441926747560501 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": 0.09868917614221573 }, "else": { "operation": "boost", "score": 0.011862474493682384 } } }, "else": { "operation": "boost", "score": -0.0012939547887071967 } }, "else": { "operation": "boost", "score": -0.006534113083034754 } } } } } }, "else": { "operation": "boost", "score": -0.036937493830919266 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008501260541379452 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97.5, "then": { "operation": "boost", "score": 0.05443872883915901 }, "else": { "operation": "boost", "score": 0.8495182394981384 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.054626915603876114 }, "else": { "operation": "boost", "score": 0.1375616043806076 } }, "else": { "operation": "boost", "score": -0.03276602178812027 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.037675537168979645 }, "else": { "operation": "boost", "score": -0.12608793377876282 } } }, "else": { "operation": "boost", "score": -0.037347257137298584 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00452166423201561 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011132658459246159 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.16022180020809174 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011780048720538616 }, "else": { "operation": "boost", "score": -0.027941862121224403 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0009674333268776536 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005245938431471586 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022180335596203804 }, "else": { "operation": "boost", "score": -0.04304214194417 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.029067346826195717 }, "else": { "operation": "boost", "score": -0.001930848229676485 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.041929785162210464 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.0796082392334938 }, "else": { "operation": "boost", "score": 0.017152559012174606 } } } } }, "else": { "operation": "boost", "score": -0.003526815678924322 } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10620300471782684, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.009950865991413593 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07092894613742828 }, "else": { "operation": "boost", "score": 0.16392378509044647 } }, "else": { "operation": "boost", "score": 0.036103829741477966 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "boost", "score": 0.0038483545649796724 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0520591102540493 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.025241145864129066 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.20532527565956116 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.10253646969795227 }, "else": { "operation": "boost", "score": -0.009295891970396042 } } }, "else": { "operation": "boost", "score": -0.11098535358905792 } }, "else": { "operation": "boost", "score": -1.1254489421844482 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.973320722579956 }, "else": { "operation": "boost", "score": 0.024201365187764168 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.011328881606459618 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.058538321405649185 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.09351889044046402 }, "else": { "operation": "boost", "score": -0.2696499228477478 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.014425798319280148 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.008698823861777782 }, "else": { "operation": "boost", "score": -0.25548338890075684 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.003631716826930642 }, "else": { "operation": "boost", "score": -0.030140511691570282 } }, "else": { "operation": "boost", "score": 0.012242303229868412 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.061816196888685226 }, "else": { "operation": "boost", "score": -0.11166754364967346 } }, "else": { "operation": "boost", "score": -0.007991892285645008 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.015327390283346176 }, "else": { "operation": "boost", "score": 0.011089012026786804 } } }, "else": { "operation": "boost", "score": 0.0009606350213289261 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 418.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13531869649887085 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.018723422661423683 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.003692059777677059 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5344.0, "then": { "operation": "boost", "score": -0.03213989734649658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5163.5, "then": { "operation": "boost", "score": 0.13784611225128174 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.015158567577600479 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 472.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2949.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3962.0, "then": { "operation": "boost", "score": -0.10560549050569534 }, "else": { "operation": "boost", "score": 0.4923761785030365 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1012.5, "then": { "operation": "boost", "score": 0.04989210143685341 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 984.0, "then": { "operation": "boost", "score": 0.26403024792671204 }, "else": { "operation": "boost", "score": 0.12706151604652405 } } } }, "else": { "operation": "boost", "score": -0.008911682292819023 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 448.5, "then": { "operation": "boost", "score": 0.1855584681034088 }, "else": { "operation": "boost", "score": 0.12120308727025986 } } }, "else": { "operation": "boost", "score": -0.01601664163172245 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 714.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2272.5, "then": { "operation": "boost", "score": -0.07232446223497391 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.25549817085266113 }, "else": { "operation": "boost", "score": -0.4664923846721649 } } }, "else": { "operation": "boost", "score": -0.03540891781449318 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 712.5, "then": { "operation": "boost", "score": 0.22311906516551971 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.14523033797740936 }, "else": { "operation": "boost", "score": 0.028459379449486732 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.5589450001716614 }, "else": { "operation": "boost", "score": -0.05470995977520943 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4566.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": -0.218390554189682 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.106528140604496 }, "else": { "operation": "boost", "score": 0.12050960212945938 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5968.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.049302082508802414 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67917.5, "then": { "operation": "boost", "score": 0.08268754929304123 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37723.5, "then": { "operation": "boost", "score": -0.4245408773422241 }, "else": { "operation": "boost", "score": -0.0038731112144887447 } } } }, "else": { "operation": "boost", "score": 0.0977618619799614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5747.0, "then": { "operation": "boost", "score": 0.13033324480056763 }, "else": { "operation": "boost", "score": 0.0336347296833992 } } } }, "else": { "operation": "boost", "score": 0.042792435735464096 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4480.5, "then": { "operation": "boost", "score": -0.3491741418838501 }, "else": { "operation": "boost", "score": -0.00046464873594231904 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 886.0, "then": { "operation": "boost", "score": 0.054309215396642685 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 873.5, "then": { "operation": "boost", "score": 0.15045525133609772 }, "else": { "operation": "boost", "score": 0.0926065668463707 } } }, "else": { "operation": "boost", "score": 0.03582831099629402 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 419.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.05580344796180725 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "boost", "score": 0.11708075553178787 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": -0.01234421692788601 }, "else": { "operation": "boost", "score": 0.10396444797515869 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92429.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.21042916178703308 }, "else": { "operation": "boost", "score": 0.08145228773355484 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74544.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.219569131731987 }, "else": { "operation": "boost", "score": -0.008979281410574913 } }, "else": { "operation": "boost", "score": 0.08110585063695908 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64139.5, "then": { "operation": "boost", "score": -0.1585596352815628 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59248.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62087.0, "then": { "operation": "boost", "score": 0.03146623075008392 }, "else": { "operation": "boost", "score": -0.3315441906452179 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57673.0, "then": { "operation": "boost", "score": 0.10328861325979233 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21607472002506256 }, "else": { "operation": "boost", "score": 0.07569319009780884 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51599.0, "then": { "operation": "boost", "score": -0.151162788271904 }, "else": { "operation": "boost", "score": -0.004735884722322226 } } } } } }, "else": { "operation": "boost", "score": -0.03671186417341232 } } } }, "else": { "operation": "boost", "score": 0.11931760609149933 } } } } } }, "else": { "operation": "boost", "score": 0.00877426564693451 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 41.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013954345136880875 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008962557651102543 }, "else": { "operation": "boost", "score": -0.019406959414482117 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.049842942506074905 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12408193945884705 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08235999196767807 }, "else": { "operation": "boost", "score": -0.04567405954003334 } } }, "else": { "operation": "boost", "score": -0.07047723978757858 } } } }, "else": { "operation": "boost", "score": 0.002005181508138776 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1021660640835762 }, "else": { "operation": "boost", "score": 0.016454769298434258 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.01416569110006094 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.11464841663837433 }, "else": { "operation": "boost", "score": 0.037828296422958374 } }, "else": { "operation": "boost", "score": 0.03604292869567871 } }, "else": { "operation": "boost", "score": 0.009303353726863861 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.15315760672092438 }, "else": { "operation": "boost", "score": -0.011486164294183254 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.015950394794344902 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.046952590346336365 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10342592746019363 }, "else": { "operation": "boost", "score": 0.018988804891705513 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10223463177680969 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10419133305549622 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.014002813957631588 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.11889081448316574 }, "else": { "operation": "boost", "score": 0.12267619371414185 } }, "else": { "operation": "boost", "score": -0.3063596785068512 } } }, "else": { "operation": "boost", "score": -0.11456941068172455 } } } } }, "else": { "operation": "boost", "score": -0.045851461589336395 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01045304536819458 }, "else": { "operation": "boost", "score": -0.03211551159620285 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14451591670513153 }, "else": { "operation": "boost", "score": -0.08114007860422134 } }, "else": { "operation": "boost", "score": 0.10444305837154388 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.053195130079984665 }, "else": { "operation": "boost", "score": -0.0009731304016895592 } } } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08709463477134705 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.37486693263053894 }, "else": { "operation": "boost", "score": -0.2785453200340271 } }, "else": { "operation": "boost", "score": 0.02352317050099373 } }, "else": { "operation": "boost", "score": 0.011475278995931149 } }, "else": { "operation": "boost", "score": 0.005083155352622271 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006831742823123932 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01335116010159254 }, "else": { "operation": "boost", "score": -0.016818543896079063 } }, "else": { "operation": "boost", "score": -0.01540613453835249 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.009078862145543098 }, "else": { "operation": "boost", "score": 0.0012664112728089094 } }, "else": { "operation": "boost", "score": -0.04560206085443497 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014115513302385807 }, "else": { "operation": "boost", "score": -0.0002471075567882508 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005096385721117258 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 794.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 799.5, "then": { "operation": "boost", "score": 0.014063028618693352 }, "else": { "operation": "boost", "score": 0.2597789764404297 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02035490982234478 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.12440373748540878 }, "else": { "operation": "boost", "score": 0.008239028044044971 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.041289493441581726 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.05600515007972717 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.044461000710725784 }, "else": { "operation": "boost", "score": -0.5904929041862488 } }, "else": { "operation": "boost", "score": -0.043478239327669144 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03946143016219139 }, "else": { "operation": "boost", "score": -0.42645570635795593 } } } }, "else": { "operation": "boost", "score": 0.022354256361722946 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 779.5, "then": { "operation": "boost", "score": -0.5816779732704163 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.012753689661622047 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019023992121219635 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.25303900241851807 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07178269326686859 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11330850422382355 }, "else": { "operation": "boost", "score": 0.07774719595909119 } } } } }, "else": { "operation": "boost", "score": -0.025339974090456963 } } }, "else": { "operation": "boost", "score": -0.03388389199972153 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.03676449507474899 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": -0.04941777139902115 }, "else": { "operation": "boost", "score": 0.1335337907075882 } }, "else": { "operation": "boost", "score": -0.05532904341816902 } }, "else": { "operation": "boost", "score": -0.01710810698568821 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.12442383170127869 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93.5, "then": { "operation": "boost", "score": -0.6091328859329224 }, "else": { "operation": "boost", "score": 0.049332983791828156 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.37986403703689575 }, "else": { "operation": "boost", "score": -0.034514252096414566 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.16199618577957153 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03087019920349121 }, "else": { "operation": "boost", "score": 0.06058623641729355 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.11885558068752289 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.28257009387016296 }, "else": { "operation": "boost", "score": 0.02442062832415104 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03095085918903351 }, "else": { "operation": "boost", "score": 0.11793742328882217 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09831125289201736 }, "else": { "operation": "boost", "score": -0.10104109346866608 } }, "else": { "operation": "boost", "score": -0.00831122137606144 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.07988971471786499 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.10154390335083008 }, "else": { "operation": "boost", "score": -0.11654406785964966 } }, "else": { "operation": "boost", "score": 0.10059461742639542 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05572273209691048 }, "else": { "operation": "boost", "score": -0.22007018327713013 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": 0.053085628896951675 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.015040501020848751 }, "else": { "operation": "boost", "score": 0.10730528831481934 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.675000011920929, "then": { "operation": "boost", "score": -2.001957654953003 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 226.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267.5, "then": { "operation": "boost", "score": -0.06488372385501862 }, "else": { "operation": "boost", "score": -0.8583166599273682 } }, "else": { "operation": "boost", "score": 0.00980627816170454 } } } } }, "else": { "operation": "boost", "score": 0.07162181288003922 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": -0.00845332257449627 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10117416828870773 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.12158222496509552 }, "else": { "operation": "boost", "score": -0.0249750018119812 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03419656306505203 }, "else": { "operation": "boost", "score": -0.22046029567718506 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.3660590350627899 }, "else": { "operation": "boost", "score": 0.007608278188854456 } }, "else": { "operation": "boost", "score": 0.07138483226299286 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.179730623960495 }, "else": { "operation": "boost", "score": 0.04639521241188049 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.09511703252792358 }, "else": { "operation": "boost", "score": -0.4319038987159729 } }, "else": { "operation": "boost", "score": -0.024004295468330383 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04975680261850357 }, "else": { "operation": "boost", "score": -0.045584939420223236 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01669752411544323 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.13737940788269043 }, "else": { "operation": "boost", "score": -0.07398708164691925 } } } } }, "else": { "operation": "boost", "score": -0.023781845346093178 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.09169206768274307 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 248.0, "then": { "operation": "boost", "score": -0.2971140146255493 }, "else": { "operation": "boost", "score": 0.17514605820178986 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.006001830101013184 }, "else": { "operation": "boost", "score": -0.20188798010349274 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.4548207223415375 }, "else": { "operation": "boost", "score": 0.163358673453331 } }, "else": { "operation": "boost", "score": 0.1259842962026596 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.07325667142868042 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.5, "then": { "operation": "boost", "score": -0.1509907990694046 }, "else": { "operation": "boost", "score": 0.1495865136384964 } }, "else": { "operation": "boost", "score": -0.13153468072414398 } } }, "else": { "operation": "boost", "score": -0.8278540968894958 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.009818640537559986 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1724073737859726 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11743814498186111 }, "else": { "operation": "boost", "score": 0.04122631624341011 } } }, "else": { "operation": "boost", "score": 0.024143394082784653 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.057646751403808594 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.12432879954576492 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09494142234325409 }, "else": { "operation": "boost", "score": -0.09379430115222931 } } } }, "else": { "operation": "boost", "score": -0.0012465600157156587 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.2884851396083832 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": -0.1249396875500679 }, "else": { "operation": "boost", "score": 0.11188214272260666 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.09141994267702103 }, "else": { "operation": "boost", "score": -0.25722968578338623 } }, "else": { "operation": "boost", "score": -0.03951922804117203 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.01073241326957941 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07421110570430756 }, "else": { "operation": "boost", "score": 0.1106216087937355 } } } }, "else": { "operation": "boost", "score": -0.05862662196159363 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.00299236667342484 }, "else": { "operation": "boost", "score": 0.00015007056936156005 } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.01076436135917902 }, "else": { "operation": "boost", "score": -0.09833000600337982 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.09579655528068542 }, "else": { "operation": "boost", "score": 0.02221059985458851 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.010236471891403198 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.08631224930286407 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.003953801468014717 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.03209381178021431 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.008059795945882797 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.021894121542572975 }, "else": { "operation": "boost", "score": -0.0912223681807518 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008565192110836506 }, "else": { "operation": "boost", "score": -0.02779024839401245 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.18159542977809906 }, "else": { "operation": "boost", "score": 0.060735929757356644 } }, "else": { "operation": "boost", "score": 0.027373531833291054 } }, "else": { "operation": "boost", "score": -0.19645927846431732 } }, "else": { "operation": "boost", "score": -0.028918074443936348 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -4.0654085751157254e-05 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.2195812463760376 }, "else": { "operation": "boost", "score": -0.019968319684267044 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.029956592246890068 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8541666269302368, "then": { "operation": "boost", "score": -0.0025943215005099773 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.027464887127280235 }, "else": { "operation": "boost", "score": -0.6132172346115112 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.08655393868684769 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.07902512699365616 }, "else": { "operation": "boost", "score": -0.3070422112941742 } }, "else": { "operation": "boost", "score": 0.10010156780481339 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07534182816743851 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1102413460612297 }, "else": { "operation": "boost", "score": 0.1260194629430771 } } }, "else": { "operation": "boost", "score": 0.035387661308050156 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1331464946269989 }, "else": { "operation": "boost", "score": 0.0365845188498497 } }, "else": { "operation": "boost", "score": -0.1838751882314682 } } } } }, "else": { "operation": "boost", "score": 0.13142816722393036 } }, "else": { "operation": "boost", "score": 0.002737049711868167 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007134600542485714 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.006821207236498594 }, "else": { "operation": "boost", "score": 0.03197875991463661 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 782.5, "then": { "operation": "boost", "score": 0.031760986894369125 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 498.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.05488942191004753 }, "else": { "operation": "boost", "score": 0.11636481434106827 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 384.5, "then": { "operation": "boost", "score": -0.20037351548671722 }, "else": { "operation": "boost", "score": 0.07876419275999069 } } } }, "else": { "operation": "boost", "score": 0.0012819173280149698 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "boost", "score": 0.0832405686378479 }, "else": { "operation": "boost", "score": 0.04949408769607544 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.06915047019720078 }, "else": { "operation": "boost", "score": 0.2850206196308136 } }, "else": { "operation": "boost", "score": -0.10127148777246475 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.5, "then": { "operation": "boost", "score": 0.005237955134361982 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.04128766059875488 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60.0, "then": { "operation": "boost", "score": 0.11337094753980637 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.16401000320911407 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027936367318034172 }, "else": { "operation": "boost", "score": 0.16258899867534637 } }, "else": { "operation": "boost", "score": 0.08443348109722137 } }, "else": { "operation": "boost", "score": -0.1868647187948227 } }, "else": { "operation": "boost", "score": -0.13686220347881317 } } } }, "else": { "operation": "boost", "score": 0.04497115686535835 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2968.0, "then": { "operation": "boost", "score": -0.14310809969902039 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13112877309322357 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 225.0, "then": { "operation": "boost", "score": 0.14297796785831451 }, "else": { "operation": "boost", "score": 0.23047441244125366 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.07929942011833191 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.09124476462602615 }, "else": { "operation": "boost", "score": 0.634691596031189 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04410463571548462 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015408394858241081 }, "else": { "operation": "boost", "score": 0.1480054408311844 } } } } } }, "else": { "operation": "boost", "score": 0.4811939001083374 } }, "else": { "operation": "boost", "score": 0.037904396653175354 } }, "else": { "operation": "boost", "score": 0.005799164529889822 } }, "else": { "operation": "boost", "score": 0.03498581796884537 } }, "else": { "operation": "boost", "score": 0.04789895564317703 } } }, "else": { "operation": "boost", "score": -0.028737422078847885 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016612987965345383 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005328363738954067 }, "else": { "operation": "boost", "score": -0.031081613153219223 } } }, "else": { "operation": "boost", "score": -0.028838247060775757 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "boost", "score": 0.017673524096608162 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.001688548014499247 }, "else": { "operation": "boost", "score": -0.05094258859753609 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.009709379635751247 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.13133011758327484 }, "else": { "operation": "boost", "score": 0.07795707881450653 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.005391839426010847 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.007931957952678204 }, "else": { "operation": "boost", "score": 0.09900365769863129 } }, "else": { "operation": "boost", "score": 0.03477173298597336 } }, "else": { "operation": "boost", "score": -0.060533154755830765 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.29210636019706726 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059086065739393234 }, "else": { "operation": "boost", "score": -0.06937258690595627 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.024409782141447067 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.02687644027173519 }, "else": { "operation": "boost", "score": 0.014634215272963047 } } } } } }, "else": { "operation": "boost", "score": 0.0031277555972337723 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.0014098044484853745 }, "else": { "operation": "boost", "score": 0.026159752160310745 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.03716893494129181 }, "else": { "operation": "boost", "score": -0.04551436007022858 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0026747470255941153 }, "else": { "operation": "boost", "score": -0.0234467014670372 } } } } }, "else": { "operation": "boost", "score": 0.013042382895946503 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.002791696460917592 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.030013786628842354 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "boost", "score": -0.060994382947683334 }, "else": { "operation": "boost", "score": -0.22634616494178772 } }, "else": { "operation": "boost", "score": -0.0035080364905297756 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.01955225132405758 }, "else": { "operation": "boost", "score": -0.0014797864714637399 } } }, "else": { "operation": "boost", "score": -0.012230955064296722 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.09491557627916336 }, "else": { "operation": "boost", "score": 0.004908669274300337 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.021755913272500038 }, "else": { "operation": "boost", "score": 0.031170634552836418 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0017866941634565592 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.04785984754562378 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.05046186223626137 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.044440340250730515 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.18690700829029083 }, "else": { "operation": "boost", "score": 0.1756085455417633 } }, "else": { "operation": "boost", "score": -0.0197950080037117 } } } } }, "else": { "operation": "boost", "score": -0.017032604664564133 } } } } }, "else": { "operation": "boost", "score": -0.0011515496298670769 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16531166434288025 }, "else": { "operation": "boost", "score": 0.005306783597916365 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.10190045833587646 }, "else": { "operation": "boost", "score": 0.01806180737912655 } }, "else": { "operation": "boost", "score": -0.011395012959837914 } }, "else": { "operation": "boost", "score": 0.013055004179477692 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.00014085489965509623 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.004750311374664307 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.21437005698680878 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.0749419555068016 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.07190883159637451 }, "else": { "operation": "boost", "score": 0.14917634427547455 } } }, "else": { "operation": "boost", "score": 0.047590356320142746 } } } }, "else": { "operation": "boost", "score": -0.005023008678108454 } }, "else": { "operation": "boost", "score": 0.015307937748730183 } } } }, "else": { "operation": "boost", "score": -0.1280938684940338 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11829.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12183.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21122.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34205.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83997.5, "then": { "operation": "boost", "score": -0.016912158578634262 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81569.0, "then": { "operation": "boost", "score": 0.0767359733581543 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10163382440805435 }, "else": { "operation": "boost", "score": -0.33047473430633545 } }, "else": { "operation": "boost", "score": -0.037479110062122345 } } } }, "else": { "operation": "boost", "score": -0.08626097440719604 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.12122758477926254 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.14664864540100098 }, "else": { "operation": "boost", "score": 0.11607395112514496 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45940.0, "then": { "operation": "boost", "score": -0.016114776954054832 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09590760618448257 }, "else": { "operation": "boost", "score": -2.7026960849761963 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1512058973312378 }, "else": { "operation": "boost", "score": 0.07629207521677017 } } }, "else": { "operation": "boost", "score": -0.12097560614347458 } } } }, "else": { "operation": "boost", "score": -0.0677686408162117 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0669642835855484, "then": { "operation": "boost", "score": 0.129476860165596 }, "else": { "operation": "boost", "score": 0.09004462510347366 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1516655832529068 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11448441445827484 }, "else": { "operation": "boost", "score": -0.07339950650930405 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20712.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.3456929326057434 }, "else": { "operation": "boost", "score": 0.11839532852172852 } }, "else": { "operation": "boost", "score": -0.11119348555803299 } }, "else": { "operation": "boost", "score": 0.22692404687404633 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.08845420181751251 }, "else": { "operation": "boost", "score": -0.09131752699613571 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23047.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26280.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.07135505974292755 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47131.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47293.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267507.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273152.0, "then": { "operation": "boost", "score": 0.04366319999098778 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.0846422091126442 }, "else": { "operation": "boost", "score": 0.008725414983928204 } } }, "else": { "operation": "boost", "score": 0.005508963018655777 } }, "else": { "operation": "boost", "score": 0.08358746767044067 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.015823611989617348 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.11254103481769562 }, "else": { "operation": "boost", "score": 0.11580663919448853 } }, "else": { "operation": "boost", "score": 0.07747294008731842 } } }, "else": { "operation": "boost", "score": -0.05006397143006325 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.07341023534536362 }, "else": { "operation": "boost", "score": 0.13314154744148254 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24164.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24809.5, "then": { "operation": "boost", "score": 0.06982459872961044 }, "else": { "operation": "boost", "score": 0.09137316793203354 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23685.0, "then": { "operation": "boost", "score": -0.1427999883890152 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.09652931988239288 }, "else": { "operation": "boost", "score": 0.023211108520627022 } } } } }, "else": { "operation": "boost", "score": 0.0549769401550293 } } }, "else": { "operation": "boost", "score": -0.08724944293498993 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52728.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.037403371185064316 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 458944.5, "then": { "operation": "boost", "score": 0.04611114040017128 }, "else": { "operation": "boost", "score": -0.095041923224926 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.14457480609416962 }, "else": { "operation": "boost", "score": 0.15079280734062195 } }, "else": { "operation": "boost", "score": 0.09669787436723709 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44699.0, "then": { "operation": "boost", "score": -0.14496566355228424 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43319.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.5131214261054993 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.051908425986766815 }, "else": { "operation": "boost", "score": 0.12155592441558838 } }, "else": { "operation": "boost", "score": 0.1332833170890808 } } }, "else": { "operation": "boost", "score": -0.011077930219471455 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.11087043583393097 }, "else": { "operation": "boost", "score": -0.021963873878121376 } }, "else": { "operation": "boost", "score": 0.06511852890253067 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15228.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.22510245442390442 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.06731687486171722 }, "else": { "operation": "boost", "score": -0.08852890878915787 } } }, "else": { "operation": "boost", "score": -0.000953526294324547 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0026081139221787453 }, "else": { "operation": "boost", "score": 0.015540807507932186 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.12405309081077576 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.17518337070941925 }, "else": { "operation": "boost", "score": -0.12937533855438232 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.08311842381954193 }, "else": { "operation": "boost", "score": 0.13164769113063812 } }, "else": { "operation": "boost", "score": -0.10148020833730698 } }, "else": { "operation": "boost", "score": 0.27950823307037354 } }, "else": { "operation": "boost", "score": 0.14060282707214355 } }, "else": { "operation": "boost", "score": -0.07486861199140549 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.13660572469234467 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11956.0, "then": { "operation": "boost", "score": 0.31309694051742554 }, "else": { "operation": "boost", "score": -0.04568734019994736 } }, "else": { "operation": "boost", "score": 0.082343190908432 } } } } }, "else": { "operation": "boost", "score": 0.0897490382194519 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10644.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.11025380343198776 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11245.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11572.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11627.5, "then": { "operation": "boost", "score": 0.015488316304981709 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.09974271059036255 }, "else": { "operation": "boost", "score": 0.18815183639526367 } } }, "else": { "operation": "boost", "score": 0.07376116514205933 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07345432043075562 }, "else": { "operation": "boost", "score": -0.05428366735577583 } } }, "else": { "operation": "boost", "score": -0.016946271061897278 } }, "else": { "operation": "boost", "score": -0.07793063670396805 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10586.5, "then": { "operation": "boost", "score": 0.17575672268867493 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7917.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8615.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06192508712410927 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0908871591091156 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.04894942790269852 }, "else": { "operation": "boost", "score": 0.17852069437503815 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.3721829652786255 }, "else": { "operation": "boost", "score": 0.010050983168184757 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8322.5, "then": { "operation": "boost", "score": 0.1196984052658081 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11275098472833633 }, "else": { "operation": "boost", "score": 0.14734730124473572 } }, "else": { "operation": "boost", "score": 0.09831883758306503 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8355.5, "then": { "operation": "boost", "score": 0.1443203240633011 }, "else": { "operation": "boost", "score": 0.06409318000078201 } }, "else": { "operation": "boost", "score": -0.12314485758543015 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8054.0, "then": { "operation": "boost", "score": 0.010783053003251553 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.05041343718767166 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.21349941194057465 }, "else": { "operation": "boost", "score": 0.08877543359994888 } } }, "else": { "operation": "boost", "score": -0.1285262405872345 } }, "else": { "operation": "boost", "score": 0.04202892258763313 } } } }, "else": { "operation": "boost", "score": -0.0003284394624643028 } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08972468227148056 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.008529760874807835 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07915378361940384 }, "else": { "operation": "boost", "score": 0.13386794924736023 } } }, "else": { "operation": "boost", "score": 0.00512775219976902 } } }, "else": { "operation": "boost", "score": -0.17975138127803802 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.003437994746491313 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.09330088645219803 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22379.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.1290968358516693 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07447464764118195 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.051045410335063934 }, "else": { "operation": "boost", "score": -0.036215826869010925 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15370.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14816436171531677 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17887.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11847910284996033 }, "else": { "operation": "boost", "score": -0.13405710458755493 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.14959093928337097 }, "else": { "operation": "boost", "score": -0.12332458794116974 } } } }, "else": { "operation": "boost", "score": 0.05329960957169533 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 151424.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021592946723103523 }, "else": { "operation": "boost", "score": -0.1509617567062378 } }, "else": { "operation": "boost", "score": 0.0005735942395403981 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72536.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 95380.0, "then": { "operation": "boost", "score": -0.09399720281362534 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.19879691302776337 }, "else": { "operation": "boost", "score": 0.07878267019987106 } } }, "else": { "operation": "boost", "score": -0.04985562339425087 } } }, "else": { "operation": "boost", "score": -0.0008619402069598436 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 252.5, "then": { "operation": "boost", "score": 0.009084844961762428 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 251.5, "then": { "operation": "boost", "score": 0.1560727059841156 }, "else": { "operation": "boost", "score": 0.1112370640039444 } }, "else": { "operation": "boost", "score": 0.04921003058552742 } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05687146633863449 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.004832659848034382 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.1042012870311737 }, "else": { "operation": "boost", "score": 0.14881858229637146 } }, "else": { "operation": "boost", "score": 0.04624368995428085 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.030083253979682922 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 182.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 221.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.20905743539333344 }, "else": { "operation": "boost", "score": 0.22138772904872894 } }, "else": { "operation": "boost", "score": -0.05420220270752907 } }, "else": { "operation": "boost", "score": 0.3712356686592102 } }, "else": { "operation": "boost", "score": 0.05525236204266548 } }, "else": { "operation": "boost", "score": -0.1537436991930008 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.026649825274944305 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.01681343838572502 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10335320979356766 }, "else": { "operation": "boost", "score": 0.24949371814727783 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09539907425642014 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.0, "then": { "operation": "boost", "score": 0.1461893618106842 }, "else": { "operation": "boost", "score": -0.10740084946155548 } } } } } }, "else": { "operation": "boost", "score": 0.3212369680404663 } }, "else": { "operation": "boost", "score": 0.06161431223154068 } } }, "else": { "operation": "boost", "score": 0.014390924945473671 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.007519048638641834 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.007949150167405605 }, "else": { "operation": "boost", "score": -0.04713326320052147 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.06279470771551132 }, "else": { "operation": "boost", "score": 0.03527294099330902 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.15410110354423523 }, "else": { "operation": "boost", "score": 0.07333848625421524 } }, "else": { "operation": "boost", "score": 0.4509213864803314 } }, "else": { "operation": "boost", "score": 0.02505251206457615 } }, "else": { "operation": "boost", "score": 0.002397926291450858 } }, "else": { "operation": "boost", "score": 0.07563535124063492 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "boost", "score": -0.024497443810105324 }, "else": { "operation": "boost", "score": 0.0011707685189321637 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.013570532202720642 }, "else": { "operation": "boost", "score": -0.07522919774055481 } } } } }, "else": { "operation": "boost", "score": -0.03681168332695961 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.017432061955332756 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0056699542328715324 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.06169206276535988 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.0, "then": { "operation": "boost", "score": 0.11389990150928497 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": -0.2741384506225586 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1346416473388672 }, "else": { "operation": "boost", "score": 0.12648239731788635 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.09961184859275818 }, "else": { "operation": "boost", "score": 0.13005435466766357 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10657127946615219 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.10054195672273636 }, "else": { "operation": "boost", "score": -0.07335028797388077 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03664998337626457 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.16467882692813873 }, "else": { "operation": "boost", "score": 0.016153112053871155 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 202.5, "then": { "operation": "boost", "score": -0.2870790958404541 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 179.0, "then": { "operation": "boost", "score": 0.13276629149913788 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.2042207419872284 }, "else": { "operation": "boost", "score": -0.006716185715049505 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.0, "then": { "operation": "boost", "score": 0.1624913066625595 }, "else": { "operation": "boost", "score": -0.06323353201150894 } } } } }, "else": { "operation": "boost", "score": -0.08513475209474564 } }, "else": { "operation": "boost", "score": 0.13791610300540924 } }, "else": { "operation": "boost", "score": -0.00912838988006115 } } } }, "else": { "operation": "boost", "score": -0.04243753105401993 } }, "else": { "operation": "boost", "score": 0.0037117749452590942 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.055877286940813065 }, "else": { "operation": "boost", "score": 0.048605769872665405 } }, "else": { "operation": "boost", "score": 0.013859341852366924 } }, "else": { "operation": "boost", "score": -0.002743548946455121 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1325547844171524 }, "else": { "operation": "boost", "score": -0.09783690422773361 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03816383332014084 }, "else": { "operation": "boost", "score": -0.03927111253142357 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.20600363612174988 }, "else": { "operation": "boost", "score": 0.050842516124248505 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0004713015223387629 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030015137046575546 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "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.1894121915102005 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.11211925745010376 }, "else": { "operation": "boost", "score": 0.07524897903203964 } }, "else": { "operation": "boost", "score": 0.05851330980658531 } } }, "else": { "operation": "boost", "score": 0.010947824455797672 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.14246726036071777 }, "else": { "operation": "boost", "score": 0.16297154128551483 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.02260548807680607 }, "else": { "operation": "boost", "score": 0.11966708302497864 } }, "else": { "operation": "boost", "score": 0.040466003119945526 } }, "else": { "operation": "boost", "score": 0.01491264346987009 } } } }, "else": { "operation": "boost", "score": 0.007085234858095646 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.057522233575582504 }, "else": { "operation": "boost", "score": 0.05477086082100868 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0016411170363426208 }, "else": { "operation": "boost", "score": 0.02644496224820614 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09449896961450577 }, "else": { "operation": "boost", "score": 0.0015419968403875828 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.03154264762997627 }, "else": { "operation": "boost", "score": 0.0013109466526657343 } }, "else": { "operation": "boost", "score": -0.00782578531652689 } } }, "else": { "operation": "boost", "score": -0.0029236311092972755 } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10885307192802429 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.13414043188095093 }, "else": { "operation": "boost", "score": 0.055777862668037415 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.000995972310192883 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.620192289352417, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0717591643333435 }, "else": { "operation": "boost", "score": -0.1925618052482605 } }, "else": { "operation": "boost", "score": 0.01963602937757969 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015028651803731918 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1211220771074295 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10506977140903473 }, "else": { "operation": "boost", "score": -0.10283330082893372 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03864600136876106 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.211528941988945 }, "else": { "operation": "boost", "score": 0.20015385746955872 } } }, "else": { "operation": "boost", "score": 0.019004113972187042 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10539969801902771 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01672186143696308 }, "else": { "operation": "boost", "score": -0.5252321362495422 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.286262184381485 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.04533703252673149 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.12423200905323029 }, "else": { "operation": "boost", "score": 0.06955226510763168 } } }, "else": { "operation": "boost", "score": 0.06567375361919403 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.0, "then": { "operation": "boost", "score": 0.08550434559583664 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.01017773523926735 }, "else": { "operation": "boost", "score": 0.08269830793142319 } }, "else": { "operation": "boost", "score": -0.09507425874471664 } } } }, "else": { "operation": "boost", "score": 0.06335695832967758 } } }, "else": { "operation": "boost", "score": 0.025157608091831207 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12176647037267685 }, "else": { "operation": "boost", "score": -0.31345614790916443 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.18348775804042816 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.030864005908370018 }, "else": { "operation": "boost", "score": 0.14026787877082825 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": -0.018009142950177193 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06816904991865158 }, "else": { "operation": "boost", "score": 0.11417494714260101 } } }, "else": { "operation": "boost", "score": -0.10433700680732727 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.13538815081119537 }, "else": { "operation": "boost", "score": -0.046266455203294754 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.22725126147270203 }, "else": { "operation": "boost", "score": 0.013391800224781036 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.002691572764888406 }, "else": { "operation": "boost", "score": 0.1253814995288849 } }, "else": { "operation": "boost", "score": 0.07690365612506866 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08340130001306534 }, "else": { "operation": "boost", "score": 0.04888079687952995 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.03408712148666382 }, "else": { "operation": "boost", "score": 0.07867147773504257 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.1003219410777092 }, "else": { "operation": "boost", "score": -0.12491902709007263 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.031500112265348434 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0149850370362401 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.2134949117898941 }, "else": { "operation": "boost", "score": -0.11643616855144501 } } }, "else": { "operation": "boost", "score": 0.017122454941272736 } } }, "else": { "operation": "boost", "score": 0.004102547653019428 } } } }, "else": { "operation": "boost", "score": 0.007008376065641642 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 265874.5, "then": { "operation": "boost", "score": 0.1160593330860138 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.010072006843984127 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12590725719928741 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04419848695397377 }, "else": { "operation": "boost", "score": 0.0825822576880455 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04921839013695717 }, "else": { "operation": "boost", "score": 0.03994268178939819 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.003103866707533598 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03339194878935814 }, "else": { "operation": "boost", "score": -0.015022020787000656 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": 0.009299027733504772 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.005907696671783924 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.020043130964040756 }, "else": { "operation": "boost", "score": -0.20440399646759033 } }, "else": { "operation": "boost", "score": 0.009596109390258789 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11159.0, "then": { "operation": "boost", "score": -0.022099394351243973 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11101.5, "then": { "operation": "boost", "score": 0.09583530575037003 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0368274562060833 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.03444529324769974 }, "else": { "operation": "boost", "score": 0.10191993415355682 } }, "else": { "operation": "boost", "score": -0.022632095962762833 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.06676560640335083 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7992.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14178.5, "then": { "operation": "boost", "score": 0.0667891874909401 }, "else": { "operation": "boost", "score": 0.13409149646759033 } }, "else": { "operation": "boost", "score": -0.0807984471321106 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1265.0, "then": { "operation": "boost", "score": 0.015406324528157711 }, "else": { "operation": "boost", "score": 0.0949530303478241 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1092379093170166 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.13345323503017426 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2642333209514618 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04108451306819916 }, "else": { "operation": "boost", "score": 0.13613012433052063 } } }, "else": { "operation": "boost", "score": -0.13348956406116486 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.0007444637012667954 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1810598224401474 }, "else": { "operation": "boost", "score": -0.12747624516487122 } }, "else": { "operation": "boost", "score": 0.10617517679929733 } } } }, "else": { "operation": "boost", "score": -0.06692530959844589 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.12189212441444397 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.23978307843208313 }, "else": { "operation": "boost", "score": 0.10147929191589355 } } }, "else": { "operation": "boost", "score": -0.0547635480761528 } } } }, "else": { "operation": "boost", "score": -0.044676586985588074 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": -0.21537521481513977 }, "else": { "operation": "boost", "score": -0.10965836048126221 } }, "else": { "operation": "boost", "score": -0.059675682336091995 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1178.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1195.0, "then": { "operation": "boost", "score": -0.059487566351890564 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.920111894607544 }, "else": { "operation": "boost", "score": -0.10519301891326904 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1160.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.16069020330905914 }, "else": { "operation": "boost", "score": 0.1524650752544403 } }, "else": { "operation": "boost", "score": 0.06913410872220993 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.013912368565797806 }, "else": { "operation": "boost", "score": 0.10250990092754364 } }, "else": { "operation": "boost", "score": -0.02640494517982006 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.016327138990163803 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.15088237822055817 }, "else": { "operation": "boost", "score": 0.33099475502967834 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.007670744322240353 }, "else": { "operation": "boost", "score": -0.04335103556513786 } } } }, "else": { "operation": "boost", "score": -0.07289483398199081 } }, "else": { "operation": "boost", "score": 4.960523801855743e-05 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Other", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15127640962600708 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.10091403871774673 }, "else": { "operation": "boost", "score": 0.16737397015094757 } }, "else": { "operation": "boost", "score": 0.03628988191485405 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.032986756414175034 }, "else": { "operation": "boost", "score": -0.06138390302658081 } } }, "else": { "operation": "boost", "score": 0.012694804929196835 } } } } } }, "else": { "operation": "boost", "score": -0.0005644413759000599 } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005597393959760666 }, "else": { "operation": "boost", "score": -0.028716817498207092 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05579746514558792, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07046035677194595 }, "else": { "operation": "boost", "score": -0.14287208020687103 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04362919554114342 }, "else": { "operation": "boost", "score": -0.044739868491888046 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.06393175572156906 }, "else": { "operation": "boost", "score": -0.1771153062582016 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.03550827130675316 }, "else": { "operation": "boost", "score": -0.008308108896017075 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.12130056321620941 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018246904015541077 }, "else": { "operation": "boost", "score": -0.017411096021533012 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.16822411119937897 }, "else": { "operation": "boost", "score": 0.04093291610479355 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.03864504024386406 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.048699140548706055 }, "else": { "operation": "boost", "score": 0.010121431201696396 } }, "else": { "operation": "boost", "score": -0.0036808561999350786 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.044080596417188644 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1651.0, "then": { "operation": "boost", "score": 0.055696144700050354 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01544148102402687 }, "else": { "operation": "boost", "score": -0.04668530076742172 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8541666269302368, "then": { "operation": "boost", "score": 0.0017474597552791238 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.04883909970521927 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60.0, "then": { "operation": "boost", "score": -0.3427818715572357 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.13121989369392395 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09713813662528992 }, "else": { "operation": "boost", "score": -0.7392513751983643 } } } } }, "else": { "operation": "boost", "score": 0.04450786113739014 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09614847600460052 }, "else": { "operation": "boost", "score": 0.03358161449432373 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.118968166410923 }, "else": { "operation": "boost", "score": 0.04278524965047836 } }, "else": { "operation": "boost", "score": -0.1527663916349411 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286988.5, "then": { "operation": "boost", "score": -0.04431472346186638 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104520.5, "then": { "operation": "boost", "score": 0.04967779293656349 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4210.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17326.5, "then": { "operation": "boost", "score": 0.003076181747019291 }, "else": { "operation": "boost", "score": -0.09838132560253143 } }, "else": { "operation": "boost", "score": 0.002568311057984829 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1650.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0147407166659832 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63761.5, "then": { "operation": "boost", "score": -0.01969371736049652 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52728.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07338747382164001 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61318.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11386696249246597 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.12542220950126648 }, "else": { "operation": "boost", "score": 0.14271233975887299 } } }, "else": { "operation": "boost", "score": 0.02974359504878521 } }, "else": { "operation": "boost", "score": 0.0012461986625567079 } }, "else": { "operation": "boost", "score": -0.16463127732276917 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1405654102563858 }, "else": { "operation": "boost", "score": 0.15049029886722565 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0171610526740551 }, "else": { "operation": "boost", "score": 0.08935976028442383 } } } }, "else": { "operation": "boost", "score": 0.006580500863492489 } } }, "else": { "operation": "boost", "score": -0.025277290493249893 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0004998232470825315 }, "else": { "operation": "boost", "score": -0.05795470252633095 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11963656544685364 }, "else": { "operation": "boost", "score": 0.00881852488964796 } } }, "else": { "operation": "boost", "score": -0.0010049949632957578 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.01855562813580036 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033550016582012177 }, "else": { "operation": "boost", "score": 0.0589633546769619 } }, "else": { "operation": "boost", "score": -0.05842669680714607 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 332.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.06080387160181999 }, "else": { "operation": "boost", "score": 0.12607227265834808 } }, "else": { "operation": "boost", "score": 0.017332671210169792 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1300140619277954 }, "else": { "operation": "boost", "score": -0.31327787041664124 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.04260503873229027 }, "else": { "operation": "boost", "score": -0.06963741779327393 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.1699964702129364 }, "else": { "operation": "boost", "score": 0.060688138008117676 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0651959627866745, "then": { "operation": "boost", "score": 0.15555641055107117 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.037819672375917435 }, "else": { "operation": "boost", "score": 0.0772150456905365 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.1300962269306183 }, "else": { "operation": "boost", "score": 0.05792824923992157 } } } } }, "else": { "operation": "boost", "score": 0.011645583435893059 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.028774093836545944 }, "else": { "operation": "boost", "score": 0.02861766144633293 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.09801670163869858 }, "else": { "operation": "boost", "score": 0.004453714936971664 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.05708300322294235 }, "else": { "operation": "boost", "score": 0.0077498978935182095 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 578.5, "then": { "operation": "boost", "score": 0.049621496349573135 }, "else": { "operation": "boost", "score": -0.05810143053531647 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0444716215133667 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.019752662628889084 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 304.0, "then": { "operation": "boost", "score": 0.12112802267074585 }, "else": { "operation": "boost", "score": 0.0189673975110054 } }, "else": { "operation": "boost", "score": -0.04977096617221832 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.011908996850252151 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06545058637857437 }, "else": { "operation": "boost", "score": 0.06574555486440659 } }, "else": { "operation": "boost", "score": 0.014854248613119125 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.006348276510834694 }, "else": { "operation": "boost", "score": 0.04849327355623245 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.042981475591659546 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07645636796951294 }, "else": { "operation": "boost", "score": -0.18525268137454987 } } }, "else": { "operation": "boost", "score": -7.095365435816348e-05 } } } } }, "else": { "operation": "boost", "score": -0.03009001910686493 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32460.0, "then": { "operation": "boost", "score": -0.048094552010297775 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31285.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11082372069358826 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10891922563314438 }, "else": { "operation": "boost", "score": -0.10069107264280319 } } }, "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": "NumReferences", "threshold": 162.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.07256753742694855 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 201.5, "then": { "operation": "boost", "score": 0.015348920598626137 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": -0.11360412836074829 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 187.0, "then": { "operation": "boost", "score": 0.27583709359169006 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172.5, "then": { "operation": "boost", "score": -0.12050798535346985 }, "else": { "operation": "boost", "score": 0.17016522586345673 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 233.5, "then": { "operation": "boost", "score": 0.23694458603858948 }, "else": { "operation": "boost", "score": 0.06887650489807129 } } } }, "else": { "operation": "boost", "score": 0.03947185352444649 } }, "else": { "operation": "boost", "score": 0.03992382809519768 } }, "else": { "operation": "boost", "score": 0.014061744324862957 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10935923457145691 }, "else": { "operation": "boost", "score": -0.015463192947208881 } }, "else": { "operation": "boost", "score": 0.010302100330591202 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16249999403953552, "then": { "operation": "boost", "score": 0.09897810220718384 }, "else": { "operation": "boost", "score": 0.12386880069971085 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0633503869175911 }, "else": { "operation": "boost", "score": 0.2647033929824829 } }, "else": { "operation": "boost", "score": 0.028675558045506477 } } }, "else": { "operation": "boost", "score": -0.03986909240484238 } }, "else": { "operation": "boost", "score": 0.0012257241178303957 } } } } } } } }, { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018576262518763542 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.01795024238526821 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.05194623023271561 }, "else": { "operation": "boost", "score": -0.17736971378326416 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.08853339403867722 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04545454680919647, "then": { "operation": "boost", "score": 0.12490072846412659 }, "else": { "operation": "boost", "score": 0.06100369989871979 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.12407169491052628 }, "else": { "operation": "boost", "score": 0.10570266097784042 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.041485633701086044 }, "else": { "operation": "boost", "score": 0.1290321797132492 } }, "else": { "operation": "boost", "score": -0.14204750955104828 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.3215225338935852 }, "else": { "operation": "boost", "score": 0.00726708397269249 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.02010670304298401 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.13651777803897858 }, "else": { "operation": "boost", "score": -0.02191561833024025 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.053483158349990845 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.01851595565676689 }, "else": { "operation": "boost", "score": 0.16243422031402588 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": -0.11241675168275833 }, "else": { "operation": "boost", "score": 0.0036068479530513287 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 9.5, "then": { "operation": "boost", "score": 0.09861753135919571 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "boost", "score": -0.007987309247255325 }, "else": { "operation": "boost", "score": 0.012068959884345531 } } }, "else": { "operation": "boost", "score": 0.0004901962238363922 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.092947818338871 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.051557399332523346 }, "else": { "operation": "boost", "score": -0.043514396995306015 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14387.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15158.0, "then": { "operation": "boost", "score": 0.00301585765555501 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11580841988325119 }, "else": { "operation": "boost", "score": 0.07964672148227692 } }, "else": { "operation": "boost", "score": 0.0576048269867897 } } }, "else": { "operation": "boost", "score": -0.002255527302622795 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16170.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.12655051052570343 }, "else": { "operation": "boost", "score": -0.05346252769231796 } }, "else": { "operation": "boost", "score": 0.004625796806067228 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.0031754393130540848 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44699.0, "then": { "operation": "boost", "score": -0.07289230823516846 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43302.5, "then": { "operation": "boost", "score": 0.12332268059253693 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.016902947798371315 }, "else": { "operation": "boost", "score": 0.1293143481016159 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26162.5, "then": { "operation": "boost", "score": 0.015254128724336624 }, "else": { "operation": "boost", "score": -0.052204232662916183 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09466330707073212 }, "else": { "operation": "boost", "score": 0.05379575490951538 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23667.0, "then": { "operation": "boost", "score": -0.13003607094287872 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.06661698967218399 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.09185923635959625 }, "else": { "operation": "boost", "score": 0.11094898730516434 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.13749870657920837 }, "else": { "operation": "boost", "score": 0.023201677948236465 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03834247216582298 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.012271793559193611 }, "else": { "operation": "boost", "score": 0.11177898943424225 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": -0.08325496315956116 }, "else": { "operation": "boost", "score": 0.10674668848514557 } }, "else": { "operation": "boost", "score": 0.03368053957819939 } } } }, "else": { "operation": "boost", "score": -0.030410373583436012 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.026491817086935043 }, "else": { "operation": "boost", "score": -1.0353567600250244 } } } }, "else": { "operation": "boost", "score": 0.008545049466192722 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.06979985535144806 }, "else": { "operation": "boost", "score": 0.019426610320806503 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15623.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.07504813373088837 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26063.0, "then": { "operation": "boost", "score": -0.3553686738014221 }, "else": { "operation": "boost", "score": -0.7436381578445435 } }, "else": { "operation": "boost", "score": -0.15744435787200928 } } }, "else": { "operation": "boost", "score": -0.02755855768918991 } } }, "else": { "operation": "boost", "score": -0.02160889282822609 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.02237461879849434 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020532706752419472 }, "else": { "operation": "boost", "score": -0.054480139166116714 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1146358996629715 }, "else": { "operation": "boost", "score": 0.06532544642686844 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": -0.017230883240699768 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07777874171733856 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.0, "then": { "operation": "boost", "score": 0.3629390597343445 }, "else": { "operation": "boost", "score": 0.20402514934539795 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.15274415910243988 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88.5, "then": { "operation": "boost", "score": 0.050883639603853226 }, "else": { "operation": "boost", "score": 0.12087533622980118 } }, "else": { "operation": "boost", "score": 0.3824116587638855 } }, "else": { "operation": "boost", "score": 0.048476628959178925 } }, "else": { "operation": "boost", "score": 0.012222942896187305 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.011693492531776428 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.021677277982234955 }, "else": { "operation": "boost", "score": 0.0008732673595659435 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 109.5, "then": { "operation": "boost", "score": 0.051656465977430344 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.023097213357686996 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.13096794486045837 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.16413600742816925 }, "else": { "operation": "boost", "score": 0.07382597774267197 } } } } }, "else": { "operation": "boost", "score": 0.031317323446273804 } }, "else": { "operation": "boost", "score": 0.015224739909172058 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3349.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3555.0, "then": { "operation": "boost", "score": -0.07679466158151627 }, "else": { "operation": "boost", "score": -0.38128575682640076 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3200.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3208.5, "then": { "operation": "boost", "score": -0.11800247430801392 }, "else": { "operation": "boost", "score": 0.10235190391540527 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.01571207493543625 }, "else": { "operation": "boost", "score": 0.01221637986600399 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 944.0, "then": { "operation": "boost", "score": -0.06416691839694977 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 913.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.19352230429649353 }, "else": { "operation": "boost", "score": 0.04985763877630234 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.011627067811787128 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 605.0, "then": { "operation": "boost", "score": 0.06255248188972473 }, "else": { "operation": "boost", "score": -0.07576112449169159 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.000989198568277061 }, "else": { "operation": "boost", "score": -0.06627847254276276 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.018523938953876495 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.01902512088418007 }, "else": { "operation": "boost", "score": -0.02989555150270462 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0008963476284407079 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.00370642333291471 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.038609765470027924 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.07577241957187653 }, "else": { "operation": "boost", "score": 0.022647887468338013 } }, "else": { "operation": "boost", "score": -0.12660625576972961 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.013141202740371227 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11865009367465973 }, "else": { "operation": "boost", "score": -0.06817266345024109 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.046686965972185135 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02905449829995632 }, "else": { "operation": "boost", "score": -0.09546974301338196 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1189756989479065 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.21936126053333282 }, "else": { "operation": "boost", "score": -0.005893779452890158 } } } } }, "else": { "operation": "boost", "score": -0.004165472462773323 } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.1548391431570053 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.10449246317148209 }, "else": { "operation": "boost", "score": -0.1724746823310852 } } }, "else": { "operation": "boost", "score": 0.004713143687695265 } }, "else": { "operation": "boost", "score": 0.001671666163019836 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 820317.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020105797797441483 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.16557542979717255 }, "else": { "operation": "boost", "score": 0.06757804751396179 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02690838649868965 }, "else": { "operation": "boost", "score": -0.0286415945738554 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057259451597929, "then": { "operation": "boost", "score": 0.002327092457562685 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08051632344722748 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.036793071776628494 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.12020498514175415 }, "else": { "operation": "boost", "score": -0.024664245545864105 } } } }, "else": { "operation": "boost", "score": 0.01802166923880577 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.04327010363340378 }, "else": { "operation": "boost", "score": 0.0337834507226944 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259656.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.06358624994754791 }, "else": { "operation": "boost", "score": 0.08261919021606445 } }, "else": { "operation": "boost", "score": -0.21466846764087677 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.13408291339874268 }, "else": { "operation": "boost", "score": 0.10967852920293808 } } }, "else": { "operation": "boost", "score": -0.033136751502752304 } }, "else": { "operation": "boost", "score": -0.05351985618472099 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.1427675038576126 }, "else": { "operation": "boost", "score": 0.23682549595832825 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224557.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "boost", "score": 0.016047213226556778 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05866231024265289 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.5, "then": { "operation": "boost", "score": -0.5877678990364075 }, "else": { "operation": "boost", "score": -0.16707926988601685 } } } }, "else": { "operation": "boost", "score": 0.02798936888575554 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.016961224377155304 }, "else": { "operation": "boost", "score": 0.06808136403560638 } }, "else": { "operation": "boost", "score": -0.18880046904087067 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.013346182182431221 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.11195763200521469 }, "else": { "operation": "boost", "score": 0.12263194471597672 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11985870450735092 }, "else": { "operation": "boost", "score": 0.020327530801296234 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04709141328930855 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.1289389580488205 }, "else": { "operation": "boost", "score": -0.1043664738535881 } }, "else": { "operation": "boost", "score": 0.05181571841239929 } } } } } }, "else": { "operation": "boost", "score": -0.0015932375099509954 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.0030904519371688366 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44699.0, "then": { "operation": "boost", "score": -0.07461482286453247 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43302.5, "then": { "operation": "boost", "score": 0.12055278569459915 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.01570022851228714 }, "else": { "operation": "boost", "score": 0.13126812875270844 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 467.0, "then": { "operation": "boost", "score": -0.5395686030387878 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0651959627866745, "then": { "operation": "boost", "score": 0.05494113266468048 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.2221590280532837 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.07274753600358963 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "boost", "score": 0.17015622556209564 }, "else": { "operation": "boost", "score": 0.22512315213680267 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.03452778235077858 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 390.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11311.0, "then": { "operation": "boost", "score": 0.18790341913700104 }, "else": { "operation": "boost", "score": -0.34166550636291504 } }, "else": { "operation": "boost", "score": 0.46541666984558105 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06360994279384613 }, "else": { "operation": "boost", "score": 0.33512747287750244 } } }, "else": { "operation": "boost", "score": -0.011696899309754372 } } } }, "else": { "operation": "boost", "score": -0.004993515554815531 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.009117284789681435 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 137.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1267.0, "then": { "operation": "boost", "score": 0.03014937974512577 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 413.0, "then": { "operation": "boost", "score": 0.20247018337249756 }, "else": { "operation": "boost", "score": 0.09355554729700089 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116.5, "then": { "operation": "boost", "score": 0.39032793045043945 }, "else": { "operation": "boost", "score": 0.0825294777750969 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18107.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20297.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83330.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148934.5, "then": { "operation": "boost", "score": 0.03427521139383316 }, "else": { "operation": "boost", "score": 0.1112024113535881 } }, "else": { "operation": "boost", "score": -0.16185490787029266 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07961179316043854 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09701929241418839 }, "else": { "operation": "boost", "score": 0.16852180659770966 } } } }, "else": { "operation": "boost", "score": 0.07513030618429184 } }, "else": { "operation": "boost", "score": -0.017576750367879868 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.0, "then": { "operation": "boost", "score": 0.11926278471946716 }, "else": { "operation": "boost", "score": 0.6117788553237915 } }, "else": { "operation": "boost", "score": -0.1701178401708603 } }, "else": { "operation": "boost", "score": 0.015842238441109657 } } }, "else": { "operation": "boost", "score": -0.0021081557497382164 } }, "else": { "operation": "boost", "score": -0.016020307317376137 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5124.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09095362573862076 }, "else": { "operation": "boost", "score": -0.01487996056675911 } }, "else": { "operation": "boost", "score": 0.026526080444455147 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010135028511285782 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 171.0, "then": { "operation": "boost", "score": -0.040251292288303375 }, "else": { "operation": "boost", "score": -0.15126024186611176 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.3430927097797394 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.09710223972797394 }, "else": { "operation": "boost", "score": -0.11590030789375305 } }, "else": { "operation": "boost", "score": 0.1213240846991539 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.11357089877128601 }, "else": { "operation": "boost", "score": -0.009128941223025322 } } }, "else": { "operation": "boost", "score": -0.3201814293861389 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.14275099337100983 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88.5, "then": { "operation": "boost", "score": 0.05057952180504799 }, "else": { "operation": "boost", "score": 0.11632321029901505 } }, "else": { "operation": "boost", "score": 0.38572537899017334 } }, "else": { "operation": "boost", "score": 0.04760739952325821 } }, "else": { "operation": "boost", "score": 0.013227731920778751 } }, "else": { "operation": "boost", "score": -0.0011120563140138984 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.03868988901376724 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3349.5, "then": { "operation": "boost", "score": -0.08703386783599854 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3181.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12238451093435287 }, "else": { "operation": "boost", "score": -0.1428452879190445 } }, "else": { "operation": "boost", "score": -0.007519051898270845 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34973.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "boost", "score": -0.07743780314922333 }, "else": { "operation": "boost", "score": -0.3128858208656311 } }, "else": { "operation": "boost", "score": -0.02844611555337906 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 357084.0, "then": { "operation": "boost", "score": 0.09778138250112534 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06281501054763794, "then": { "operation": "boost", "score": -0.03905877843499184 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.06402251869440079 }, "else": { "operation": "boost", "score": 0.12843111157417297 } }, "else": { "operation": "boost", "score": 0.009481553919613361 } }, "else": { "operation": "boost", "score": -0.010601954534649849 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11195548623800278 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.0039424775168299675 }, "else": { "operation": "boost", "score": 0.09675705432891846 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0008221819880418479 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0037627536803483963 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03864649310708046 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.07260299474000931 }, "else": { "operation": "boost", "score": 0.023554252460598946 } }, "else": { "operation": "boost", "score": -0.11506088823080063 } } }, "else": { "operation": "boost", "score": 0.0003880017320625484 } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": 0.042762015014886856 }, "else": { "operation": "boost", "score": 0.08195562660694122 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132310.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09166666865348816, "then": { "operation": "boost", "score": -0.686982274055481 }, "else": { "operation": "boost", "score": -0.24916322529315948 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_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.12335284799337387 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119809.5, "then": { "operation": "boost", "score": -0.6211646199226379 }, "else": { "operation": "boost", "score": -0.12631435692310333 } } }, "else": { "operation": "boost", "score": 0.07388949394226074 } }, "else": { "operation": "boost", "score": 0.00185781205072999 } }, "else": { "operation": "boost", "score": -0.12919044494628906 } }, "else": { "operation": "boost", "score": 0.010352497920393944 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276057.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276350.0, "then": { "operation": "boost", "score": 0.007989158853888512 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.1580905169248581 }, "else": { "operation": "boost", "score": 0.06393841654062271 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14698158204555511 }, "else": { "operation": "boost", "score": 0.1471727192401886 } }, "else": { "operation": "boost", "score": -0.008872113190591335 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.05278874561190605 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08453966677188873 }, "else": { "operation": "boost", "score": -0.022917436435818672 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "boost", "score": 0.0849418044090271 }, "else": { "operation": "boost", "score": -0.11217544972896576 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029313594102859497 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.08954138308763504 }, "else": { "operation": "boost", "score": 0.16831807792186737 } } } } }, "else": { "operation": "boost", "score": -0.003305550431832671 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.041373006999492645 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0883350595831871 }, "else": { "operation": "boost", "score": -0.2281647026538849 } } }, "else": { "operation": "boost", "score": -0.017601795494556427 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.14675436913967133 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 101593.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.12760749459266663 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 157834.5, "then": { "operation": "boost", "score": 0.26984649896621704 }, "else": { "operation": "boost", "score": -0.08264260739088058 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.12644672393798828 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.09609373658895493 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.029114559292793274 }, "else": { "operation": "boost", "score": 0.09947433322668076 } } } } } }, "else": { "operation": "boost", "score": -0.11419269442558289 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.054075345396995544 }, "else": { "operation": "boost", "score": 0.022366318851709366 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 141422.5, "then": { "operation": "boost", "score": -0.09034676849842072 }, "else": { "operation": "boost", "score": 0.0509081706404686 } }, "else": { "operation": "boost", "score": -0.0037300819531083107 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "boost", "score": -0.06973635405302048 }, "else": { "operation": "boost", "score": 0.08886713534593582 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "boost", "score": 0.10053142160177231 }, "else": { "operation": "boost", "score": -0.007679884321987629 } }, "else": { "operation": "boost", "score": 0.09709756821393967 } }, "else": { "operation": "boost", "score": 0.0780504122376442 } }, "else": { "operation": "boost", "score": 0.01750778779387474 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05234197527170181 }, "else": { "operation": "boost", "score": -0.1298128068447113 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92051.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2723238170146942 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.15045997500419617 }, "else": { "operation": "boost", "score": -0.13374216854572296 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93657.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.5465219020843506 }, "else": { "operation": "boost", "score": 0.07396252453327179 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.20210714638233185 }, "else": { "operation": "boost", "score": 0.10217230021953583 } } }, "else": { "operation": "boost", "score": 0.005702515598386526 } }, "else": { "operation": "boost", "score": -0.03748243674635887 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88678.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90096.0, "then": { "operation": "boost", "score": -0.004293324425816536 }, "else": { "operation": "boost", "score": 0.04789954796433449 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57410.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59476.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61155.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87006.5, "then": { "operation": "boost", "score": 0.11426528543233871 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.05282732471823692 }, "else": { "operation": "boost", "score": -0.0011603570310398936 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.042646750807762146 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.005959104746580124 }, "else": { "operation": "boost", "score": -0.0573328398168087 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04217028245329857 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.1039172112941742 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.18249528110027313 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": -0.2079637050628662 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.24588775634765625 }, "else": { "operation": "boost", "score": -0.8834623694419861 } } } } }, "else": { "operation": "boost", "score": -0.1706763207912445 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57673.0, "then": { "operation": "boost", "score": 0.06758628785610199 }, "else": { "operation": "boost", "score": -0.9590389132499695 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58073.0, "then": { "operation": "boost", "score": -0.015327426604926586 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.06758396327495575 }, "else": { "operation": "boost", "score": 0.12087009847164154 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17366725206375122 }, "else": { "operation": "boost", "score": 0.08881248533725739 } }, "else": { "operation": "boost", "score": -0.12611457705497742 } } } }, "else": { "operation": "boost", "score": -0.15447503328323364 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": -0.18403728306293488 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.19369907677173615 }, "else": { "operation": "boost", "score": 0.11576544493436813 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13453316688537598 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55726.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09046938270330429 }, "else": { "operation": "boost", "score": -0.003600657917559147 } }, "else": { "operation": "boost", "score": 0.0889262706041336 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.34104904532432556 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09472601860761642 }, "else": { "operation": "boost", "score": 0.13790446519851685 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.44866588711738586 }, "else": { "operation": "boost", "score": -0.0666348785161972 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.14256510138511658 }, "else": { "operation": "boost", "score": 0.14864718914031982 } }, "else": { "operation": "boost", "score": -0.1042235791683197 } }, "else": { "operation": "boost", "score": -0.2504730522632599 } }, "else": { "operation": "boost", "score": -0.14009593427181244 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51599.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005164545029401779 }, "else": { "operation": "boost", "score": -0.09338006377220154 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08368027955293655 }, "else": { "operation": "boost", "score": -0.20896604657173157 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1378137171268463 }, "else": { "operation": "boost", "score": -0.08401543647050858 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42438.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45623.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47131.5, "then": { "operation": "boost", "score": 0.0634288415312767 }, "else": { "operation": "boost", "score": 0.0280819870531559 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.12047077715396881 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.11317802220582962 }, "else": { "operation": "boost", "score": 0.14250628650188446 } }, "else": { "operation": "boost", "score": 0.06568653881549835 } } }, "else": { "operation": "boost", "score": -0.11797633767127991 } }, "else": { "operation": "boost", "score": 0.06681079417467117 } } }, "else": { "operation": "boost", "score": -0.1865263134241104 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45617.0, "then": { "operation": "boost", "score": -0.06754403561353683 }, "else": { "operation": "boost", "score": -0.44468069076538086 } }, "else": { "operation": "boost", "score": -0.03383323922753334 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.015077335759997368 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.10929617285728455 }, "else": { "operation": "boost", "score": 0.11940700560808182 } } }, "else": { "operation": "boost", "score": 0.11737606674432755 } }, "else": { "operation": "boost", "score": 0.04583512246608734 } } }, "else": { "operation": "boost", "score": -0.032772570848464966 } }, "else": { "operation": "boost", "score": -0.00025789858773350716 } } } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Variable" ], "then": { "operation": "boost", "score": 0.00480049941688776 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0017169448547065258 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.014588505029678345 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.0715414360165596 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.37690240144729614 }, "else": { "operation": "boost", "score": 0.13235364854335785 } } }, "else": { "operation": "boost", "score": 0.03440210595726967 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.12700162827968597 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06124419718980789 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": 0.16026411950588226 }, "else": { "operation": "boost", "score": 0.1474202275276184 } } }, "else": { "operation": "boost", "score": -0.11728993058204651 } }, "else": { "operation": "boost", "score": 0.049110911786556244 } }, "else": { "operation": "boost", "score": 0.0045126816257834435 } } }, "else": { "operation": "boost", "score": 0.003518004436045885 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.006430324167013168 }, "else": { "operation": "boost", "score": -0.061479922384023666 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.09210403263568878 }, "else": { "operation": "boost", "score": -0.1799926906824112 } }, "else": { "operation": "boost", "score": 0.13398650288581848 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.024547211825847626 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10364461690187454 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.16845348477363586 }, "else": { "operation": "boost", "score": 0.0404927134513855 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.019660381600260735 }, "else": { "operation": "boost", "score": 0.12136168032884598 } }, "else": { "operation": "boost", "score": 0.06208306923508644 } }, "else": { "operation": "boost", "score": -0.03183579444885254 } }, "else": { "operation": "boost", "score": -0.0013827894581481814 } }, "else": { "operation": "boost", "score": -0.08577315509319305 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.012890866957604885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12108666449785233 }, "else": { "operation": "boost", "score": 0.011921885423362255 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11560514569282532 }, "else": { "operation": "boost", "score": 0.07386458665132523 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.13347645103931427 }, "else": { "operation": "boost", "score": 0.1696886271238327 } }, "else": { "operation": "boost", "score": 0.03772507235407829 } }, "else": { "operation": "boost", "score": 0.027943428605794907 } }, "else": { "operation": "boost", "score": -0.0872269794344902 } } } } }, "else": { "operation": "boost", "score": 0.09525593370199203 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.12275102734565735 }, "else": { "operation": "boost", "score": 0.0466352179646492 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.11299125105142593 }, "else": { "operation": "boost", "score": 0.021999020129442215 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.04977016523480415 }, "else": { "operation": "boost", "score": -0.07240293174982071 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08020734786987305 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": -0.07115583121776581 }, "else": { "operation": "boost", "score": 0.12259607017040253 } }, "else": { "operation": "boost", "score": 0.0421726256608963 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.2259305864572525 }, "else": { "operation": "boost", "score": 0.020512670278549194 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07420738786458969 }, "else": { "operation": "boost", "score": -0.11212236434221268 } }, "else": { "operation": "boost", "score": 0.07351186126470566 } } } } } }, "else": { "operation": "boost", "score": -0.037530843168497086 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.001984178088605404 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.6094319224357605 }, "else": { "operation": "boost", "score": -0.10185319185256958 } }, "else": { "operation": "boost", "score": -0.14110101759433746 } }, "else": { "operation": "boost", "score": 0.008782957680523396 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07224049419164658 }, "else": { "operation": "boost", "score": -0.3626664876937866 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.635258674621582 }, "else": { "operation": "boost", "score": -0.041285037994384766 } }, "else": { "operation": "boost", "score": 0.17717880010604858 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11109907180070877 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1930171698331833 }, "else": { "operation": "boost", "score": -0.100754514336586 } } }, "else": { "operation": "boost", "score": -0.012769154272973537 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10815604031085968 }, "else": { "operation": "boost", "score": 0.1394059658050537 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.10030192881822586 }, "else": { "operation": "boost", "score": -0.11646389961242676 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.05402425304055214 }, "else": { "operation": "boost", "score": 0.1577555239200592 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.12686727941036224 }, "else": { "operation": "boost", "score": 0.03440793603658676 } } }, "else": { "operation": "boost", "score": 0.009188038296997547 } }, "else": { "operation": "boost", "score": 0.01843033730983734 } }, "else": { "operation": "boost", "score": 0.2493181675672531 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2903.0, "then": { "operation": "boost", "score": -0.11428085714578629 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.0187400933355093 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.054823022335767746 }, "else": { "operation": "boost", "score": 0.17495658993721008 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.003715021535754204 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "boost", "score": 0.13439059257507324 }, "else": { "operation": "boost", "score": 0.06792492419481277 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0017625265754759312 }, "else": { "operation": "boost", "score": -0.08088815957307816 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.05505024641752243 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.10964030772447586 }, "else": { "operation": "boost", "score": -0.15394020080566406 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.14028723537921906 }, "else": { "operation": "boost", "score": 0.21692292392253876 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.04848131164908409 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.0159112811088562 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -1.9753613471984863 }, "else": { "operation": "boost", "score": -0.1423199623823166 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2899159789085388, "then": { "operation": "boost", "score": 0.01941792294383049 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67.0, "then": { "operation": "boost", "score": 0.12723077833652496 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11803723871707916 }, "else": { "operation": "boost", "score": 0.02415584959089756 } } }, "else": { "operation": "boost", "score": -0.00760948471724987 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.031065762042999268 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.34285715222358704, "then": { "operation": "boost", "score": 0.10158222168684006 }, "else": { "operation": "boost", "score": 0.11867813766002655 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.09946663677692413 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.13367019593715668 }, "else": { "operation": "boost", "score": -0.1261087954044342 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1067313477396965 }, "else": { "operation": "boost", "score": 0.020844224840402603 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": -0.019554898142814636 }, "else": { "operation": "boost", "score": 0.08376150578260422 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11699432879686356 }, "else": { "operation": "boost", "score": 0.026283755898475647 } }, "else": { "operation": "boost", "score": -0.02294413559138775 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2808.5, "then": { "operation": "boost", "score": 0.11141648888587952 }, "else": { "operation": "boost", "score": -0.028016062453389168 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030047481879591942 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.023644840344786644 }, "else": { "operation": "boost", "score": -0.06379786878824234 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05206817761063576 }, "else": { "operation": "boost", "score": -0.01968207210302353 } } }, "else": { "operation": "boost", "score": -0.0008875893545337021 } } }, "else": { "operation": "boost", "score": -0.02917776070535183 } } } } }, "else": { "operation": "boost", "score": -0.00023543900169897825 } }, { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18614718317985535, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.034662190824747086 }, "else": { "operation": "boost", "score": 0.14550505578517914 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021871337667107582 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.05570063367486 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07830731570720673 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.02354576624929905 }, "else": { "operation": "boost", "score": -0.1277683973312378 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.013567346148192883 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08325850963592529 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.013657866977155209 }, "else": { "operation": "boost", "score": -0.3273825943470001 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.45299145579338074, "then": { "operation": "boost", "score": 0.010637234896421432 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1478797197341919 }, "else": { "operation": "boost", "score": -0.1042928397655487 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.048243798315525055 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.09980588406324387 }, "else": { "operation": "boost", "score": -0.3041895925998688 } }, "else": { "operation": "boost", "score": -0.2689448893070221 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 274.5, "then": { "operation": "boost", "score": 0.1428626924753189 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.060277972370386124 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "boost", "score": -0.3171706795692444 }, "else": { "operation": "boost", "score": 0.11400813609361649 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.004201027099043131 }, "else": { "operation": "boost", "score": -0.10199904441833496 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.1063314825296402 }, "else": { "operation": "boost", "score": -0.0149640878662467 } } } } }, "else": { "operation": "boost", "score": 0.14867909252643585 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021099580451846123 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.007739981636404991 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.015966122969985008 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.06359583139419556 }, "else": { "operation": "boost", "score": 0.11337349563837051 } }, "else": { "operation": "boost", "score": 0.04164956510066986 } } } }, "else": { "operation": "boost", "score": 0.0022746282629668713 } } }, "else": { "operation": "boost", "score": -0.001460812403820455 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 572.5, "then": { "operation": "boost", "score": 0.010004013776779175 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06812125444412231 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15332196652889252 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.04851152002811432 }, "else": { "operation": "boost", "score": 0.1341940015554428 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04586823657155037 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.16122490167617798 }, "else": { "operation": "boost", "score": 0.020835870876908302 } } } } }, "else": { "operation": "boost", "score": -0.006424418184906244 } }, "else": { "operation": "boost", "score": 0.006461850833147764 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.11438813805580139 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 102.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.07638148218393326 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 151.0, "then": { "operation": "boost", "score": 0.14056231081485748 }, "else": { "operation": "boost", "score": 0.016108030453324318 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176.5, "then": { "operation": "boost", "score": -0.008305778726935387 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 117.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.00495120557025075 }, "else": { "operation": "boost", "score": 0.1857789307832718 } }, "else": { "operation": "boost", "score": 0.1455736607313156 } }, "else": { "operation": "boost", "score": -0.20810995995998383 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11406100541353226 }, "else": { "operation": "boost", "score": 0.02693101577460766 } }, "else": { "operation": "boost", "score": 0.12302698940038681 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.10464855283498764 }, "else": { "operation": "boost", "score": 0.046224918216466904 } } } }, "else": { "operation": "boost", "score": -0.07214939594268799 } }, "else": { "operation": "boost", "score": 0.061354801058769226 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 89.0, "then": { "operation": "boost", "score": 0.1255621314048767 }, "else": { "operation": "boost", "score": -0.2857263386249542 } }, "else": { "operation": "boost", "score": -0.018571622669696808 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.11824687570333481 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1525953859090805 }, "else": { "operation": "boost", "score": 0.11436537653207779 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.12687215209007263 }, "else": { "operation": "boost", "score": -0.13549548387527466 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "boost", "score": 0.1295304298400879 }, "else": { "operation": "boost", "score": 0.17901955544948578 } }, "else": { "operation": "boost", "score": 0.08903435617685318 } }, "else": { "operation": "boost", "score": -0.16066418588161469 } } } } }, "else": { "operation": "boost", "score": 0.008133349940180779 } } } }, "else": { "operation": "boost", "score": -0.006971422117203474 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.007604220416396856 }, "else": { "operation": "boost", "score": 0.15459363162517548 } }, "else": { "operation": "boost", "score": -0.01071099005639553 } }, "else": { "operation": "boost", "score": 0.037132300436496735 } } }, "else": { "operation": "boost", "score": 0.018306156620383263 } } }, "else": { "operation": "boost", "score": -0.10725169628858566 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.11837832629680634 }, "else": { "operation": "boost", "score": 0.14553427696228027 } }, "else": { "operation": "boost", "score": -0.03137988597154617 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "boost", "score": 0.002613233169540763 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "boost", "score": 0.12983573973178864 }, "else": { "operation": "boost", "score": 0.048625729978084564 } } } }, "else": { "operation": "boost", "score": 0.008025349117815495 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08116883039474487, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.4371388256549835 }, "else": { "operation": "boost", "score": 0.19425779581069946 } }, "else": { "operation": "boost", "score": 0.10154091566801071 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.049844272434711456 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2153846174478531, "then": { "operation": "boost", "score": 0.1794823259115219 }, "else": { "operation": "boost", "score": 0.15397141873836517 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.07102663815021515 }, "else": { "operation": "boost", "score": 0.13831348717212677 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.06425700336694717 }, "else": { "operation": "boost", "score": 0.12156404554843903 } }, "else": { "operation": "boost", "score": 0.004730757791548967 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": -0.12015175074338913 }, "else": { "operation": "boost", "score": 0.03502603620290756 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.12230388075113297 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.05436760559678078 }, "else": { "operation": "boost", "score": -0.024386078119277954 } } } }, "else": { "operation": "boost", "score": 0.0015726088313385844 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3273809552192688, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.0009047677740454674 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1589689999818802 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13964195549488068 }, "else": { "operation": "boost", "score": 0.08637482672929764 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.06337094306945801 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.1274796724319458 }, "else": { "operation": "boost", "score": 0.13841785490512848 } }, "else": { "operation": "boost", "score": 0.09031543135643005 } } } } }, "else": { "operation": "boost", "score": -0.20278124511241913 } }, "else": { "operation": "boost", "score": 0.007403599098324776 } }, "else": { "operation": "boost", "score": -0.036483753472566605 } }, "else": { "operation": "boost", "score": -0.016630331054329872 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.29698508977890015 }, "else": { "operation": "boost", "score": 0.06609175354242325 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03520607575774193 }, "else": { "operation": "boost", "score": -0.10664734244346619 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23523584008216858 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03956470638513565 }, "else": { "operation": "boost", "score": -0.06931321322917938 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09136252850294113 }, "else": { "operation": "boost", "score": 0.05944523960351944 } } } }, "else": { "operation": "boost", "score": -0.15755771100521088 } } } } }, "else": { "operation": "boost", "score": -0.0001344587217317894 } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10620300471782684, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5982142686843872, "then": { "operation": "boost", "score": -0.053838782012462616 }, "else": { "operation": "boost", "score": 0.0738590881228447 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -0.34465640783309937 }, "else": { "operation": "boost", "score": 0.016563082113862038 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0889667347073555 }, "else": { "operation": "boost", "score": 0.011920137330889702 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.35123008489608765 }, "else": { "operation": "boost", "score": 0.02211940661072731 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.020785963162779808 }, "else": { "operation": "boost", "score": -0.005825710482895374 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.13002346456050873 }, "else": { "operation": "boost", "score": 0.1276245266199112 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.005393794272094965 }, "else": { "operation": "boost", "score": 0.07110686600208282 } } }, "else": { "operation": "boost", "score": -0.03051151894032955 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1309794932603836 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.18545038998126984 }, "else": { "operation": "boost", "score": -0.42102760076522827 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.09564023464918137 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.041886184364557266 }, "else": { "operation": "boost", "score": -0.23729431629180908 } }, "else": { "operation": "boost", "score": 0.028055939823389053 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.10507132858037949 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.18022115528583527 }, "else": { "operation": "boost", "score": 0.09831968694925308 } } }, "else": { "operation": "boost", "score": -0.014391105622053146 } }, "else": { "operation": "boost", "score": 0.25607162714004517 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.0165037140250206 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.03755218908190727 }, "else": { "operation": "boost", "score": 0.09660116583108902 } }, "else": { "operation": "boost", "score": 0.10852464288473129 } }, "else": { "operation": "boost", "score": -0.11836320161819458 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11765944957733154 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.12851077318191528 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12858018279075623 }, "else": { "operation": "boost", "score": 0.11425051093101501 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.02048199065029621 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.15340909361839294, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.08415746688842773 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.08532875776290894 }, "else": { "operation": "boost", "score": 0.1406739503145218 } } }, "else": { "operation": "boost", "score": -0.10429446399211884 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04882584512233734 }, "else": { "operation": "boost", "score": -0.29997316002845764 } } } } }, "else": { "operation": "boost", "score": 0.013645939528942108 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 227.5, "then": { "operation": "boost", "score": 0.06905807554721832 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7916666269302368, "then": { "operation": "boost", "score": 0.11796087771654129 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.0, "then": { "operation": "boost", "score": -0.01447319332510233 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1092524304986 }, "else": { "operation": "boost", "score": 0.09098970144987106 } } }, "else": { "operation": "boost", "score": -0.004009436350315809 } }, "else": { "operation": "boost", "score": -0.04375835508108139 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 115.5, "then": { "operation": "boost", "score": -0.14635734260082245 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2817460298538208, "then": { "operation": "boost", "score": 0.008970575407147408 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004981586243957281 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11930166929960251 }, "else": { "operation": "boost", "score": 0.16838940978050232 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12598353624343872 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.10014889389276505 }, "else": { "operation": "boost", "score": -0.9736359715461731 } } }, "else": { "operation": "boost", "score": -0.04046115279197693 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010138723999261856 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "boost", "score": 0.029506072402000427 }, "else": { "operation": "boost", "score": 0.12497296184301376 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.169659823179245 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.06743987649679184 }, "else": { "operation": "boost", "score": 0.1397862732410431 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.004540731199085712 }, "else": { "operation": "boost", "score": 0.0894433781504631 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.016309097409248352 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.09901214390993118 }, "else": { "operation": "boost", "score": 0.01394380908459425 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.24398525059223175 }, "else": { "operation": "boost", "score": 0.019356463104486465 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.05761319771409035 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07376865297555923 }, "else": { "operation": "boost", "score": -0.1460408866405487 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.07152915745973587 }, "else": { "operation": "boost", "score": -0.22489187121391296 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.12909886240959167 }, "else": { "operation": "boost", "score": 0.15422536432743073 } }, "else": { "operation": "boost", "score": 0.0115790581330657 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.4506838917732239 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.072862908244133 }, "else": { "operation": "boost", "score": -0.02404257468879223 } } } } } } }, "else": { "operation": "boost", "score": -0.13393384218215942 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.05998018756508827 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.9783933162689209 }, "else": { "operation": "boost", "score": -0.0997808650135994 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.2020006626844406 }, "else": { "operation": "boost", "score": 0.0866333395242691 } } } }, "else": { "operation": "boost", "score": -0.008285683579742908 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.14906463027000427 }, "else": { "operation": "boost", "score": -0.11203208565711975 } }, "else": { "operation": "boost", "score": 0.005140598397701979 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0011032222537323833 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "boost", "score": 0.05911281704902649 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.16917258501052856 }, "else": { "operation": "boost", "score": 0.028259048238396645 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07468590140342712 }, "else": { "operation": "boost", "score": -0.02702506072819233 } }, "else": { "operation": "boost", "score": -0.09715051203966141 } }, "else": { "operation": "boost", "score": -0.006953389849513769 } } } } }, "else": { "operation": "boost", "score": 0.011201594024896622 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.001618824782781303 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.040158435702323914 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08130119740962982 }, "else": { "operation": "boost", "score": 0.007388721685856581 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.011422811076045036 }, "else": { "operation": "boost", "score": -0.012499036267399788 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.10804849863052368 }, "else": { "operation": "boost", "score": -0.08500047028064728 } } } }, "else": { "operation": "boost", "score": -0.0016668552998453379 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.00170743593480438 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 540.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 544.5, "then": { "operation": "boost", "score": 0.008381959050893784 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 542.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 1.3412247896194458 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.14642727375030518 }, "else": { "operation": "boost", "score": -0.1546860784292221 } } }, "else": { "operation": "boost", "score": 0.09488687664270401 } }, "else": { "operation": "boost", "score": -0.09578945487737656 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 535.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15524917840957642 }, "else": { "operation": "boost", "score": -0.11450574547052383 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03088502585887909 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05544942989945412 }, "else": { "operation": "boost", "score": -0.026464831084012985 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "boost", "score": -0.04682578891515732 }, "else": { "operation": "boost", "score": 0.005959755275398493 } } } }, "else": { "operation": "boost", "score": 0.0009145672665908933 } }, "else": { "operation": "boost", "score": -0.0008917553350329399 } } } } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18614718317985535, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.0656556785106659 }, "else": { "operation": "boost", "score": 0.13931237161159515 } }, "else": { "operation": "boost", "score": 0.018920212984085083 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.09171800315380096 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.020288940519094467 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.06307583302259445 }, "else": { "operation": "boost", "score": -0.07274977117776871 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.09207173436880112 }, "else": { "operation": "boost", "score": 0.023978129029273987 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5982142686843872, "then": { "operation": "boost", "score": 0.015891041606664658 }, "else": { "operation": "boost", "score": 0.1563151776790619 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.43944665789604187 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.07965316623449326 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.4920058846473694 }, "else": { "operation": "boost", "score": 0.02975708618760109 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6696428656578064, "then": { "operation": "boost", "score": 0.12664978206157684 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.5173037052154541 }, "else": { "operation": "boost", "score": 0.1469915360212326 } } }, "else": { "operation": "boost", "score": -0.1587333083152771 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.12595391273498535 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11268199235200882 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.09497799724340439 }, "else": { "operation": "boost", "score": 0.1264118105173111 } } }, "else": { "operation": "boost", "score": 0.08332827687263489 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.2520126700401306 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "boost", "score": 0.21828004717826843 }, "else": { "operation": "boost", "score": 0.005248914938420057 } }, "else": { "operation": "boost", "score": 0.09075935930013657 } } } } } }, "else": { "operation": "boost", "score": -0.014852338470518589 } } }, "else": { "operation": "boost", "score": 0.014256265945732594 } } }, "else": { "operation": "boost", "score": -0.002354390686377883 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38181817531585693, "then": { "operation": "boost", "score": 0.12259640544652939 }, "else": { "operation": "boost", "score": 0.14076916873455048 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09086594730615616 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12421491742134094 }, "else": { "operation": "boost", "score": 0.1297723948955536 } }, "else": { "operation": "boost", "score": 0.05902782455086708 } } } }, "else": { "operation": "boost", "score": -0.016728632152080536 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.10489281266927719 }, "else": { "operation": "boost", "score": 0.07049840688705444 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.088730089366436 }, "else": { "operation": "boost", "score": -0.049539271742105484 } } } }, "else": { "operation": "boost", "score": 0.14408545196056366 } }, "else": { "operation": "boost", "score": -0.0007587576983496547 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "boost", "score": 0.008968564681708813 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.004225763957947493 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.00230037746950984 }, "else": { "operation": "boost", "score": 0.025420241057872772 } }, "else": { "operation": "boost", "score": -0.0025289850309491158 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04999454692006111 }, "else": { "operation": "boost", "score": 0.1596284955739975 } }, "else": { "operation": "boost", "score": 0.00978131778538227 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.31111112236976624, "then": { "operation": "boost", "score": 0.6824629306793213 }, "else": { "operation": "boost", "score": 0.23633630573749542 } }, "else": { "operation": "boost", "score": 0.03232301399111748 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16712330281734467 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.22843775153160095 }, "else": { "operation": "boost", "score": 0.0773436650633812 } } }, "else": { "operation": "boost", "score": 0.014290818013250828 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60.5, "then": { "operation": "boost", "score": 0.12768830358982086 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.028439583256840706 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.0058653042651712894 }, "else": { "operation": "boost", "score": 0.09563468396663666 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11514876782894135 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.09022029489278793 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.1840452253818512 }, "else": { "operation": "boost", "score": 0.5627285242080688 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": -0.00015264614194165915 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10612396895885468 }, "else": { "operation": "boost", "score": 0.09006668627262115 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.06980299949645996 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": -0.21418820321559906 }, "else": { "operation": "boost", "score": 0.007536131422966719 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.06547964364290237 }, "else": { "operation": "boost", "score": -0.15834327042102814 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.05626197159290314 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.17504650354385376 }, "else": { "operation": "boost", "score": -0.09033771604299545 } }, "else": { "operation": "boost", "score": 0.07874274998903275 } }, "else": { "operation": "boost", "score": 0.014739397913217545 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -1.2317357063293457 }, "else": { "operation": "boost", "score": 0.0030882006976753473 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": 0.030548501759767532 }, "else": { "operation": "boost", "score": 0.11831990629434586 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.1445479691028595 }, "else": { "operation": "boost", "score": 0.13976353406906128 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11475202441215515 }, "else": { "operation": "boost", "score": -0.07275156676769257 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87.5, "then": { "operation": "boost", "score": 0.1632453203201294 }, "else": { "operation": "boost", "score": 0.061644576489925385 } }, "else": { "operation": "boost", "score": -0.007732229772955179 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0148649662733078 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.026970770210027695 }, "else": { "operation": "boost", "score": -0.1981055736541748 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.003312034299597144 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 227.5, "then": { "operation": "boost", "score": -0.20657527446746826 }, "else": { "operation": "boost", "score": 0.027409400790929794 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259.5, "then": { "operation": "boost", "score": -0.220645472407341 }, "else": { "operation": "boost", "score": -0.00823164265602827 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1515507698059082 }, "else": { "operation": "boost", "score": 0.05682593211531639 } }, "else": { "operation": "boost", "score": 0.006396080367267132 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.007453237194567919 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.011746163479983807 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006868894211947918 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03541671112179756 }, "else": { "operation": "boost", "score": 0.048796575516462326 } }, "else": { "operation": "boost", "score": 0.0008789560524746776 } } }, "else": { "operation": "boost", "score": -0.12185027450323105 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.09210903942584991 }, "else": { "operation": "boost", "score": 0.061508528888225555 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0731855034828186 }, "else": { "operation": "boost", "score": 0.050663527101278305 } } }, "else": { "operation": "boost", "score": -0.008223721757531166 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.0404713936150074 }, "else": { "operation": "boost", "score": -0.03144324570894241 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.12555186450481415 }, "else": { "operation": "boost", "score": -0.1985408067703247 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1243395134806633 }, "else": { "operation": "boost", "score": 0.008081657811999321 } } }, "else": { "operation": "boost", "score": 0.013221094384789467 } } }, "else": { "operation": "boost", "score": 0.0006354946526698768 } } }, "else": { "operation": "boost", "score": -0.0015402418794110417 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.09227432310581207 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.1324118822813034 }, "else": { "operation": "boost", "score": -0.09359577298164368 } } } } }, "else": { "operation": "boost", "score": -0.09328766167163849 } } } } }, "else": { "operation": "boost", "score": -0.096468985080719 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3827838897705078, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11880363523960114 }, "else": { "operation": "boost", "score": 0.0056070731952786446 } }, "else": { "operation": "boost", "score": 0.1202285885810852 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02366735227406025 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26223.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 245728.5, "then": { "operation": "boost", "score": -0.2399723082780838 }, "else": { "operation": "boost", "score": 0.02566828764975071 } }, "else": { "operation": "boost", "score": 0.10254884511232376 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.004057141486555338 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.09052487462759018 }, "else": { "operation": "boost", "score": -0.06626220047473907 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.10779812186956406 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6388.5, "then": { "operation": "boost", "score": 0.10063917934894562 }, "else": { "operation": "boost", "score": 0.1049899086356163 } } }, "else": { "operation": "boost", "score": 0.10927402973175049 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.006642133928835392 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": -0.00227805832400918 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.105103500187397 }, "else": { "operation": "boost", "score": -1.0292984247207642 } }, "else": { "operation": "boost", "score": -0.08896152675151825 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0033725479152053595 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.039821475744247437 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.15394443273544312 }, "else": { "operation": "boost", "score": -0.09409262984991074 } }, "else": { "operation": "boost", "score": 0.040822722017765045 } }, "else": { "operation": "boost", "score": 0.12390165776014328 } }, "else": { "operation": "boost", "score": 0.01997394487261772 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1316.0, "then": { "operation": "boost", "score": -0.06884437799453735 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": -0.10568825155496597 }, "else": { "operation": "boost", "score": 0.16453799605369568 } }, "else": { "operation": "boost", "score": -0.039464071393013 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.00679179560393095 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.049788765609264374 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06511328369379044 }, "else": { "operation": "boost", "score": 0.11380530893802643 } }, "else": { "operation": "boost", "score": -0.0353311151266098 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.05018428713083267 }, "else": { "operation": "boost", "score": 0.03227127343416214 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.01600530929863453 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -0.4075877368450165 }, "else": { "operation": "boost", "score": 0.016575712710618973 } } } } } } } }, "else": { "operation": "boost", "score": -0.02276906743645668 } } }, "else": { "operation": "boost", "score": -0.0023559273686259985 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 284.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 335.0, "then": { "operation": "boost", "score": -0.007591265253722668 }, "else": { "operation": "boost", "score": 0.1298300176858902 } }, "else": { "operation": "boost", "score": 0.033646516501903534 } }, "else": { "operation": "boost", "score": 0.13274633884429932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276.5, "then": { "operation": "boost", "score": -0.356397807598114 }, "else": { "operation": "boost", "score": 0.012193044647574425 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.15679173171520233 }, "else": { "operation": "boost", "score": -0.1551242172718048 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.12483739107847214 }, "else": { "operation": "boost", "score": 0.18335136771202087 } }, "else": { "operation": "boost", "score": -0.03420880809426308 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.05157845467329025 }, "else": { "operation": "boost", "score": 0.13996493816375732 } }, "else": { "operation": "boost", "score": -0.3057248592376709 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09962230920791626 }, "else": { "operation": "boost", "score": -0.042923785746097565 } }, "else": { "operation": "boost", "score": -0.26152631640434265 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10024499148130417 }, "else": { "operation": "boost", "score": -0.062453433871269226 } }, "else": { "operation": "boost", "score": -0.155215784907341 } } }, "else": { "operation": "boost", "score": -0.010976498946547508 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.012414990924298763 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07942523807287216 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.030782021582126617 }, "else": { "operation": "boost", "score": 0.13077950477600098 } } }, "else": { "operation": "boost", "score": 0.046977393329143524 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3266.0, "then": { "operation": "boost", "score": -0.35862496495246887 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2388.5, "then": { "operation": "boost", "score": 0.12830030918121338 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 606.5, "then": { "operation": "boost", "score": -0.20777231454849243 }, "else": { "operation": "boost", "score": 0.005752937868237495 } } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.07899049669504166 }, "else": { "operation": "boost", "score": 0.030951853841543198 } }, "else": { "operation": "boost", "score": 0.011075994931161404 } }, "else": { "operation": "boost", "score": -0.025231000036001205 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.030601518228650093 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.03669579327106476 }, "else": { "operation": "boost", "score": -0.0030609529931098223 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 478260.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.017562206834554672 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.1008334830403328 }, "else": { "operation": "boost", "score": 0.09344089776277542 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16004447638988495 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007226993329823017 }, "else": { "operation": "boost", "score": -0.013607353903353214 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.035022132098674774 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.31387341022491455 }, "else": { "operation": "boost", "score": -0.9828953742980957 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.043892838060855865 }, "else": { "operation": "boost", "score": -0.08691340684890747 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.0636647567152977 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11993.5, "then": { "operation": "boost", "score": -0.12997455894947052 }, "else": { "operation": "boost", "score": -0.020175281912088394 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0929722785949707 }, "else": { "operation": "boost", "score": 0.13875281810760498 } }, "else": { "operation": "boost", "score": 0.033298883587121964 } }, "else": { "operation": "boost", "score": 0.00020849051361437887 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.12565825879573822 }, "else": { "operation": "boost", "score": 0.05669768154621124 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.035030487924814224 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.004701706580817699 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 585.0, "then": { "operation": "boost", "score": -0.018461979925632477 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.006240928079932928 }, "else": { "operation": "boost", "score": 0.02387826330959797 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.08117066323757172 }, "else": { "operation": "boost", "score": -0.10542137920856476 } }, "else": { "operation": "boost", "score": -0.033444225788116455 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.007091346196830273 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.00902818888425827 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 362.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 391.5, "then": { "operation": "boost", "score": 0.03442801162600517 }, "else": { "operation": "boost", "score": 0.1677432656288147 } }, "else": { "operation": "boost", "score": -0.02194165624678135 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.00502645131200552 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.022313173860311508 }, "else": { "operation": "boost", "score": -0.0017643598839640617 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 367822.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.07564283162355423 }, "else": { "operation": "boost", "score": 0.10251879692077637 } }, "else": { "operation": "boost", "score": 0.04714657738804817 } }, "else": { "operation": "boost", "score": -0.005794932134449482 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": -0.03952590376138687 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.025434531271457672 }, "else": { "operation": "boost", "score": -0.05277301371097565 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.11661657691001892 }, "else": { "operation": "boost", "score": -0.40470048785209656 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.14127270877361298 }, "else": { "operation": "boost", "score": 0.09495895355939865 } } }, "else": { "operation": "boost", "score": -0.020942864939570427 } } }, "else": { "operation": "boost", "score": -0.0005238158046267927 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.14569377899169922 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.09962848573923111 }, "else": { "operation": "boost", "score": -0.14863747358322144 } } }, "else": { "operation": "boost", "score": 0.004518900066614151 } }, "else": { "operation": "boost", "score": 0.0014850205043330789 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007788061164319515 }, "else": { "operation": "boost", "score": -0.02867327444255352 } }, "else": { "operation": "boost", "score": -0.001968995202332735 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06304711848497391 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01606757752597332 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.01855996996164322 }, "else": { "operation": "boost", "score": -0.27936238050460815 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 760.5, "then": { "operation": "boost", "score": -0.05131208524107933 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "boost", "score": 0.026343638077378273 }, "else": { "operation": "boost", "score": 0.0007636004011146724 } } }, "else": { "operation": "boost", "score": -0.034600432962179184 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 251353.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267824.5, "then": { "operation": "boost", "score": 0.038564737886190414 }, "else": { "operation": "boost", "score": 0.21996672451496124 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016348151490092278 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.02988412417471409 }, "else": { "operation": "boost", "score": 0.06067918241024017 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -0.5723102688789368 }, "else": { "operation": "boost", "score": 0.06655385345220566 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1121235340833664 }, "else": { "operation": "boost", "score": -0.008565587922930717 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.010480662807822227 }, "else": { "operation": "boost", "score": 0.11296875029802322 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.1448262482881546 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10941572487354279 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13375243544578552 }, "else": { "operation": "boost", "score": 0.0022574402391910553 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.028535140678286552 }, "else": { "operation": "boost", "score": -0.049029525369405746 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.023192070424556732 }, "else": { "operation": "boost", "score": 0.046527646481990814 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11876127868890762 }, "else": { "operation": "boost", "score": -0.018069887533783913 } }, "else": { "operation": "boost", "score": 0.012784565798938274 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.07505249977111816 }, "else": { "operation": "boost", "score": -0.050067752599716187 } }, "else": { "operation": "boost", "score": -0.01806742697954178 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.0021785434801131487 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26807.0, "then": { "operation": "boost", "score": -0.05221690237522125 }, "else": { "operation": "boost", "score": -0.013939378783106804 } }, "else": { "operation": "boost", "score": 0.1281937062740326 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18485.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": 0.014744539745151997 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.14270353317260742 }, "else": { "operation": "boost", "score": 0.09925219416618347 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17865.0, "then": { "operation": "boost", "score": -0.06181267648935318 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17663.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.17683443427085876 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13350608944892883 }, "else": { "operation": "boost", "score": -0.02736555226147175 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17391.0, "then": { "operation": "boost", "score": -0.15056908130645752 }, "else": { "operation": "boost", "score": 0.008290073834359646 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84795.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131852.0, "then": { "operation": "boost", "score": 0.04980821907520294 }, "else": { "operation": "boost", "score": -0.18576671183109283 } }, "else": { "operation": "boost", "score": -0.7803411483764648 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 60.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 139.5, "then": { "operation": "boost", "score": 0.11473242193460464 }, "else": { "operation": "boost", "score": 0.1834474354982376 } }, "else": { "operation": "boost", "score": 0.05262285843491554 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.08431611955165863 }, "else": { "operation": "boost", "score": 0.30538225173950195 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7358.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12525807321071625 }, "else": { "operation": "boost", "score": -0.47750529646873474 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 348.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.06900142878293991 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 505.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.16495630145072937 }, "else": { "operation": "boost", "score": 0.2940492331981659 } }, "else": { "operation": "boost", "score": -0.10365458577871323 } } }, "else": { "operation": "boost", "score": 0.0002062775893136859 } }, "else": { "operation": "boost", "score": 0.32392001152038574 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0932229682803154 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72.0, "then": { "operation": "boost", "score": -0.30205947160720825 }, "else": { "operation": "boost", "score": 0.1774294525384903 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.017985502257943153 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.0621248334646225 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 388.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2757.5, "then": { "operation": "boost", "score": 0.2434215247631073 }, "else": { "operation": "boost", "score": 0.1683986485004425 } }, "else": { "operation": "boost", "score": 0.05364115536212921 } } }, "else": { "operation": "boost", "score": -0.06921509653329849 } } }, "else": { "operation": "boost", "score": 0.4734632968902588 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.03694210201501846 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.0, "then": { "operation": "boost", "score": -0.9717908501625061 }, "else": { "operation": "boost", "score": -0.14320701360702515 } } }, "else": { "operation": "boost", "score": -1.0155678987503052 } }, "else": { "operation": "boost", "score": 0.09883683919906616 } }, "else": { "operation": "boost", "score": 0.1057049110531807 } } } }, "else": { "operation": "boost", "score": 0.017104003578424454 } }, "else": { "operation": "boost", "score": -0.06928757578134537 } }, "else": { "operation": "boost", "score": -0.018287012353539467 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.019505508244037628 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019255267456173897 }, "else": { "operation": "boost", "score": -0.04287879914045334 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09073145687580109 }, "else": { "operation": "boost", "score": 0.06200198084115982 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.0, "then": { "operation": "boost", "score": 0.14106352627277374 }, "else": { "operation": "boost", "score": -0.10002818703651428 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": -0.012739277444779873 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.10716748982667923 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.21472430229187012 }, "else": { "operation": "boost", "score": -0.10021896660327911 } } } }, "else": { "operation": "boost", "score": 0.0034011227544397116 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.025580963119864464 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 944.0, "then": { "operation": "boost", "score": -0.04183437302708626 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 913.5, "then": { "operation": "boost", "score": 0.10479770600795746 }, "else": { "operation": "boost", "score": -0.011829490773379803 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": -0.012491502799093723 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.08126470446586609 }, "else": { "operation": "boost", "score": 0.2992783188819885 } }, "else": { "operation": "boost", "score": -0.011448289267718792 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.024123333394527435 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.12162208557128906 }, "else": { "operation": "boost", "score": 0.08496797829866409 } }, "else": { "operation": "boost", "score": -0.04469956085085869 } } } } }, "else": { "operation": "boost", "score": -0.09871011227369308 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009782921522855759 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0003335924120619893 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019711680710315704 }, "else": { "operation": "boost", "score": -0.006036695092916489 } }, "else": { "operation": "boost", "score": 0.016327310353517532 } }, "else": { "operation": "boost", "score": 0.005379570182412863 } }, "else": { "operation": "boost", "score": -0.0022524830419570208 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0036476741079241037 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03704368695616722 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.065803162753582 }, "else": { "operation": "boost", "score": 0.017851008102297783 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.5746138691902161 }, "else": { "operation": "boost", "score": -0.09611846506595612 } } } }, "else": { "operation": "boost", "score": 0.0002941511629614979 } } } } } } }, { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05492208153009415 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3827838897705078, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11269547045230865 }, "else": { "operation": "boost", "score": -0.01151646114885807 } }, "else": { "operation": "boost", "score": 0.1128876656293869 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021828781813383102 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0048087118193507195 }, "else": { "operation": "boost", "score": 0.0030151018872857094 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04543843865394592 }, "else": { "operation": "boost", "score": 0.013276598416268826 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10231555253267288 }, "else": { "operation": "boost", "score": -0.030130142346024513 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.01784696616232395 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.12088329344987869 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.1275295466184616 }, "else": { "operation": "boost", "score": 0.10883251577615738 } }, "else": { "operation": "boost", "score": 0.023292699828743935 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.06202736869454384 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08721933513879776 }, "else": { "operation": "boost", "score": -0.7910801768302917 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.08049481362104416 }, "else": { "operation": "boost", "score": 0.10827133059501648 } }, "else": { "operation": "boost", "score": -0.5246350169181824 } }, "else": { "operation": "boost", "score": 0.010250476188957691 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.09604150801897049 }, "else": { "operation": "boost", "score": -0.0254798736423254 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.027588162571191788 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.02838524989783764 }, "else": { "operation": "boost", "score": -0.010356243699789047 } } }, "else": { "operation": "boost", "score": -0.0015464057214558125 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18614718317985535, "then": { "operation": "boost", "score": 0.009985058568418026 }, "else": { "operation": "boost", "score": 0.13938331604003906 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0026173803489655256 }, "else": { "operation": "boost", "score": -0.018239153549075127 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.035389598459005356 }, "else": { "operation": "boost", "score": -0.026868781074881554 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08884573727846146 }, "else": { "operation": "boost", "score": 0.13624900579452515 } }, "else": { "operation": "boost", "score": 0.07272762805223465 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.014299876987934113 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.008056914433836937 }, "else": { "operation": "boost", "score": 0.14613664150238037 } }, "else": { "operation": "boost", "score": 0.04669911414384842 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.18573302030563354 }, "else": { "operation": "boost", "score": -0.0019000038737431169 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08142352104187012 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07061293721199036 }, "else": { "operation": "boost", "score": 0.08173488825559616 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.07234552502632141 }, "else": { "operation": "boost", "score": -0.00916599202901125 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1171283945441246 }, "else": { "operation": "boost", "score": 0.12244725972414017 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.2805939316749573 }, "else": { "operation": "boost", "score": -0.0669851005077362 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.01326843537390232 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.22783175110816956 }, "else": { "operation": "boost", "score": 0.15126657485961914 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.0, "then": { "operation": "boost", "score": 0.10447061061859131 }, "else": { "operation": "boost", "score": -0.015160782262682915 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12136676162481308 }, "else": { "operation": "boost", "score": 0.14748287200927734 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.13271284103393555 }, "else": { "operation": "boost", "score": 0.05020361766219139 } }, "else": { "operation": "boost", "score": 0.04863325506448746 } }, "else": { "operation": "boost", "score": 0.004336277022957802 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09940724074840546 }, "else": { "operation": "boost", "score": -0.053252559155225754 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.27573221921920776 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.2163838893175125 }, "else": { "operation": "boost", "score": 0.19230514764785767 } }, "else": { "operation": "boost", "score": 0.07252775877714157 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.15511928498744965 }, "else": { "operation": "boost", "score": 0.0781799927353859 } }, "else": { "operation": "boost", "score": 0.0101302620023489 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.0, "then": { "operation": "boost", "score": 0.002750653773546219 }, "else": { "operation": "boost", "score": 0.16013430058956146 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188.0, "then": { "operation": "boost", "score": 0.09297393262386322 }, "else": { "operation": "boost", "score": -0.06443235278129578 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.13282901048660278 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.045227162539958954 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.09299182891845703 }, "else": { "operation": "boost", "score": 0.07087352126836777 } } }, "else": { "operation": "boost", "score": 0.01811033859848976 } } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05873231962323189 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132.0, "then": { "operation": "boost", "score": 0.1527671366930008 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.0065581039525568485 }, "else": { "operation": "boost", "score": 0.08479157090187073 } }, "else": { "operation": "boost", "score": -0.05201803892850876 } } } }, "else": { "operation": "boost", "score": -0.026385167613625526 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.5, "then": { "operation": "boost", "score": 0.07085999846458435 }, "else": { "operation": "boost", "score": -0.1416226178407669 } }, "else": { "operation": "boost", "score": 0.10971372574567795 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.2523823082447052 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.21946834027767181 }, "else": { "operation": "boost", "score": 0.2815078794956207 } }, "else": { "operation": "boost", "score": 0.14999516308307648 } } }, "else": { "operation": "boost", "score": -0.10442738980054855 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.23837910592556 }, "else": { "operation": "boost", "score": -0.03830653056502342 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00593505660071969 }, "else": { "operation": "boost", "score": -0.007662306074053049 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15739.5, "then": { "operation": "boost", "score": -0.8960301280021667 }, "else": { "operation": "boost", "score": -0.049353621900081635 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.0, "then": { "operation": "boost", "score": 3.0736919143237174e-05 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.004395286086946726 }, "else": { "operation": "boost", "score": 0.13503018021583557 } }, "else": { "operation": "boost", "score": 0.02689986489713192 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015494955703616142 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.06347891688346863 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.19765189290046692 }, "else": { "operation": "boost", "score": 0.13149411976337433 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06605442613363266 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "boost", "score": 0.16390562057495117 }, "else": { "operation": "boost", "score": -0.01411597989499569 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020758051425218582 }, "else": { "operation": "boost", "score": -0.0579846054315567 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008703641593456268 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26535.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.09155304729938507 }, "else": { "operation": "boost", "score": 0.02644176594913006 } }, "else": { "operation": "boost", "score": -0.0290871299803257 } }, "else": { "operation": "boost", "score": -0.002784009324386716 } } } } }, "else": { "operation": "boost", "score": -0.0006641882937401533 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4724.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4809.0, "then": { "operation": "boost", "score": 0.010014809668064117 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1450112760066986 }, "else": { "operation": "boost", "score": 0.06484153121709824 } } }, "else": { "operation": "boost", "score": 0.0005527889006771147 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11808482557535172 }, "else": { "operation": "boost", "score": -0.10226359963417053 } } }, "else": { "operation": "boost", "score": -0.09535988420248032 } } } }, { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10892389714717865 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.11822260916233063 }, "else": { "operation": "boost", "score": 0.05301434546709061 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.023193202912807465 }, "else": { "operation": "boost", "score": -0.1614069789648056 } }, "else": { "operation": "boost", "score": -0.027615725994110107 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.07772652059793472 }, "else": { "operation": "boost", "score": 0.06273441761732101 } } }, "else": { "operation": "boost", "score": -0.03493228927254677 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.05050090700387955 }, "else": { "operation": "boost", "score": -0.01751863956451416 } }, "else": { "operation": "boost", "score": 0.09311555325984955 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.034917574375867844 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.4393450915813446 }, "else": { "operation": "boost", "score": -0.060783758759498596 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13228.5, "then": { "operation": "boost", "score": 0.08552569150924683 }, "else": { "operation": "boost", "score": -0.10848844051361084 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.029775960370898247 }, "else": { "operation": "boost", "score": 0.08780362457036972 } } } } } }, "else": { "operation": "boost", "score": -0.023864945396780968 } }, "else": { "operation": "boost", "score": 0.007338539697229862 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0025466899387538433 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2066.5, "then": { "operation": "boost", "score": -0.12020796537399292 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1855.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13904599845409393 }, "else": { "operation": "boost", "score": -0.10096287727355957 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.0, "then": { "operation": "boost", "score": -0.13746324181556702 }, "else": { "operation": "boost", "score": 0.15982122719287872 } }, "else": { "operation": "boost", "score": -0.040857333689928055 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.15734028816223145 }, "else": { "operation": "boost", "score": 0.09526514261960983 } }, "else": { "operation": "boost", "score": -0.06606924533843994 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.10505561530590057 }, "else": { "operation": "boost", "score": -0.8070321083068848 } }, "else": { "operation": "boost", "score": -0.04968775436282158 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.27521586418151855 }, "else": { "operation": "boost", "score": 0.10640201717615128 } }, "else": { "operation": "boost", "score": 0.13588358461856842 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.1928253024816513 }, "else": { "operation": "boost", "score": 0.13902521133422852 } }, "else": { "operation": "boost", "score": -0.04580643028020859 } }, "else": { "operation": "boost", "score": 0.038208071142435074 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.0, "then": { "operation": "boost", "score": 0.08243975043296814 }, "else": { "operation": "boost", "score": -0.15271419286727905 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.12107402831315994 }, "else": { "operation": "boost", "score": 0.15006311237812042 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03589881584048271 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0022684449795633554 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.2999638020992279 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.12627819180488586 }, "else": { "operation": "boost", "score": 0.09798986464738846 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.03961500525474548 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.47887852787971497 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.03048560954630375 }, "else": { "operation": "boost", "score": -0.7869927287101746 } } } }, "else": { "operation": "boost", "score": 0.02109311893582344 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52402.5, "then": { "operation": "boost", "score": -0.15670719742774963 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32016.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.10763930529356003 }, "else": { "operation": "boost", "score": 0.10132163763046265 } }, "else": { "operation": "boost", "score": 0.02718137949705124 } }, "else": { "operation": "boost", "score": -0.028750592842698097 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.0007429310935549438 }, "else": { "operation": "boost", "score": -0.07106351107358932 } } } }, "else": { "operation": "boost", "score": 0.0001776784920366481 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.036704275757074356 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.8952358961105347 }, "else": { "operation": "boost", "score": 0.12440567463636398 } }, "else": { "operation": "boost", "score": 0.04689643904566765 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.018743246793746948 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.07864696532487869 }, "else": { "operation": "boost", "score": -0.30031922459602356 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.1334366500377655 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2023322880268097 }, "else": { "operation": "boost", "score": 0.41816896200180054 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07303783297538757 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.13028579950332642 }, "else": { "operation": "boost", "score": 0.19172808527946472 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.07009618729352951 }, "else": { "operation": "boost", "score": -0.09590594470500946 } }, "else": { "operation": "boost", "score": -0.021261516958475113 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.16642794013023376 }, "else": { "operation": "boost", "score": -0.003742254339158535 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1099986732006073 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05979524552822113 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.09557675570249557 }, "else": { "operation": "boost", "score": 0.14103424549102783 } } }, "else": { "operation": "boost", "score": -0.09297393262386322 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.00701581547036767 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.6228850483894348 }, "else": { "operation": "boost", "score": -0.022658390924334526 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017712444067001343 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10101009905338287, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.1267455518245697 }, "else": { "operation": "boost", "score": 0.1234322115778923 } }, "else": { "operation": "boost", "score": -0.22262850403785706 } }, "else": { "operation": "boost", "score": -1.0110386610031128 } }, "else": { "operation": "boost", "score": -2.5841033458709717 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.09356258809566498 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.7937946915626526 }, "else": { "operation": "boost", "score": -0.1669202744960785 } }, "else": { "operation": "boost", "score": 0.11552626639604568 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.07936793565750122 }, "else": { "operation": "boost", "score": 0.14339470863342285 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06405722349882126 }, "else": { "operation": "boost", "score": 0.017153212800621986 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.9552164077758789 }, "else": { "operation": "boost", "score": -0.09912729263305664 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07389295846223831 }, "else": { "operation": "boost", "score": 0.18322204053401947 } }, "else": { "operation": "boost", "score": 0.08646634221076965 } }, "else": { "operation": "boost", "score": 0.03248167783021927 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.049685217440128326 }, "else": { "operation": "boost", "score": 0.009361300617456436 } }, "else": { "operation": "boost", "score": 0.0021876555401831865 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1364.5, "then": { "operation": "boost", "score": 0.017298555001616478 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1338.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.00556566845625639 }, "else": { "operation": "boost", "score": 0.12588824331760406 } }, "else": { "operation": "boost", "score": 0.14400792121887207 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.0670204907655716 }, "else": { "operation": "boost", "score": -0.02401590906083584 } } } }, "else": { "operation": "boost", "score": 0.0013002667110413313 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09669066965579987 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.062019556760787964 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.12056265026330948 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.2081533521413803 }, "else": { "operation": "boost", "score": 0.09917616099119186 } } }, "else": { "operation": "boost", "score": -0.030684439465403557 } } } }, "else": { "operation": "boost", "score": -0.043084193021059036 } }, "else": { "operation": "boost", "score": -6.960803148103878e-05 } } } }, "else": { "operation": "boost", "score": -0.0005100686103105545 } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10599198192358017 }, "else": { "operation": "boost", "score": 0.09919720888137817 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01059628650546074 }, "else": { "operation": "boost", "score": -0.002184867626056075 } } }, "else": { "operation": "boost", "score": 0.008498306386172771 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.24705249071121216 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.054377760738134384 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009305290877819061 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.056664250791072845 }, "else": { "operation": "boost", "score": 0.09282737225294113 } } }, "else": { "operation": "boost", "score": -0.04795226827263832 } } }, "else": { "operation": "boost", "score": -0.011153844185173512 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 350.5, "then": { "operation": "boost", "score": -0.15406611561775208 }, "else": { "operation": "boost", "score": -0.03176485374569893 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0011927274754270911 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.011295419186353683 }, "else": { "operation": "boost", "score": -0.13277308642864227 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.106470488011837 }, "else": { "operation": "boost", "score": 0.06209517642855644 } }, "else": { "operation": "boost", "score": -0.025147901847958565 } } }, "else": { "operation": "boost", "score": 0.004255400504916906 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.04136763513088226 }, "else": { "operation": "boost", "score": 0.010432545095682144 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03100557252764702 }, "else": { "operation": "boost", "score": -0.0034042755141854286 } } }, "else": { "operation": "boost", "score": 0.09068308025598526 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.039815664291381836 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1651.0, "then": { "operation": "boost", "score": 0.05297677963972092 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.017220964655280113 }, "else": { "operation": "boost", "score": -0.041076209396123886 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.06719109416007996 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.01613902859389782 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207.0, "then": { "operation": "boost", "score": -0.4548892676830292 }, "else": { "operation": "boost", "score": 0.07963226735591888 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.003598278621211648 }, "else": { "operation": "boost", "score": 0.05515288561582565 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.00163967942353338 }, "else": { "operation": "boost", "score": -0.8645451664924622 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05056481063365936 }, "else": { "operation": "boost", "score": -0.03057483211159706 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10310691595077515 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.009226232767105103 }, "else": { "operation": "boost", "score": -0.13049030303955078 } }, "else": { "operation": "boost", "score": 0.039004433900117874 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.189262256026268 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11902729421854019 }, "else": { "operation": "boost", "score": 0.1097937524318695 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04434896633028984 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.15856745839118958 }, "else": { "operation": "boost", "score": -0.9589225053787231 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.08439026027917862 }, "else": { "operation": "boost", "score": -0.06755095720291138 } } } } } }, "else": { "operation": "boost", "score": -0.023135531693696976 } } }, "else": { "operation": "boost", "score": 0.0005845198757015169 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.03249695897102356 }, "else": { "operation": "boost", "score": -0.0053966413252055645 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.03488713130354881 }, "else": { "operation": "boost", "score": 0.08001482486724854 } }, "else": { "operation": "boost", "score": 0.0027417882811278105 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0008247844525612891 }, "else": { "operation": "boost", "score": -0.16664007306098938 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.0023325751535594463 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008756190538406372 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004717185627669096 }, "else": { "operation": "boost", "score": -0.009086435660719872 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.005352239590138197 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23080.5, "then": { "operation": "boost", "score": -0.2505795657634735 }, "else": { "operation": "boost", "score": 0.01788323186337948 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015682971104979515 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": -0.14190496504306793 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.0902668908238411 }, "else": { "operation": "boost", "score": 0.041735634207725525 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.23258869349956512 }, "else": { "operation": "boost", "score": -0.031086860224604607 } }, "else": { "operation": "boost", "score": 0.03841174766421318 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.014034941792488098 }, "else": { "operation": "boost", "score": 0.027291355654597282 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.031029099598526955 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.029517602175474167 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11714857816696167 }, "else": { "operation": "boost", "score": 0.10365407168865204 } } }, "else": { "operation": "boost", "score": 0.010832361876964569 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.02515174262225628 }, "else": { "operation": "boost", "score": -0.25154778361320496 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.09760113805532455 }, "else": { "operation": "boost", "score": 0.15809345245361328 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.28423357009887695 }, "else": { "operation": "boost", "score": 0.031375300139188766 } } }, "else": { "operation": "boost", "score": -0.0049418495036661625 } } } } } }, "else": { "operation": "boost", "score": -0.018537169322371483 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02647249773144722 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05110758915543556 }, "else": { "operation": "boost", "score": -0.04353351145982742 } }, "else": { "operation": "boost", "score": 0.00540500320494175 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": -0.010081583634018898 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": -0.14519327878952026 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12493940442800522 }, "else": { "operation": "boost", "score": 0.08030194044113159 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.2539588510990143 }, "else": { "operation": "boost", "score": 0.00507644098252058 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.04703669622540474 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.038136232644319534 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09611072391271591 }, "else": { "operation": "boost", "score": 0.09832858294248581 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.027092689648270607 }, "else": { "operation": "boost", "score": -0.2348085641860962 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.34352847933769226 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.03117714263498783 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.09234841912984848 }, "else": { "operation": "boost", "score": -0.056215718388557434 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2458588182926178 }, "else": { "operation": "boost", "score": 0.0019509608391672373 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05949778854846954 }, "else": { "operation": "boost", "score": -0.1131797805428505 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030251210555434227 }, "else": { "operation": "boost", "score": -0.0604020357131958 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.09432873129844666 }, "else": { "operation": "boost", "score": -0.00795096904039383 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20234814286231995 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.25113698840141296 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.07222909480333328 }, "else": { "operation": "boost", "score": 0.013192238286137581 } } } } }, "else": { "operation": "boost", "score": -0.032017920166254044 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 201.5, "then": { "operation": "boost", "score": 0.038438569754362106 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.019501203671097755 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008202120661735535 }, "else": { "operation": "boost", "score": -0.4079519808292389 } } } } } } }, "else": { "operation": "boost", "score": 0.00016226922161877155 } } } } } } }, { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.002141169970855117 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1224.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04411713778972626 }, "else": { "operation": "boost", "score": 0.011246765963733196 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.464102566242218, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.025388484820723534 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": -0.031860291957855225 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.0, "then": { "operation": "boost", "score": 0.13307616114616394 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.11715614795684814 }, "else": { "operation": "boost", "score": -0.09490416198968887 } } } }, "else": { "operation": "boost", "score": 0.01737179048359394 } }, "else": { "operation": "boost", "score": 0.0009096846915781498 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.027063410729169846 }, "else": { "operation": "boost", "score": 0.012378011830151081 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006893177982419729 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09353069961071014 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08659645915031433 }, "else": { "operation": "boost", "score": -0.23353266716003418 } } }, "else": { "operation": "boost", "score": -0.015436580404639244 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1340324878692627 }, "else": { "operation": "boost", "score": -0.12475567311048508 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07594645023345947 }, "else": { "operation": "boost", "score": -0.010157149285078049 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": -0.005590181797742844 }, "else": { "operation": "boost", "score": 0.11968585848808289 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.6022821068763733 }, "else": { "operation": "boost", "score": 0.019478969275951385 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.024652604013681412 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.050873901695013046 }, "else": { "operation": "boost", "score": -0.2203143835067749 } }, "else": { "operation": "boost", "score": -0.2447628378868103 } }, "else": { "operation": "boost", "score": -0.08989942818880081 } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.3011763393878937 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.3651650547981262 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10068222880363464 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.05077631399035454 }, "else": { "operation": "boost", "score": 0.05138997733592987 } }, "else": { "operation": "boost", "score": -0.06349991261959076 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06364748626947403 }, "else": { "operation": "boost", "score": -0.012933227233588696 } }, "else": { "operation": "boost", "score": -0.061976365745067596 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.019864613190293312 }, "else": { "operation": "boost", "score": 0.011059487238526344 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.11440259218215942 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17899100482463837 }, "else": { "operation": "boost", "score": -0.03424564376473427 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00324549013748765 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02448451705276966 }, "else": { "operation": "boost", "score": -0.06576202064752579 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08074300736188889 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04740794748067856 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10127896815538406 }, "else": { "operation": "boost", "score": 0.13700860738754272 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.252867728471756 }, "else": { "operation": "boost", "score": 0.20823580026626587 } }, "else": { "operation": "boost", "score": -0.024317026138305664 } } }, "else": { "operation": "boost", "score": 0.005864245351403952 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.029006537050008774 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.09484029561281204 }, "else": { "operation": "boost", "score": 0.11843878775835037 } }, "else": { "operation": "boost", "score": -0.005795067176222801 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.11509273946285248 }, "else": { "operation": "boost", "score": 0.06786924600601196 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.0073595475405454636 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.025613509118556976 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.04794185981154442 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.12062802910804749 }, "else": { "operation": "boost", "score": 0.10944059491157532 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06471014022827148 }, "else": { "operation": "boost", "score": 0.08324556052684784 } } } } }, "else": { "operation": "boost", "score": 0.0038503550458699465 } } } } }, "else": { "operation": "boost", "score": 0.0046291230246424675 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.6577861309051514 }, "else": { "operation": "boost", "score": -0.02211846597492695 } }, "else": { "operation": "boost", "score": 0.05997772142291069 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03928137570619583 }, "else": { "operation": "boost", "score": -0.05810777470469475 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.21767094731330872 }, "else": { "operation": "boost", "score": 0.08216946572065353 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": 0.07345255464315414 }, "else": { "operation": "boost", "score": 0.03891140595078468 } } }, "else": { "operation": "boost", "score": 0.03454658016562462 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1545436531305313 }, "else": { "operation": "boost", "score": -0.11861295998096466 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0699712485074997 }, "else": { "operation": "boost", "score": -0.02477770857512951 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.08569924533367157 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.06514861434698105 }, "else": { "operation": "boost", "score": 0.09019263088703156 } } }, "else": { "operation": "boost", "score": -0.041406095027923584 } }, "else": { "operation": "boost", "score": 0.09187004715204239 } }, "else": { "operation": "boost", "score": -0.05739797651767731 } } }, "else": { "operation": "boost", "score": -0.06257551908493042 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07629524916410446 }, "else": { "operation": "boost", "score": -0.09570226818323135 } }, "else": { "operation": "boost", "score": 0.0058492072857916355 } } }, "else": { "operation": "boost", "score": -6.552321428898722e-05 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.11621081084012985 }, "else": { "operation": "boost", "score": -0.02480808086693287 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": -0.01113086473196745 }, "else": { "operation": "boost", "score": -0.12301360070705414 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09268483519554138 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.14060276746749878 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.061347976326942444 }, "else": { "operation": "boost", "score": -0.04629715532064438 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.0466998815536499 }, "else": { "operation": "boost", "score": 0.05143182352185249 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.015950413420796394 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.13996140658855438 }, "else": { "operation": "boost", "score": -0.16429808735847473 } } }, "else": { "operation": "boost", "score": 0.009782093577086926 } } } }, "else": { "operation": "boost", "score": -0.0729648768901825 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08514492958784103, "then": { "operation": "boost", "score": -0.0010152297327294946 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0158533938229084 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06600549817085266 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01950531266629696 }, "else": { "operation": "boost", "score": -0.10899347811937332 } } }, "else": { "operation": "boost", "score": 0.008704504929482937 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18672.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19474.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19577.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19792.5, "then": { "operation": "boost", "score": 0.00518193282186985 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08012320846319199 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.13063180446624756 }, "else": { "operation": "boost", "score": 0.1159689724445343 } }, "else": { "operation": "boost", "score": 0.0970834419131279 } }, "else": { "operation": "boost", "score": 0.1027805507183075 } } }, "else": { "operation": "boost", "score": -0.22078531980514526 } } }, "else": { "operation": "boost", "score": -0.1952407956123352 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09071499854326248 }, "else": { "operation": "boost", "score": 0.04257889837026596 } } }, "else": { "operation": "boost", "score": -0.014742686413228512 } }, "else": { "operation": "boost", "score": -0.00065999774960801 } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0021935501135885715 }, "else": { "operation": "boost", "score": -0.015817271545529366 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06096900999546051 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.2140721082687378 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.1479707956314087 }, "else": { "operation": "boost", "score": 0.07517065852880478 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.10134225338697433 }, "else": { "operation": "boost", "score": 0.043167226016521454 } }, "else": { "operation": "boost", "score": 0.010955072939395905 } } }, "else": { "operation": "boost", "score": 0.007309332489967346 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.07961700111627579 }, "else": { "operation": "boost", "score": 0.009326636791229248 } }, "else": { "operation": "boost", "score": -0.012115576304495335 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020253712311387062 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.34954750537872314, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1247820034623146 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8055555820465088, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020361049100756645 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.10917524993419647 }, "else": { "operation": "boost", "score": 0.1278865933418274 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.39501702785491943 }, "else": { "operation": "boost", "score": 0.04522503539919853 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1324503868818283 }, "else": { "operation": "boost", "score": 0.08369173109531403 } }, "else": { "operation": "boost", "score": 0.12278192490339279 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3660714328289032, "then": { "operation": "boost", "score": -0.008279876783490181 }, "else": { "operation": "boost", "score": 0.11340714991092682 } } } }, "else": { "operation": "boost", "score": -0.16931861639022827 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04015068709850311 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.11454004049301147 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.1798289269208908 }, "else": { "operation": "boost", "score": 0.10099556297063828 } } } }, "else": { "operation": "boost", "score": 0.018101686611771584 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8055555820465088, "then": { "operation": "boost", "score": 0.16022884845733643 }, "else": { "operation": "boost", "score": -0.05202426761388779 } }, "else": { "operation": "boost", "score": 0.039976805448532104 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029095491394400597 }, "else": { "operation": "boost", "score": 0.09307758510112762 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.022579673677682877 }, "else": { "operation": "boost", "score": -0.10194674134254456 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.19177962839603424 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.11611230671405792 }, "else": { "operation": "boost", "score": 0.09718929976224899 } }, "else": { "operation": "boost", "score": 0.053057145327329636 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": 0.13139772415161133 }, "else": { "operation": "boost", "score": 0.10231778770685196 } } } } } } } }, "else": { "operation": "boost", "score": 0.0010039054322987795 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 112.5, "then": { "operation": "boost", "score": 0.08123613893985748 }, "else": { "operation": "boost", "score": 0.18734273314476013 } }, "else": { "operation": "boost", "score": 0.015744240954518318 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.01470186561346054 }, "else": { "operation": "boost", "score": 0.004518447909504175 } }, "else": { "operation": "boost", "score": 0.11595156788825989 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.02044200897216797 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0651959627866745, "then": { "operation": "boost", "score": -0.07880876213312149 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.09257243573665619 }, "else": { "operation": "boost", "score": 0.036113373935222626 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -5.1228100346634164e-05 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.25143399834632874 }, "else": { "operation": "boost", "score": 0.024691395461559296 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.02905306965112686 }, "else": { "operation": "boost", "score": -0.0006327320006676018 } }, "else": { "operation": "boost", "score": 0.005362818483263254 } } } } } }, "else": { "operation": "boost", "score": -0.0033412768971174955 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3158.0, "then": { "operation": "boost", "score": 0.04025118052959442 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04627446457743645 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.05248638242483139 }, "else": { "operation": "boost", "score": -0.03991421312093735 } }, "else": { "operation": "boost", "score": 0.0051159546710550785 } } } }, "else": { "operation": "boost", "score": -0.03312718868255615 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.007097771856933832 }, "else": { "operation": "boost", "score": 0.004211776424199343 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5256.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.058165792375802994 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.13150648772716522 }, "else": { "operation": "boost", "score": 0.10412414371967316 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.024086156859993935 }, "else": { "operation": "boost", "score": 0.06366453319787979 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.032401349395513535 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03676745295524597 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.015739304944872856 }, "else": { "operation": "boost", "score": -0.05971542000770569 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.008382860571146011 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.1602701097726822 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.016238199546933174 }, "else": { "operation": "boost", "score": 0.007223787717521191 } }, "else": { "operation": "boost", "score": -0.022681020200252533 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.04210877791047096 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 413.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12414.0, "then": { "operation": "boost", "score": 0.15888351202011108 }, "else": { "operation": "boost", "score": -0.3006678819656372 } }, "else": { "operation": "boost", "score": 0.013088559731841087 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.01434377022087574 }, "else": { "operation": "boost", "score": -0.05184672772884369 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04291743040084839 }, "else": { "operation": "boost", "score": -0.04588254541158676 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.1341058760881424 }, "else": { "operation": "boost", "score": 0.10553991794586182 } }, "else": { "operation": "boost", "score": -0.061156272888183594 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.09783259779214859 }, "else": { "operation": "boost", "score": 0.04403195157647133 } } }, "else": { "operation": "boost", "score": -0.03604986518621445 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.024906432256102562 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.00911420863121748 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08472958952188492 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.06303707510232925 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.010307964868843555 }, "else": { "operation": "boost", "score": 0.1265457570552826 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.010085963644087315 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.037799324840307236 }, "else": { "operation": "boost", "score": 0.11533814668655396 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.010038836859166622 }, "else": { "operation": "boost", "score": 0.0500173382461071 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.0664108619093895 }, "else": { "operation": "boost", "score": 0.01320897787809372 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.004524445626884699 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.031980205327272415 }, "else": { "operation": "boost", "score": -0.18022198975086212 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02833181992173195 }, "else": { "operation": "boost", "score": 0.10395606607198715 } }, "else": { "operation": "boost", "score": -0.1832636296749115 } }, "else": { "operation": "boost", "score": -0.024380140006542206 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.0013387203216552734 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.006008528638631105 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.00689384900033474 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006979840341955423 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.08396939933300018 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119.0, "then": { "operation": "boost", "score": -0.104608453810215 }, "else": { "operation": "boost", "score": 0.30754318833351135 } } }, "else": { "operation": "boost", "score": 0.028017038479447365 } }, "else": { "operation": "boost", "score": 0.004529754165560007 } }, "else": { "operation": "boost", "score": -0.0010581054957583547 } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0015979873714968562 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5397.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5576.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.004807665478438139 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82959.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108013.0, "then": { "operation": "boost", "score": 0.024868043139576912 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93657.0, "then": { "operation": "boost", "score": 0.08618427813053131 }, "else": { "operation": "boost", "score": 0.04799894988536835 } }, "else": { "operation": "boost", "score": 0.013976935297250748 } } }, "else": { "operation": "boost", "score": 0.00932010542601347 } }, "else": { "operation": "boost", "score": -0.13563276827335358 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40920.5, "then": { "operation": "boost", "score": -0.014532545581459999 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34239.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08176279067993164 }, "else": { "operation": "boost", "score": 0.04516613855957985 } }, "else": { "operation": "boost", "score": -0.6152410507202148 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20510.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.003595477668568492 }, "else": { "operation": "boost", "score": 0.12106561660766602 } }, "else": { "operation": "boost", "score": -0.1314811408519745 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26287.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27130.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33599.0, "then": { "operation": "boost", "score": -0.061570726335048676 }, "else": { "operation": "boost", "score": 0.032432038336992264 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.12923820316791534 }, "else": { "operation": "boost", "score": 0.05902621150016785 } }, "else": { "operation": "boost", "score": -0.005060578230768442 } } }, "else": { "operation": "boost", "score": -0.03573218733072281 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15833.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.21404483914375305 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17873.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.013822384178638458 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18662.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18751.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20192.0, "then": { "operation": "boost", "score": 0.13662715256214142 }, "else": { "operation": "boost", "score": 0.05733737722039223 } }, "else": { "operation": "boost", "score": 0.19101057946681976 } }, "else": { "operation": "boost", "score": 0.02588443085551262 } }, "else": { "operation": "boost", "score": -0.04394647851586342 } }, "else": { "operation": "boost", "score": 0.0189013984054327 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.14106380939483643 }, "else": { "operation": "boost", "score": -0.10277081280946732 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16182.5, "then": { "operation": "boost", "score": 0.10330194979906082 }, "else": { "operation": "boost", "score": 0.1393010914325714 } }, "else": { "operation": "boost", "score": 0.04631010815501213 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1271970421075821 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1322007179260254 }, "else": { "operation": "boost", "score": 0.11848154664039612 } } }, "else": { "operation": "boost", "score": -0.19826802611351013 } } }, "else": { "operation": "boost", "score": 0.0216293353587389 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.009850375354290009 }, "else": { "operation": "boost", "score": 0.029360469430685043 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28052.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.13177964091300964 }, "else": { "operation": "boost", "score": 0.10490526258945465 } }, "else": { "operation": "boost", "score": -0.04435020312666893 } } } } } } }, "else": { "operation": "boost", "score": -0.16860315203666687 } }, "else": { "operation": "boost", "score": -0.003072714665904641 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5315.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10092984884977341 }, "else": { "operation": "boost", "score": 0.12790629267692566 } }, "else": { "operation": "boost", "score": 0.10674437135457993 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4972.0, "then": { "operation": "boost", "score": -0.012874899432063103 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4917.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.10348332673311234 }, "else": { "operation": "boost", "score": 0.14552117884159088 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4100.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.27603012323379517 }, "else": { "operation": "boost", "score": 0.1643393337726593 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4565.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4629.5, "then": { "operation": "boost", "score": 0.0877143070101738 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.045170027762651443 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.13811659812927246 }, "else": { "operation": "boost", "score": 0.10648380219936371 } } } }, "else": { "operation": "boost", "score": 0.04937734082341194 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.15703009068965912 }, "else": { "operation": "boost", "score": 0.004165453836321831 } } }, "else": { "operation": "boost", "score": 0.06066347658634186 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3952.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3978.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.39005568623542786 }, "else": { "operation": "boost", "score": 0.014675647020339966 } }, "else": { "operation": "boost", "score": -0.22241167724132538 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3432.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3864.0, "then": { "operation": "boost", "score": -0.0399707555770874 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3695.5, "then": { "operation": "boost", "score": 0.06367719173431396 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3687.0, "then": { "operation": "boost", "score": 0.15062099695205688 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.1441708356142044 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3527.0, "then": { "operation": "boost", "score": -0.01014040969312191 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.12637624144554138 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11249999701976776, "then": { "operation": "boost", "score": 0.13048957288265228 }, "else": { "operation": "boost", "score": 0.3291146457195282 } } } } } } }, "else": { "operation": "boost", "score": 0.06393085420131683 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1388203501701355 }, "else": { "operation": "boost", "score": -0.5117800235748291 } }, "else": { "operation": "boost", "score": 0.17429755628108978 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011308778077363968 }, "else": { "operation": "boost", "score": 0.39083996415138245 } }, "else": { "operation": "boost", "score": 0.04164163023233414 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2501.0, "then": { "operation": "boost", "score": 0.00012710060400422662 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "boost", "score": 0.13112479448318481 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.013177946209907532 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.5, "then": { "operation": "boost", "score": 0.11720442771911621 }, "else": { "operation": "boost", "score": 0.12374068051576614 } } } } } } } }, "else": { "operation": "boost", "score": 0.1608429253101349 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0027351484168320894 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8851.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.07305506616830826 }, "else": { "operation": "boost", "score": 0.007475765887647867 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8831.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.22999724745750427 }, "else": { "operation": "boost", "score": 0.15374435484409332 } }, "else": { "operation": "boost", "score": -0.11082567274570465 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2433.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3587.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6106.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6801.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6821.0, "then": { "operation": "boost", "score": 0.04482494667172432 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.2534198462963104 }, "else": { "operation": "boost", "score": 0.21302706003189087 } } }, "else": { "operation": "boost", "score": -0.10107363015413284 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6080.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.16436079144477844 }, "else": { "operation": "boost", "score": 0.11972498893737793 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.11962717771530151 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.7965317964553833 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.16530495882034302 }, "else": { "operation": "boost", "score": -0.10785926878452301 } } } }, "else": { "operation": "boost", "score": 0.3622540235519409 } }, "else": { "operation": "boost", "score": -0.10544838756322861 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.008018720895051956 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4409.0, "then": { "operation": "boost", "score": 0.0558781772851944 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4403.0, "then": { "operation": "boost", "score": 0.16606608033180237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4138.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4180.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.07059740275144577 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4308.0, "then": { "operation": "boost", "score": -0.06223750114440918 }, "else": { "operation": "boost", "score": 0.11451612412929535 } } }, "else": { "operation": "boost", "score": 0.1476014107465744 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4015.0, "then": { "operation": "boost", "score": -0.12407654523849487 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3727.5, "then": { "operation": "boost", "score": -0.12533320486545563 }, "else": { "operation": "boost", "score": 0.13652141392230988 } }, "else": { "operation": "boost", "score": 0.12268286198377609 } } } } } } } } }, "else": { "operation": "boost", "score": -0.07997392863035202 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.08716267347335815 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2422.0, "then": { "operation": "boost", "score": 0.2382049560546875 }, "else": { "operation": "boost", "score": 0.10913856327533722 } } } }, "else": { "operation": "boost", "score": -0.04509132727980614 } }, "else": { "operation": "boost", "score": -0.05741146579384804 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.12260942906141281 }, "else": { "operation": "boost", "score": 0.03796868398785591 } }, "else": { "operation": "boost", "score": -0.019109368324279785 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13042590022087097 }, "else": { "operation": "boost", "score": -0.13377737998962402 } } }, "else": { "operation": "boost", "score": 0.009567167609930038 } }, "else": { "operation": "boost", "score": -0.0003913131367880851 } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.13074585795402527 }, "else": { "operation": "boost", "score": 0.07976502925157547 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.48565346002578735 }, "else": { "operation": "boost", "score": 0.20289431512355804 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9375, "then": { "operation": "boost", "score": 0.2208116501569748 }, "else": { "operation": "boost", "score": 0.004667395260185003 } } }, "else": { "operation": "boost", "score": -0.011190575547516346 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.08978629112243652 }, "else": { "operation": "boost", "score": 0.015534039586782455 } }, "else": { "operation": "boost", "score": 0.003246947657316923 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9444444179534912, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09479136765003204 }, "else": { "operation": "boost", "score": -0.08353931456804276 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.12812277674674988 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.3049219250679016 }, "else": { "operation": "boost", "score": 0.10538511723279953 } } } }, "else": { "operation": "boost", "score": -0.3002622127532959 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03985106572508812 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.21254700422286987 }, "else": { "operation": "boost", "score": -0.06665343791246414 } } }, "else": { "operation": "boost", "score": -0.24635915458202362 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.25927630066871643 }, "else": { "operation": "boost", "score": -0.014873871579766273 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.000561980064958334 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.0037456329446285963 }, "else": { "operation": "boost", "score": -0.059857457876205444 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09139084815979004 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.09238862246274948 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0412106066942215 }, "else": { "operation": "boost", "score": 0.2453717589378357 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.032818764448165894 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.025674227625131607 }, "else": { "operation": "boost", "score": -0.3473508358001709 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08193831890821457 }, "else": { "operation": "boost", "score": -0.024001026526093483 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.10252304375171661 }, "else": { "operation": "boost", "score": 0.11098016053438187 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.024035153910517693 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07724546641111374 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029147321358323097 }, "else": { "operation": "boost", "score": -0.06683365255594254 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 77.5, "then": { "operation": "boost", "score": -0.08351227641105652 }, "else": { "operation": "boost", "score": 0.10323992371559143 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07544487714767456 }, "else": { "operation": "boost", "score": 0.0392163060605526 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92.0, "then": { "operation": "boost", "score": 0.04226791113615036 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011049703694880009 }, "else": { "operation": "boost", "score": -0.04463495686650276 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286988.5, "then": { "operation": "boost", "score": -0.03731849044561386 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104520.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123460.5, "then": { "operation": "boost", "score": 0.03457871079444885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.08965781331062317 }, "else": { "operation": "boost", "score": 0.13493719696998596 } }, "else": { "operation": "boost", "score": 0.05241771042346954 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6753.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17326.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18069.5, "then": { "operation": "boost", "score": -0.0037595811299979687 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.07959244400262833 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.19437475502490997 }, "else": { "operation": "boost", "score": 0.11611520498991013 } } }, "else": { "operation": "boost", "score": 0.03778243064880371 } } }, "else": { "operation": "boost", "score": -0.09011740237474442 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003444362198933959 }, "else": { "operation": "boost", "score": -0.14275701344013214 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0003629112907219678 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.019176477566361427 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167.5, "then": { "operation": "boost", "score": 0.05421781167387962 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155.0, "then": { "operation": "boost", "score": 0.1623256653547287 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14179562032222748 }, "else": { "operation": "boost", "score": 0.15358686447143555 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 127.5, "then": { "operation": "boost", "score": -0.13023020327091217 }, "else": { "operation": "boost", "score": 0.1814536452293396 } } } }, "else": { "operation": "boost", "score": 0.007954234257340431 } } }, "else": { "operation": "boost", "score": 0.006811150349676609 } }, "else": { "operation": "boost", "score": -0.014782804995775223 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0889640673995018 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "boost", "score": 0.05898451805114746 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.5256078243255615 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18002960085868835 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.19555439054965973 }, "else": { "operation": "boost", "score": 0.12986735999584198 } } } } }, "else": { "operation": "boost", "score": -0.016295308247208595 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.1092158854007721 }, "else": { "operation": "boost", "score": -0.5028961300849915 } }, "else": { "operation": "boost", "score": 0.007166189141571522 } } }, "else": { "operation": "boost", "score": -0.024802224710583687 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.01234542578458786 }, "else": { "operation": "boost", "score": 0.02859276719391346 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.12004078179597855 }, "else": { "operation": "boost", "score": 0.039380788803100586 } }, "else": { "operation": "boost", "score": -0.011107471771538258 } }, "else": { "operation": "boost", "score": 0.026273507624864578 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.12293075770139694 }, "else": { "operation": "boost", "score": 0.07267820090055466 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.07022861391305923 }, "else": { "operation": "boost", "score": 0.004149146378040314 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0023672578390687704 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0287215244024992 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "boost", "score": -0.055284932255744934 }, "else": { "operation": "boost", "score": -0.2072470337152481 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0025858357548713684 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.02622651681303978 }, "else": { "operation": "boost", "score": 0.057095061987638474 } } }, "else": { "operation": "boost", "score": -0.6448265314102173 } }, "else": { "operation": "boost", "score": -0.004270222503691912 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07766437530517578 }, "else": { "operation": "boost", "score": -0.28119245171546936 } }, "else": { "operation": "boost", "score": -0.06350986659526825 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.07659611105918884 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.0, "then": { "operation": "boost", "score": -1.5098541975021362 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.0, "then": { "operation": "boost", "score": 0.14344090223312378 }, "else": { "operation": "boost", "score": 0.020610973238945007 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04600830376148224 }, "else": { "operation": "boost", "score": -0.04672861844301224 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.149762824177742 }, "else": { "operation": "boost", "score": 0.030305059626698494 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.010159398429095745 }, "else": { "operation": "boost", "score": -0.05832929164171219 } } } } } }, "else": { "operation": "boost", "score": -0.029634321108460426 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.030522974207997322 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.027088375762104988 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.09516719728708267 }, "else": { "operation": "boost", "score": -0.019138844683766365 } } } }, "else": { "operation": "boost", "score": -0.00632390845566988 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0014847440179437399 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.03020651452243328 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11495240777730942 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.07915075868368149 }, "else": { "operation": "boost", "score": 0.12486733496189117 } } } }, "else": { "operation": "boost", "score": -0.08645346760749817 } }, "else": { "operation": "boost", "score": -0.018060006201267242 } } } } }, "else": { "operation": "boost", "score": -0.0009163310169242322 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.056234266608953476 }, "else": { "operation": "boost", "score": 0.004801740869879723 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0017277721781283617 }, "else": { "operation": "boost", "score": -0.12600643932819366 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.030585123226046562 }, "else": { "operation": "boost", "score": -0.006180211436003447 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.11303509771823883 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.04388224706053734 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.027973897755146027 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.773809552192688, "then": { "operation": "boost", "score": 0.11620714515447617 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12419968098402023 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "boost", "score": 0.14139395952224731 }, "else": { "operation": "boost", "score": 0.003375125350430608 } } }, "else": { "operation": "boost", "score": -0.04340657964348793 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11980392783880234 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11735739558935165 }, "else": { "operation": "boost", "score": -0.008341665379703045 } } } } } } }, "else": { "operation": "boost", "score": -0.08600186556577682 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.012247410602867603 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0402148999273777 }, "else": { "operation": "boost", "score": 0.07814985513687134 } }, "else": { "operation": "boost", "score": -0.039828915148973465 } }, "else": { "operation": "boost", "score": 0.0990787222981453 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.6031245589256287 }, "else": { "operation": "boost", "score": -0.035783786326646805 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.16369082033634186 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0006466511404141784 }, "else": { "operation": "boost", "score": 0.07862874120473862 } } }, "else": { "operation": "boost", "score": 0.03714175149798393 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.011398477479815483 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08401931077241898 }, "else": { "operation": "boost", "score": 0.03936021402478218 } }, "else": { "operation": "boost", "score": 0.019298475235700607 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00913221575319767 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02220441959798336 }, "else": { "operation": "boost", "score": -0.1382657289505005 } }, "else": { "operation": "boost", "score": -0.008073712699115276 } } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.048298876732587814 }, "else": { "operation": "boost", "score": 0.20288997888565063 } }, "else": { "operation": "boost", "score": -0.013572700321674347 } } }, "else": { "operation": "boost", "score": 0.006292636040598154 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0009978400776162744 }, "else": { "operation": "boost", "score": 0.1144125759601593 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.006461313925683498 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2234.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26715.0, "then": { "operation": "boost", "score": 0.0014034819323569536 }, "else": { "operation": "boost", "score": 0.05536834895610809 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": -0.08756747841835022 }, "else": { "operation": "boost", "score": -0.020709095522761345 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.04956696182489395 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07923172414302826 }, "else": { "operation": "boost", "score": 0.0065347058698534966 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.02476189285516739 }, "else": { "operation": "boost", "score": -0.21958978474140167 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.48748621344566345 }, "else": { "operation": "boost", "score": -0.05401746556162834 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.030161447823047638 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.017579879611730576 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03754635900259018 }, "else": { "operation": "boost", "score": -0.027160700410604477 } } } } } }, "else": { "operation": "boost", "score": -0.056727346032857895 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.041561566293239594 }, "else": { "operation": "boost", "score": -0.03505460545420647 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.007353014312684536 }, "else": { "operation": "boost", "score": 0.10142381489276886 } }, "else": { "operation": "boost", "score": -0.11497031152248383 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.10387639701366425 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.026392018422484398 }, "else": { "operation": "boost", "score": -0.12946146726608276 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.07626249641180038 }, "else": { "operation": "boost", "score": 0.047882117331027985 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.08450685441493988 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16249999403953552, "then": { "operation": "boost", "score": 0.08573367446660995 }, "else": { "operation": "boost", "score": 0.14331556856632233 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 378.5, "then": { "operation": "boost", "score": -0.14531870186328888 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 242.0, "then": { "operation": "boost", "score": 0.24033907055854797 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17142857611179352, "then": { "operation": "boost", "score": 0.17541109025478363 }, "else": { "operation": "boost", "score": 0.14474600553512573 } }, "else": { "operation": "boost", "score": -0.05373983457684517 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.2873989939689636 }, "else": { "operation": "boost", "score": -0.10213665664196014 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": 0.10591371357440948 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03992854803800583 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.011962142772972584 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.0, "then": { "operation": "boost", "score": 0.12175016850233078 }, "else": { "operation": "boost", "score": 0.14579333364963531 } } }, "else": { "operation": "boost", "score": -0.10995370894670486 } } }, "else": { "operation": "boost", "score": -0.04297204688191414 } } } } } }, "else": { "operation": "boost", "score": -0.037711091339588165 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.012218723073601723 }, "else": { "operation": "boost", "score": -0.011781317181885242 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04487578943371773 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.004332670010626316 }, "else": { "operation": "boost", "score": 0.01561480388045311 } } }, "else": { "operation": "boost", "score": -0.00941185001283884 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": -0.2576081156730652 }, "else": { "operation": "boost", "score": -0.07877999544143677 } }, "else": { "operation": "boost", "score": 0.008776303380727768 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.030796485021710396 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.17827127873897552 }, "else": { "operation": "boost", "score": -0.06150364130735397 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.012362181209027767 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.15705128014087677, "then": { "operation": "boost", "score": 0.03744153678417206 }, "else": { "operation": "boost", "score": 0.16080836951732635 } } }, "else": { "operation": "boost", "score": -0.03462577238678932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007800794672220945 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.019006209447979927 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.1527562141418457 }, "else": { "operation": "boost", "score": -0.29477810859680176 } }, "else": { "operation": "boost", "score": 0.12075051665306091 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.03908887133002281 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02633053809404373 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Type" ], "then": { "operation": "boost", "score": 0.07476359605789185 }, "else": { "operation": "boost", "score": 0.014104899950325489 } } }, "else": { "operation": "boost", "score": -0.0039840759709477425 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.12137775123119354 }, "else": { "operation": "boost", "score": 0.06367804855108261 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.019842762500047684 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08296477794647217 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.18546825647354126 }, "else": { "operation": "boost", "score": 0.07186176627874374 } }, "else": { "operation": "boost", "score": -0.1490233987569809 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": -0.10268815606832504 }, "else": { "operation": "boost", "score": -0.2972467541694641 } } } } } } }, "else": { "operation": "boost", "score": -0.0007148605072870851 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.16393227875232697 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07706061750650406 }, "else": { "operation": "boost", "score": -0.029082896187901497 } }, "else": { "operation": "boost", "score": -0.16788801550865173 } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.003929317928850651 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.029396727681159973 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.10830318927764893 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.08953575789928436 }, "else": { "operation": "boost", "score": 0.08844064176082611 } } }, "else": { "operation": "boost", "score": -0.025218965485692024 } } }, "else": { "operation": "boost", "score": -0.12821130454540253 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.0064310841262340546 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.13776761293411255 }, "else": { "operation": "boost", "score": 0.15503273904323578 } }, "else": { "operation": "boost", "score": 0.018593810498714447 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.038563214242458344 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10291150957345963 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11741377413272858 }, "else": { "operation": "boost", "score": 0.1096896082162857 } } }, "else": { "operation": "boost", "score": 0.06363695859909058 } } }, "else": { "operation": "boost", "score": 0.002253043930977583 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.139961838722229 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021111780777573586 }, "else": { "operation": "boost", "score": 0.0004104448016732931 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": -0.006883664987981319 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11165789514780045 }, "else": { "operation": "boost", "score": 0.031115388497710228 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.007234177086502314 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.028805293142795563 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.020774394273757935 }, "else": { "operation": "boost", "score": -0.1111777052283287 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.31414473056793213, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0021178731694817543 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.002757829846814275 }, "else": { "operation": "boost", "score": -0.010834651999175549 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.004963950254023075 }, "else": { "operation": "boost", "score": 0.022148804739117622 } }, "else": { "operation": "boost", "score": 0.0033052770886570215 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03799409419298172 }, "else": { "operation": "boost", "score": -0.05465197190642357 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.015124385245144367 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.04335082694888115 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.182301864027977 }, "else": { "operation": "boost", "score": -0.10701951384544373 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": -0.002993740141391754 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1340450644493103 }, "else": { "operation": "boost", "score": 0.04870214685797691 } }, "else": { "operation": "boost", "score": 0.026169592514634132 } }, "else": { "operation": "boost", "score": -0.023181995376944542 } } }, "else": { "operation": "boost", "score": -0.023246070370078087 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.03837272524833679 }, "else": { "operation": "boost", "score": 0.009115898981690407 } } } } }, "else": { "operation": "boost", "score": -0.023880887776613235 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.7386455535888672 }, "else": { "operation": "boost", "score": -0.10202254354953766 } }, "else": { "operation": "boost", "score": -0.10061338543891907 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.6246297359466553 }, "else": { "operation": "boost", "score": -0.006836156360805035 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.5534843802452087 }, "else": { "operation": "boost", "score": -0.13236863911151886 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.07609434425830841 }, "else": { "operation": "boost", "score": 0.22915464639663696 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10835020989179611 }, "else": { "operation": "boost", "score": 0.01656518504023552 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.17117144167423248 }, "else": { "operation": "boost", "score": -0.002405168954282999 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0850517600774765 }, "else": { "operation": "boost", "score": 0.05527637153863907 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.046432413160800934 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.1608085334300995 }, "else": { "operation": "boost", "score": 0.10404308140277863 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 137290.5, "then": { "operation": "boost", "score": -0.49694231152534485 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.1641869693994522 }, "else": { "operation": "boost", "score": 0.06114405766129494 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.011625470593571663 }, "else": { "operation": "boost", "score": 0.0775410383939743 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7636363506317139, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.00744564738124609 }, "else": { "operation": "boost", "score": 0.08073791861534119 } }, "else": { "operation": "boost", "score": -0.01704687811434269 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.0417344905436039 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.10673949122428894 }, "else": { "operation": "boost", "score": 0.07666988670825958 } } }, "else": { "operation": "boost", "score": -0.13014084100723267 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.22342386841773987 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07385082542896271 }, "else": { "operation": "boost", "score": -0.21317225694656372 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.17456229031085968 }, "else": { "operation": "boost", "score": 0.028951305896043777 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1367.0, "then": { "operation": "boost", "score": 0.07476498186588287 }, "else": { "operation": "boost", "score": -0.0086420439183712 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.0019698147661983967 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025600124150514603 }, "else": { "operation": "boost", "score": 0.08489301055669785 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "boost", "score": 0.11443153023719788 }, "else": { "operation": "boost", "score": 0.053610485047101974 } } } }, "else": { "operation": "boost", "score": 0.0047861868515610695 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.5067926645278931 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010807296261191368 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.04038035124540329 }, "else": { "operation": "boost", "score": 1.0000792741775513 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.00027138125733472407 }, "else": { "operation": "boost", "score": 0.1437310129404068 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.08560609072446823 }, "else": { "operation": "boost", "score": 0.14021414518356323 } }, "else": { "operation": "boost", "score": 0.029559282585978508 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -0.15201358497142792 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.08981940150260925 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.019940895959734917 }, "else": { "operation": "boost", "score": 0.1387518048286438 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 214.0, "then": { "operation": "boost", "score": 0.10331058502197266 }, "else": { "operation": "boost", "score": -0.13104234635829926 } }, "else": { "operation": "boost", "score": -0.8975696563720703 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 748.5, "then": { "operation": "boost", "score": 0.11876988410949707 }, "else": { "operation": "boost", "score": 0.014340858906507492 } } } } } } } } }, "else": { "operation": "boost", "score": -0.010126291774213314 } } } }, "else": { "operation": "boost", "score": 0.10652821511030197 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.028614837676286697 }, "else": { "operation": "boost", "score": 0.13166119158267975 } }, "else": { "operation": "boost", "score": 0.005942496471107006 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.028581973165273666 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2899159789085388, "then": { "operation": "boost", "score": 0.015678392723202705 }, "else": { "operation": "boost", "score": -0.0007165158749558032 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.0718044564127922 }, "else": { "operation": "boost", "score": -0.5459371209144592 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.004547934979200363 }, "else": { "operation": "boost", "score": -0.03227384760975838 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019876427948474884 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11548329144716263 }, "else": { "operation": "boost", "score": 0.031154653057456017 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 722.0, "then": { "operation": "boost", "score": 0.12589512765407562 }, "else": { "operation": "boost", "score": -0.0020751941483467817 } } } } } }, "else": { "operation": "boost", "score": -0.012178156524896622 } } } }, "else": { "operation": "boost", "score": -0.0002046758309006691 } }, { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18614718317985535, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.10394368320703506 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.065489262342453 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.012323279865086079 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10739511996507645 }, "else": { "operation": "boost", "score": 0.06572017818689346 } } } }, "else": { "operation": "boost", "score": -0.047440432012081146 } } }, "else": { "operation": "boost", "score": 0.008148283697664738 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6396104097366333, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": -0.04733576625585556 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.09928534179925919 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.14708136022090912 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.11151005327701569 }, "else": { "operation": "boost", "score": 0.05311711132526398 } } } }, "else": { "operation": "boost", "score": 0.037357673048973083 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.0, "then": { "operation": "boost", "score": 0.10397332906723022 }, "else": { "operation": "boost", "score": -0.1449034959077835 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.06638423353433609 }, "else": { "operation": "boost", "score": 0.13308575749397278 } }, "else": { "operation": "boost", "score": -0.1517723649740219 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04375699162483215 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 21.0, "then": { "operation": "boost", "score": 0.005269252695143223 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.15286149084568024 }, "else": { "operation": "boost", "score": -1.6320977210998535 } } } }, "else": { "operation": "boost", "score": 0.01229721400886774 } }, "else": { "operation": "boost", "score": 0.06503430753946304 } } } } }, "else": { "operation": "boost", "score": 0.13593211770057678 } }, "else": { "operation": "boost", "score": -0.0009251984884031117 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "boost", "score": 0.008488246239721775 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0650196522474289 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10879149287939072 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.27619048953056335, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.04359906166791916 }, "else": { "operation": "boost", "score": 0.06252453476190567 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.08465549349784851 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": -0.06048901006579399 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": 0.08494676649570465 }, "else": { "operation": "boost", "score": 0.014382507652044296 } } } } }, "else": { "operation": "boost", "score": 0.08579074591398239 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.014022949151694775 }, "else": { "operation": "boost", "score": 0.007247111760079861 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00500637898221612 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.04955926164984703 }, "else": { "operation": "boost", "score": 0.0044757165014743805 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.06244735047221184 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11336417496204376 }, "else": { "operation": "boost", "score": 0.13251537084579468 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": -0.05243372544646263 }, "else": { "operation": "boost", "score": 0.0689590722322464 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.10782712697982788 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "boost", "score": 0.03667289763689041 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.13214826583862305 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.0, "then": { "operation": "boost", "score": 0.10543346405029297 }, "else": { "operation": "boost", "score": -0.07738343626260757 } } }, "else": { "operation": "boost", "score": -0.1703128218650818 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.1178889200091362 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0387575589120388 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008523316122591496 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -1.1064932346343994 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.5, "then": { "operation": "boost", "score": 0.07909619808197021 }, "else": { "operation": "boost", "score": -0.4076443314552307 } } } }, "else": { "operation": "boost", "score": -0.02896944247186184 } }, "else": { "operation": "boost", "score": 0.00670017721131444 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.0973803922533989 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0327286571264267 }, "else": { "operation": "boost", "score": 0.012362221255898476 } } } }, "else": { "operation": "boost", "score": 0.03422760218381882 } } }, "else": { "operation": "boost", "score": 0.015050469897687435 } } } }, "else": { "operation": "boost", "score": -0.09981405735015869 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12529586255550385 }, "else": { "operation": "boost", "score": -0.05249154940247536 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.25635331869125366 }, "else": { "operation": "boost", "score": 0.13930968940258026 } }, "else": { "operation": "boost", "score": -0.03439178690314293 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "boost", "score": -0.008670806884765625 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "boost", "score": 0.1275949329137802 }, "else": { "operation": "boost", "score": 0.0444200225174427 } } } }, "else": { "operation": "boost", "score": 0.007504134904593229 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08116883039474487, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.3483048677444458 }, "else": { "operation": "boost", "score": 0.1753871887922287 } }, "else": { "operation": "boost", "score": 0.06966546177864075 } }, "else": { "operation": "boost", "score": 0.07179907709360123 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": -0.11330585926771164 }, "else": { "operation": "boost", "score": 0.01035606674849987 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.10112779587507248 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.0038729142397642136 }, "else": { "operation": "boost", "score": -0.2946198880672455 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0013757947599515319 }, "else": { "operation": "boost", "score": -0.10983658581972122 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09737277030944824 }, "else": { "operation": "boost", "score": -0.015843383967876434 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.02145909145474434 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11588393151760101 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.17445355653762817 }, "else": { "operation": "boost", "score": 0.080511175096035 } } } } }, "else": { "operation": "boost", "score": 0.0036732966545969248 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.34954750537872314, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": -0.0035836088936775923 }, "else": { "operation": "boost", "score": 0.11041259765625 } }, "else": { "operation": "boost", "score": -0.007961797527968884 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13133934140205383 }, "else": { "operation": "boost", "score": 0.11014027893543243 } }, "else": { "operation": "boost", "score": 0.09684425592422485 } } }, "else": { "operation": "boost", "score": -0.1511625200510025 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": 0.009119099006056786 }, "else": { "operation": "boost", "score": 0.1255563646554947 } }, "else": { "operation": "boost", "score": -0.35536104440689087 } }, "else": { "operation": "boost", "score": -0.01293243933469057 } }, "else": { "operation": "boost", "score": 0.01572612300515175 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19189706444740295 }, "else": { "operation": "boost", "score": 0.04704824835062027 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.07626072317361832 }, "else": { "operation": "boost", "score": -0.03487095236778259 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.06924724578857422 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -1.3562793731689453 }, "else": { "operation": "boost", "score": -0.4566442668437958 } } } }, "else": { "operation": "boost", "score": 0.10329683870077133 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.0, "then": { "operation": "boost", "score": 0.1029948890209198 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.014548365026712418 }, "else": { "operation": "boost", "score": 0.20275484025478363 } } } } }, "else": { "operation": "boost", "score": 0.0095867570489645 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06602652370929718 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03846153989434242, "then": { "operation": "boost", "score": -0.02171824499964714 }, "else": { "operation": "boost", "score": -0.21737226843833923 } } } } }, "else": { "operation": "boost", "score": -0.032052718102931976 } }, "else": { "operation": "boost", "score": -0.01568264700472355 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21053220331668854 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.011246743611991405 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09649734944105148 }, "else": { "operation": "boost", "score": 0.05421604588627815 } } } }, "else": { "operation": "boost", "score": -0.1445317566394806 } } } } }, "else": { "operation": "boost", "score": -0.00016824259364511818 } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02400130406022072 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220112.0, "then": { "operation": "boost", "score": 0.04793303832411766 }, "else": { "operation": "boost", "score": 0.07819665968418121 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 152494.0, "then": { "operation": "boost", "score": -0.3003333806991577 }, "else": { "operation": "boost", "score": 0.01562727428972721 } } }, "else": { "operation": "boost", "score": 0.0692133679986 } }, "else": { "operation": "boost", "score": 0.002973940223455429 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.02848798967897892 }, "else": { "operation": "boost", "score": 0.011603191494941711 } }, "else": { "operation": "boost", "score": -0.022099629044532776 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.13025163114070892 }, "else": { "operation": "boost", "score": 0.07744558155536652 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": -0.04187949001789093 }, "else": { "operation": "boost", "score": 0.12102971225976944 } }, "else": { "operation": "boost", "score": 0.016087589785456657 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.03715955838561058 }, "else": { "operation": "boost", "score": 0.012373130768537521 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.09323671460151672 }, "else": { "operation": "boost", "score": -0.030150914564728737 } } }, "else": { "operation": "boost", "score": -0.002522902563214302 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0037964603397995234 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012741615995764732 }, "else": { "operation": "boost", "score": -0.010972399264574051 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.12348063290119171 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13091.5, "then": { "operation": "boost", "score": -0.11406544595956802 }, "else": { "operation": "boost", "score": 0.01241949014365673 } }, "else": { "operation": "boost", "score": 0.053863443434238434 } } }, "else": { "operation": "boost", "score": 0.015081940218806267 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": 0.045739173889160156 }, "else": { "operation": "boost", "score": 0.7085154056549072 } }, "else": { "operation": "boost", "score": 0.0011841666419059038 } }, "else": { "operation": "boost", "score": -0.005929804407060146 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.12158595770597458 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.026410112157464027 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05024043098092079 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030424481257796288 }, "else": { "operation": "boost", "score": -0.12581698596477509 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.043471258133649826 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05115978792309761 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0858042910695076 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.16377781331539154 }, "else": { "operation": "boost", "score": -0.20762614905834198 } } }, "else": { "operation": "boost", "score": 0.043028172105550766 } } }, "else": { "operation": "boost", "score": -0.10839705914258957 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.005866926163434982 }, "else": { "operation": "boost", "score": 0.062398217618465424 } }, "else": { "operation": "boost", "score": -0.06632421165704727 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07159819453954697 }, "else": { "operation": "boost", "score": 0.02400834672152996 } } }, "else": { "operation": "boost", "score": -0.03507978469133377 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.001685313880443573 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.25734227895736694 }, "else": { "operation": "boost", "score": 0.05344979465007782 } }, "else": { "operation": "boost", "score": 0.04275393486022949 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": 0.02643992193043232 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.05545355752110481 }, "else": { "operation": "boost", "score": 0.09659457951784134 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11199787259101868 }, "else": { "operation": "boost", "score": -0.052994586527347565 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.2879229485988617 }, "else": { "operation": "boost", "score": 0.03609880432486534 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.010244583711028099 }, "else": { "operation": "boost", "score": -0.10295528918504715 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10932599753141403 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "boost", "score": 0.07083526998758316 }, "else": { "operation": "boost", "score": -0.2742350399494171 } } }, "else": { "operation": "boost", "score": 0.004961137659847736 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.02524532563984394 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.08643222600221634 }, "else": { "operation": "boost", "score": 0.1461026668548584 } }, "else": { "operation": "boost", "score": 0.10772950202226639 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.053756505250930786 }, "else": { "operation": "boost", "score": 0.9447497129440308 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.24951060116291046 }, "else": { "operation": "boost", "score": -0.005984005983918905 } } } } }, "else": { "operation": "boost", "score": 0.008957941085100174 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "boost", "score": -0.02657654881477356 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 291.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3284.0, "then": { "operation": "boost", "score": -0.02266940288245678 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3115.0, "then": { "operation": "boost", "score": 0.18607504665851593 }, "else": { "operation": "boost", "score": 0.07256380468606949 } } }, "else": { "operation": "boost", "score": -0.0008960621198639274 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04009879380464554 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.02829798124730587 }, "else": { "operation": "boost", "score": 0.0696633830666542 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.385146826505661 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.009222683496773243 }, "else": { "operation": "boost", "score": 0.046812281012535095 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.1164667010307312 }, "else": { "operation": "boost", "score": 0.01548696681857109 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.002127789193764329 }, "else": { "operation": "boost", "score": 0.008775672875344753 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.1393333226442337 }, "else": { "operation": "boost", "score": -0.01870655082166195 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.004574578255414963 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.15600506961345673 }, "else": { "operation": "boost", "score": -0.004934391938149929 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 1.159951090812683 }, "else": { "operation": "boost", "score": 0.11258355528116226 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.014528150670230389 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008020474575459957 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.024326622486114502 }, "else": { "operation": "boost", "score": -0.004654192365705967 } } } } }, "else": { "operation": "boost", "score": -0.019569069147109985 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.0072609782218933105 }, "else": { "operation": "boost", "score": 0.006053392309695482 } } } }, "else": { "operation": "boost", "score": -0.008111299015581608 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.002126717008650303 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 169.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": -0.1436290293931961 }, "else": { "operation": "boost", "score": 0.019890792667865753 } }, "else": { "operation": "boost", "score": 0.2364569902420044 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07585597038269043 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023162806406617165 }, "else": { "operation": "boost", "score": -0.053772538900375366 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.05463296175003052 }, "else": { "operation": "boost", "score": 0.027265820652246475 } } } }, "else": { "operation": "boost", "score": -0.01412682794034481 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1621546447277069 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.002722698962315917 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.0940052717924118 }, "else": { "operation": "boost", "score": -0.015737542882561684 } } } }, "else": { "operation": "boost", "score": -0.1071741133928299 } }, "else": { "operation": "boost", "score": 0.010426012799143791 } } } }, "else": { "operation": "boost", "score": 0.009052521549165249 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.012541241943836212 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.0369470939040184 }, "else": { "operation": "boost", "score": 0.01056885626167059 } } } } } }, "else": { "operation": "boost", "score": -0.009341657161712646 } } } }, "else": { "operation": "boost", "score": -0.000626898545306176 } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.000978067866526544 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0032434524036943913 }, "else": { "operation": "boost", "score": -0.019533796235919 } }, "else": { "operation": "boost", "score": -0.0011493518250063062 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.13872672617435455 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 785.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 796.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.5959507822990417 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 830.0, "then": { "operation": "boost", "score": 0.020611271262168884 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.1380709558725357 }, "else": { "operation": "boost", "score": 0.052616946399211884 } } } }, "else": { "operation": "boost", "score": 0.2540584206581116 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.009359976276755333 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.11227750778198242 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 510.0, "then": { "operation": "boost", "score": 0.2303500473499298 }, "else": { "operation": "boost", "score": -0.012101538479328156 } } } } }, "else": { "operation": "boost", "score": 0.03708415850996971 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003590163541957736 }, "else": { "operation": "boost", "score": 0.007363366894423962 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.27494168281555176 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.2039349228143692 }, "else": { "operation": "boost", "score": 0.02279553934931755 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 113.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.05859784409403801 }, "else": { "operation": "boost", "score": 0.06176484003663063 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99.5, "then": { "operation": "boost", "score": -0.3843179941177368 }, "else": { "operation": "boost", "score": -0.024965571239590645 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1303745061159134 }, "else": { "operation": "boost", "score": 0.04958618804812431 } }, "else": { "operation": "boost", "score": 0.01282954216003418 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11742200702428818 }, "else": { "operation": "boost", "score": -0.027713080868124962 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.07228299230337143 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11975449323654175 }, "else": { "operation": "boost", "score": 0.03649419546127319 } } }, "else": { "operation": "boost", "score": 0.03497075289487839 } }, "else": { "operation": "boost", "score": -0.003974169492721558 } } }, "else": { "operation": "boost", "score": -0.12290152907371521 } }, "else": { "operation": "boost", "score": -0.01624353975057602 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011561665683984756 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 4.294602870941162 }, "else": { "operation": "boost", "score": -0.12183432281017303 } }, "else": { "operation": "boost", "score": -0.07891983538866043 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.024056240916252136 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.123222216963768 }, "else": { "operation": "boost", "score": -0.10181386768817902 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10054897516965866 }, "else": { "operation": "boost", "score": 0.10896947234869003 } }, "else": { "operation": "boost", "score": 0.08084532618522644 } }, "else": { "operation": "boost", "score": -0.02848714031279087 } }, "else": { "operation": "boost", "score": -1.0812541246414185 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10548123717308044 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011429959908127785 }, "else": { "operation": "boost", "score": 0.03656627982854843 } } } }, "else": { "operation": "boost", "score": 0.008305622264742851 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.013953527435660362 }, "else": { "operation": "boost", "score": 0.0013938592746853828 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11266156286001205 }, "else": { "operation": "boost", "score": 0.06319790333509445 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Other", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0015383388381451368 }, "else": { "operation": "boost", "score": 0.017983974888920784 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0030946361366659403 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08496406674385071 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10620223730802536 }, "else": { "operation": "boost", "score": -0.10354144126176834 } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.11262723803520203 }, "else": { "operation": "boost", "score": 0.16177920997142792 } }, "else": { "operation": "boost", "score": -0.13782308995723724 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05294949561357498 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.027691425755620003 }, "else": { "operation": "boost", "score": 4.164293204667047e-05 } } } }, "else": { "operation": "boost", "score": -0.000640995625872165 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006298573222011328 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.2748804986476898 }, "else": { "operation": "boost", "score": 0.12583594024181366 } } }, "else": { "operation": "boost", "score": -0.048694759607315063 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.008004069328308105 }, "else": { "operation": "boost", "score": 0.17825835943222046 } }, "else": { "operation": "boost", "score": 0.02618134208023548 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07446007430553436 }, "else": { "operation": "boost", "score": 0.022749394178390503 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06327665597200394 }, "else": { "operation": "boost", "score": -0.10483184456825256 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0040351832285523415 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.20257768034934998 }, "else": { "operation": "boost", "score": -0.042878296226263046 } } } } } }, "else": { "operation": "boost", "score": -0.011791698634624481 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10128659754991531 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.5664917826652527 }, "else": { "operation": "boost", "score": -0.0435347743332386 } } }, "else": { "operation": "boost", "score": -0.3066834807395935 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06281653046607971 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 32.5, "then": { "operation": "boost", "score": -0.4542044401168823 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027569517493247986 }, "else": { "operation": "boost", "score": -0.02630799449980259 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1035563126206398 }, "else": { "operation": "boost", "score": -0.06951580941677094 } } } }, "else": { "operation": "boost", "score": 0.011874448508024216 } } }, "else": { "operation": "boost", "score": -0.13298185169696808 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.18924929201602936 }, "else": { "operation": "boost", "score": 0.05120014399290085 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12394887208938599 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10362043976783752 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.023188743740320206 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.04032896086573601 }, "else": { "operation": "boost", "score": -0.5251564979553223 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.009426930919289589 }, "else": { "operation": "boost", "score": 0.04172290861606598 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.04150928184390068 }, "else": { "operation": "boost", "score": 0.07050983607769012 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013762333430349827 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14172135293483734 }, "else": { "operation": "boost", "score": 0.2448912113904953 } }, "else": { "operation": "boost", "score": 0.056889958679676056 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004237506538629532 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.300592839717865 }, "else": { "operation": "boost", "score": 0.015560587868094444 } } }, "else": { "operation": "boost", "score": -0.0057405708357691765 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.006378361023962498 }, "else": { "operation": "boost", "score": 0.0002680967445485294 } }, "else": { "operation": "boost", "score": -0.06617840379476547 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.010928072966635227 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12769454717636108 }, "else": { "operation": "boost", "score": 0.797773540019989 } }, "else": { "operation": "boost", "score": -0.12692321836948395 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.018351895734667778 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06319020688533783 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11581774055957794 }, "else": { "operation": "boost", "score": 0.12008335441350937 } } }, "else": { "operation": "boost", "score": 0.023111119866371155 } } } }, "else": { "operation": "boost", "score": -0.10707085579633713 } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23443223536014557, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3245614171028137, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.021701300516724586 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17321671545505524 }, "else": { "operation": "boost", "score": 0.07532765716314316 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08837592601776123 }, "else": { "operation": "boost", "score": -0.07437805831432343 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10811302810907364 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22252747416496277, "then": { "operation": "boost", "score": 0.11044221371412277 }, "else": { "operation": "boost", "score": 0.08070756494998932 } } } }, "else": { "operation": "boost", "score": 0.002672858303412795 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2728275656700134 }, "else": { "operation": "boost", "score": 0.0029972258489578962 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12865129113197327 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.035731468349695206 }, "else": { "operation": "boost", "score": 0.047551434487104416 } }, "else": { "operation": "boost", "score": 0.04291671887040138 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1472999006509781 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.1359235942363739 }, "else": { "operation": "boost", "score": 0.1481594741344452 } }, "else": { "operation": "boost", "score": 0.04213515669107437 } }, "else": { "operation": "boost", "score": -0.012835810892283916 } } } }, "else": { "operation": "boost", "score": -0.029688207432627678 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.006733829155564308 }, "else": { "operation": "boost", "score": 0.037397485226392746 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0065246582962572575 }, "else": { "operation": "boost", "score": -0.06062892824411392 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.10770323872566223 }, "else": { "operation": "boost", "score": 0.2579324245452881 } } }, "else": { "operation": "boost", "score": -0.0030043472070246935 } }, "else": { "operation": "boost", "score": -0.13042831420898438 } }, "else": { "operation": "boost", "score": 0.00430239038541913 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0036323312669992447 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.001433235825970769 }, "else": { "operation": "boost", "score": -0.013461374677717686 } } }, "else": { "operation": "boost", "score": -0.01835550367832184 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.12788823246955872 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14552.0, "then": { "operation": "boost", "score": 0.0723816454410553 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01893812231719494 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.018852531909942627 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.019732270389795303 }, "else": { "operation": "boost", "score": -0.15940602123737335 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.0938490554690361 }, "else": { "operation": "boost", "score": 0.06485901027917862 } } }, "else": { "operation": "boost", "score": -0.021776815876364708 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.02668612077832222 }, "else": { "operation": "boost", "score": -0.036322422325611115 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.08120295405387878 }, "else": { "operation": "boost", "score": -0.38497471809387207 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "boost", "score": -0.054955609142780304 }, "else": { "operation": "boost", "score": 0.27775922417640686 } }, "else": { "operation": "boost", "score": 0.07029920816421509 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "boost", "score": 0.006742463447153568 }, "else": { "operation": "boost", "score": 0.18413367867469788 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 363.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 385.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1570.0, "then": { "operation": "boost", "score": 0.21896860003471375 }, "else": { "operation": "boost", "score": 0.05693446472287178 } }, "else": { "operation": "boost", "score": 0.007501464337110519 } }, "else": { "operation": "boost", "score": 0.15292787551879883 } }, "else": { "operation": "boost", "score": -0.02056458592414856 } }, "else": { "operation": "boost", "score": 0.0804295688867569 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1141.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.09039556235074997 }, "else": { "operation": "boost", "score": -0.42899444699287415 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.13884972035884857 }, "else": { "operation": "boost", "score": -0.005449510645121336 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.42579522728919983 }, "else": { "operation": "boost", "score": -0.0651792511343956 } } } } }, "else": { "operation": "boost", "score": 0.024082956835627556 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.191347137093544 }, "else": { "operation": "boost", "score": 0.13444991409778595 } }, "else": { "operation": "boost", "score": -0.043691884726285934 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2083333432674408, "then": { "operation": "boost", "score": 0.12770727276802063 }, "else": { "operation": "boost", "score": 0.16370955109596252 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -1.3002445786725048e-09 }, "else": { "operation": "boost", "score": 0.11007504910230637 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.0036366076674312353 }, "else": { "operation": "boost", "score": 0.10925130546092987 } } }, "else": { "operation": "boost", "score": 0.14655284583568573 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.027505138888955116 }, "else": { "operation": "boost", "score": 0.1374935805797577 } }, "else": { "operation": "boost", "score": -0.0067269387654960155 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.5208917856216431 }, "else": { "operation": "boost", "score": 0.005036272574216127 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.10537387430667877 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10469765961170197 }, "else": { "operation": "boost", "score": -0.02542676031589508 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.12286043912172318 }, "else": { "operation": "boost", "score": 0.10374109447002411 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.11129564791917801 }, "else": { "operation": "boost", "score": 0.22119590640068054 } }, "else": { "operation": "boost", "score": 0.0706552192568779 } }, "else": { "operation": "boost", "score": -0.09446509182453156 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.010798170231282711 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 470.5, "then": { "operation": "boost", "score": -0.3308092951774597 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "boost", "score": 0.10387786477804184 }, "else": { "operation": "boost", "score": 0.16185446083545685 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": -0.001140847452916205 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.06264018267393112 }, "else": { "operation": "boost", "score": -0.9128319621086121 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.5979392528533936 }, "else": { "operation": "boost", "score": -0.12796230614185333 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.056325480341911316 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.6198936700820923 }, "else": { "operation": "boost", "score": -0.0057829865254461765 } } } } } } } } } } }, "else": { "operation": "boost", "score": -0.01977589540183544 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.14340101182460785 }, "else": { "operation": "boost", "score": -0.038920432329177856 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.025252221152186394 }, "else": { "operation": "boost", "score": 0.059392355382442474 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "boost", "score": 0.03704385086894035 }, "else": { "operation": "boost", "score": -0.031134815886616707 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1969.5, "then": { "operation": "boost", "score": 0.1159946545958519 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 576.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.040404144674539566 }, "else": { "operation": "boost", "score": -0.5119736790657043 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.021903708577156067 }, "else": { "operation": "boost", "score": 0.09760361164808273 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 111.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134.5, "then": { "operation": "boost", "score": -0.01671701855957508 }, "else": { "operation": "boost", "score": 0.1622217893600464 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.903538703918457 }, "else": { "operation": "boost", "score": -0.015952639281749725 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.26556196808815 }, "else": { "operation": "boost", "score": 0.001721831620670855 } }, "else": { "operation": "boost", "score": -0.2439032346010208 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.005114032421261072 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.04874753579497337 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.12387137115001678 }, "else": { "operation": "boost", "score": -0.0731995552778244 } } }, "else": { "operation": "boost", "score": -0.07223943620920181 } } } } }, "else": { "operation": "boost", "score": -0.028937658295035362 } } } }, "else": { "operation": "boost", "score": -4.553383405436762e-05 } } }, "else": { "operation": "boost", "score": -0.0004899075720459223 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0043790824711322784 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.030807975679636 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.13708403706550598 }, "else": { "operation": "boost", "score": 0.10041848570108414 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03555859252810478 }, "else": { "operation": "boost", "score": -0.012505742721259594 } } }, "else": { "operation": "boost", "score": 0.010016510263085365 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.030635716393589973 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.1506742686033249 }, "else": { "operation": "boost", "score": 0.16461774706840515 } } }, "else": { "operation": "boost", "score": -0.036227114498615265 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.08809497952461243 }, "else": { "operation": "boost", "score": 0.2510433793067932 } }, "else": { "operation": "boost", "score": 0.0832013189792633 } } }, "else": { "operation": "boost", "score": 0.008947998285293579 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.001736943842843175 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11426593363285065 }, "else": { "operation": "boost", "score": -0.029455378651618958 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09818076342344284 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.07930239289999008 }, "else": { "operation": "boost", "score": -0.014317609369754791 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.025309402495622635 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.0, "then": { "operation": "boost", "score": 0.08739056438207626 }, "else": { "operation": "boost", "score": 0.2278376668691635 } }, "else": { "operation": "boost", "score": -0.030998365953564644 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.049779925495386124 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": 0.1216145008802414 }, "else": { "operation": "boost", "score": 0.01791105419397354 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.18123094737529755 }, "else": { "operation": "boost", "score": -0.015973111614584923 } } } }, "else": { "operation": "boost", "score": -0.03871886804699898 } } } }, "else": { "operation": "boost", "score": -0.019825609400868416 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -0.08056733757257462 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.15080232918262482 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.1233731359243393 }, "else": { "operation": "boost", "score": 0.11960706114768982 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.14931921660900116 }, "else": { "operation": "boost", "score": 0.15200310945510864 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.19046108424663544 }, "else": { "operation": "boost", "score": 0.05725352093577385 } }, "else": { "operation": "boost", "score": 0.041724275797605515 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.20108191668987274 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2817460298538208, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06924717873334885 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.1319665163755417 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0772232860326767 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0323745496571064 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.03706388175487518 }, "else": { "operation": "boost", "score": -0.23877067863941193 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.3968706727027893 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.036602310836315155 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07144642621278763 }, "else": { "operation": "boost", "score": 0.1600523740053177 } } }, "else": { "operation": "boost", "score": 0.018465818837285042 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033578060567379 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.04585929587483406 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.011314923875033855 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.3136734664440155 }, "else": { "operation": "boost", "score": -0.23735365271568298 } } } } }, "else": { "operation": "boost", "score": 0.033671244978904724 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.13752193748950958 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.08819503337144852 }, "else": { "operation": "boost", "score": -0.002174093620851636 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -1.5582008361816406 }, "else": { "operation": "boost", "score": -0.12132951617240906 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.002412287052720785 }, "else": { "operation": "boost", "score": -0.14211629331111908 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017680613324046135 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "boost", "score": 0.06452850252389908 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.07288256287574768 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1761387586593628 }, "else": { "operation": "boost", "score": 0.11707542091608047 } } } }, "else": { "operation": "boost", "score": -0.20963941514492035 } }, "else": { "operation": "boost", "score": 0.023896194994449615 } } }, "else": { "operation": "boost", "score": -0.10025741904973984 } } } } }, "else": { "operation": "boost", "score": 0.16452838480472565 } }, "else": { "operation": "boost", "score": 0.0032226149924099445 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.01274335477501154 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03250735253095627 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11757225543260574 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "NumNameInContext", "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.0027204900979995728 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1081698015332222 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11222895234823227 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8999999761581421, "then": { "operation": "boost", "score": 0.14308123290538788 }, "else": { "operation": "boost", "score": 0.11011667549610138 } }, "else": { "operation": "boost", "score": -0.27925071120262146 } } } } }, "else": { "operation": "boost", "score": 0.08686311542987823 } }, "else": { "operation": "boost", "score": -0.015459845773875713 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.018193062394857407 }, "else": { "operation": "boost", "score": -0.09147863835096359 } }, "else": { "operation": "boost", "score": 0.07986506819725037 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08539815992116928 }, "else": { "operation": "boost", "score": 0.04208461940288544 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.09266756474971771 }, "else": { "operation": "boost", "score": 0.05122501775622368 } } } } }, "else": { "operation": "boost", "score": -0.009430931881070137 } }, "else": { "operation": "boost", "score": 0.007854443043470383 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.05905630812048912 }, "else": { "operation": "boost", "score": -0.019727516919374466 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.04933692887425423 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.08533571660518646 }, "else": { "operation": "boost", "score": -0.10744447261095047 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 235.5, "then": { "operation": "boost", "score": -0.4037652313709259 }, "else": { "operation": "boost", "score": 0.16682876646518707 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.10429447144269943 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.050411406904459 }, "else": { "operation": "boost", "score": 0.11749223619699478 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16681337356567383 }, "else": { "operation": "boost", "score": 0.08723682910203934 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07763738185167313 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005244896747171879 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.16117152571678162 }, "else": { "operation": "boost", "score": 0.19074001908302307 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.10831921547651291 }, "else": { "operation": "boost", "score": -0.624600350856781 } }, "else": { "operation": "boost", "score": 0.018530819565057755 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7207792401313782, "then": { "operation": "boost", "score": -0.1344747245311737 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6547619104385376, "then": { "operation": "boost", "score": 0.10247937589883804 }, "else": { "operation": "boost", "score": 0.002878654282540083 } } }, "else": { "operation": "boost", "score": -0.01352731604129076 } } } }, "else": { "operation": "boost", "score": -0.009821811690926552 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13547760248184204 }, "else": { "operation": "boost", "score": -0.1060049757361412 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.0011839502258226275 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0019230461912229657 }, "else": { "operation": "boost", "score": 0.04830247536301613 } } } }, "else": { "operation": "boost", "score": -0.003377165412530303 } } }, "else": { "operation": "boost", "score": -0.15779680013656616 } }, "else": { "operation": "boost", "score": -0.00020805506210308522 } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.007191034499555826 }, "else": { "operation": "boost", "score": 0.0015288389986380935 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0012364051071926951 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.06064142286777496 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03488261252641678 }, "else": { "operation": "boost", "score": 0.06743043661117554 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.05571684241294861 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.004684825427830219 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.08780594170093536 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11708618700504303 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.08891268074512482 }, "else": { "operation": "boost", "score": 0.14088085293769836 } }, "else": { "operation": "boost", "score": -0.0005086538149043918 } }, "else": { "operation": "boost", "score": 0.15264949202537537 } } } }, "else": { "operation": "boost", "score": 0.02204681746661663 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.25574013590812683 }, "else": { "operation": "boost", "score": 0.08166270703077316 } }, "else": { "operation": "boost", "score": 0.12017948180437088 } }, "else": { "operation": "boost", "score": 0.027801718562841415 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.09622704237699509 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10008955001831055 }, "else": { "operation": "boost", "score": -0.06616475433111191 } }, "else": { "operation": "boost", "score": 0.09938210994005203 } }, "else": { "operation": "boost", "score": -0.01927945576608181 } } }, "else": { "operation": "boost", "score": -0.23969663679599762 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.008946791291236877 }, "else": { "operation": "boost", "score": 0.06221044063568115 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.12998969852924347 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1770140528678894 }, "else": { "operation": "boost", "score": 0.12396284192800522 } } }, "else": { "operation": "boost", "score": 0.015324401669204235 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.021581850945949554 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1594514101743698 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10642983764410019 }, "else": { "operation": "boost", "score": 0.12181830406188965 } }, "else": { "operation": "boost", "score": 0.005204018205404282 } } }, "else": { "operation": "boost", "score": -0.010654940269887447 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07164964079856873 }, "else": { "operation": "boost", "score": 0.2507694363594055 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "boost", "score": -0.09838996082544327 }, "else": { "operation": "boost", "score": 0.11147382855415344 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.04930591210722923 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10110106319189072 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05186007544398308 }, "else": { "operation": "boost", "score": 0.10767263174057007 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.025237826630473137 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6696428656578064, "then": { "operation": "boost", "score": 0.10303480923175812 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.15329496562480927 }, "else": { "operation": "boost", "score": 0.05059902369976044 } } } } } }, "else": { "operation": "boost", "score": -0.02672327682375908 } }, "else": { "operation": "boost", "score": 0.019542384892702103 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50186.0, "then": { "operation": "boost", "score": -0.27487632632255554 }, "else": { "operation": "boost", "score": -0.008519125171005726 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "boost", "score": 0.02276836335659027 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 12.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.5570861101150513 }, "else": { "operation": "boost", "score": -0.13374362885951996 } }, "else": { "operation": "boost", "score": -0.19052083790302277 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.1036999449133873 }, "else": { "operation": "boost", "score": 0.02469533309340477 } }, "else": { "operation": "boost", "score": 0.33949145674705505 } }, "else": { "operation": "boost", "score": 0.06504737585783005 } } } }, "else": { "operation": "boost", "score": 0.007551718037575483 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03835337981581688 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.033536147326231 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.08444616943597794 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3269.5, "then": { "operation": "boost", "score": 0.00835324265062809 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1296.0, "then": { "operation": "boost", "score": -0.11592110246419907 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 332.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1113.5, "then": { "operation": "boost", "score": 0.112408846616745 }, "else": { "operation": "boost", "score": 0.07565334439277649 } }, "else": { "operation": "boost", "score": 0.3360001742839813 } }, "else": { "operation": "boost", "score": -0.0673159658908844 } } }, "else": { "operation": "boost", "score": 0.32517534494400024 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1091.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1152.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.11512981355190277 }, "else": { "operation": "boost", "score": 0.07510538399219513 } }, "else": { "operation": "boost", "score": 0.2054782658815384 } }, "else": { "operation": "boost", "score": 0.02722848393023014 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.061743494123220444 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.776103675365448 }, "else": { "operation": "boost", "score": 0.0930323675274849 } } }, "else": { "operation": "boost", "score": -0.010253913700580597 } } } }, "else": { "operation": "boost", "score": 0.021609660238027573 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0416802354156971 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.24016883969306946 }, "else": { "operation": "boost", "score": 0.008459032513201237 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.010953841730952263 }, "else": { "operation": "boost", "score": 0.0051690018735826015 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.20250539481639862 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.36199480295181274 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009686306118965149 }, "else": { "operation": "boost", "score": -0.0051134261302649975 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.014982050284743309 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.006006719544529915 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0223537664860487 }, "else": { "operation": "boost", "score": -0.004271680489182472 } } } }, "else": { "operation": "boost", "score": -0.01713901199400425 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.012491095811128616 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0018588851671665907 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -0.30579322576522827 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": -0.011954578571021557 }, "else": { "operation": "boost", "score": -0.08556331694126129 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.0367160364985466 }, "else": { "operation": "boost", "score": 0.005387096665799618 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.05191337689757347 }, "else": { "operation": "boost", "score": -0.002513653365895152 } }, "else": { "operation": "boost", "score": 0.016109062358736992 } }, "else": { "operation": "boost", "score": -0.1002093255519867 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0013941786019131541 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.054038338363170624 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.023999273777008057 }, "else": { "operation": "boost", "score": -0.14382703602313995 } } }, "else": { "operation": "boost", "score": -0.007074030116200447 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01261135283857584 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01382086519151926 }, "else": { "operation": "boost", "score": -0.03150990977883339 } }, "else": { "operation": "boost", "score": -0.052164968103170395 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01309114322066307 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 398484.5, "then": { "operation": "boost", "score": -0.19659751653671265 }, "else": { "operation": "boost", "score": -0.013261091895401478 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.03302072361111641 }, "else": { "operation": "boost", "score": 0.01065438985824585 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.15638306736946106 }, "else": { "operation": "boost", "score": 0.06307130306959152 } }, "else": { "operation": "boost", "score": 0.024465134367346764 } }, "else": { "operation": "boost", "score": 0.0018472514348104596 } }, "else": { "operation": "boost", "score": 0.10335025936365128 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04734949395060539 }, "else": { "operation": "boost", "score": -0.07756617665290833 } } } } } }, "else": { "operation": "boost", "score": -0.0004717946576420218 } }, { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18614718317985535, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.10177680104970932 }, "else": { "operation": "boost", "score": 0.03698424622416496 } }, "else": { "operation": "boost", "score": 0.0036220799665898085 } }, "else": { "operation": "boost", "score": 0.009203577414155006 } }, "else": { "operation": "boost", "score": 0.13257476687431335 } }, "else": { "operation": "boost", "score": -0.0009224828681908548 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4464.5, "then": { "operation": "boost", "score": 0.010247895494103432 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4035.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4210.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4252.5, "then": { "operation": "boost", "score": -0.02593368850648403 }, "else": { "operation": "boost", "score": 0.11711981147527695 } }, "else": { "operation": "boost", "score": -0.1432752162218094 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3997.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.3177371919155121 }, "else": { "operation": "boost", "score": 0.11248493194580078 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3311.0, "then": { "operation": "boost", "score": -0.21833547949790955 }, "else": { "operation": "boost", "score": 0.017413429915905 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1342354565858841 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.10036325454711914 }, "else": { "operation": "boost", "score": 0.04803675040602684 } } }, "else": { "operation": "boost", "score": -0.007124327588826418 } }, "else": { "operation": "boost", "score": 0.007065048441290855 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3874.0, "then": { "operation": "boost", "score": 0.12241819500923157 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007949844934046268 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.007753666955977678 }, "else": { "operation": "boost", "score": -0.06203873082995415 } }, "else": { "operation": "boost", "score": 0.000696358853019774 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.0004922975786030293 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02033214457333088 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.1341688632965088 }, "else": { "operation": "boost", "score": -0.02884571999311447 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.19442018866539001 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.10770638287067413 }, "else": { "operation": "boost", "score": 0.02366524003446102 } }, "else": { "operation": "boost", "score": 0.009141098707914352 } } }, "else": { "operation": "boost", "score": -0.5403812527656555 } } }, "else": { "operation": "boost", "score": 0.023051610216498375 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.18894246220588684 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.24503645300865173 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.10172583907842636 }, "else": { "operation": "boost", "score": -0.102369524538517 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": -0.523491382598877 }, "else": { "operation": "boost", "score": -0.03410370647907257 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": 0.09618552029132843 }, "else": { "operation": "boost", "score": 0.03454143553972244 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.0509113147854805 }, "else": { "operation": "boost", "score": 0.16027319431304932 } }, "else": { "operation": "boost", "score": -0.1048215925693512 } } }, "else": { "operation": "boost", "score": -0.02150803431868553 } } } }, "else": { "operation": "boost", "score": 0.007936708629131317 } } }, "else": { "operation": "boost", "score": 0.017292805016040802 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.009890188463032246 }, "else": { "operation": "boost", "score": -0.012287947349250317 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.06370773166418076 }, "else": { "operation": "boost", "score": 0.000703765545040369 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0594918318092823 }, "else": { "operation": "boost", "score": 0.15751448273658752 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -0.2103716880083084 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.08878026902675629 }, "else": { "operation": "boost", "score": 0.042351581156253815 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8999999761581421, "then": { "operation": "boost", "score": 0.2516767978668213 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10747905820608139 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": -0.0038914713077247143 }, "else": { "operation": "boost", "score": 0.032342396676540375 } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0006269702571444213 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.09192901849746704 }, "else": { "operation": "boost", "score": -0.023434320464730263 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1936255246400833 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07472047954797745 }, "else": { "operation": "boost", "score": -0.02343680150806904 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.02403353340923786 }, "else": { "operation": "boost", "score": -0.15146182477474213 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03822210803627968 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.07725842297077179 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.15458731353282928 }, "else": { "operation": "boost", "score": -0.01727977767586708 } }, "else": { "operation": "boost", "score": -0.0157580878585577 } }, "else": { "operation": "boost", "score": 0.01870795153081417 } }, "else": { "operation": "boost", "score": -0.03041635826230049 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "boost", "score": 0.048147521913051605 }, "else": { "operation": "boost", "score": -0.11522255092859268 } }, "else": { "operation": "boost", "score": 0.0038328361697494984 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": -0.09047207236289978 }, "else": { "operation": "boost", "score": -0.04003902152180672 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.025360403582453728 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06086413562297821 }, "else": { "operation": "boost", "score": 0.003323004115372896 } }, "else": { "operation": "boost", "score": -0.01984761655330658 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.08139261603355408 }, "else": { "operation": "boost", "score": -0.2596028745174408 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.07359884679317474 }, "else": { "operation": "boost", "score": -0.01661432720720768 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.061473239213228226 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.21139048039913177 }, "else": { "operation": "boost", "score": 0.025606026872992516 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09657640755176544 }, "else": { "operation": "boost", "score": 0.024132974445819855 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.011068685911595821 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.09652301669120789 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.5030319094657898 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11857564747333527 }, "else": { "operation": "boost", "score": -0.02405446395277977 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2903074026107788 }, "else": { "operation": "boost", "score": 0.0040025063790380955 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.05892309546470642 }, "else": { "operation": "boost", "score": 0.21664948761463165 } } }, "else": { "operation": "boost", "score": 0.013232005760073662 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006993937771767378 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.07603845000267029 }, "else": { "operation": "boost", "score": 0.04777558892965317 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.10236963629722595 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.05738890916109085 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.11494578421115875 }, "else": { "operation": "boost", "score": 0.1073957085609436 } } }, "else": { "operation": "boost", "score": 0.05797027796506882 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.02639535441994667 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.10889049619436264 }, "else": { "operation": "boost", "score": 0.05575646832585335 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.06553755700588226 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.5006436109542847 }, "else": { "operation": "boost", "score": 0.13068798184394836 } } } } }, "else": { "operation": "boost", "score": 0.01742546632885933 } } } }, "else": { "operation": "boost", "score": -0.05266523361206055 } }, "else": { "operation": "boost", "score": -0.013626650907099247 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.023092560470104218 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": -0.0008264699135906994 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01823270693421364 }, "else": { "operation": "boost", "score": -0.01848263293504715 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": -0.21648608148097992 }, "else": { "operation": "boost", "score": 0.11282654851675034 } }, "else": { "operation": "boost", "score": 0.0031107845716178417 } } } } } } } } } } }, { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05134141817688942 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021538201719522476 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.1561160534620285 }, "else": { "operation": "boost", "score": 0.012796763330698013 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.006376327946782112 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.022808266803622246 }, "else": { "operation": "boost", "score": -0.03507460281252861 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.04814942181110382 }, "else": { "operation": "boost", "score": 0.02568429708480835 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.052023448050022125 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.011857856996357441 }, "else": { "operation": "boost", "score": -0.024699296802282333 } } }, "else": { "operation": "boost", "score": -0.004296578001230955 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.018779195845127106 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.00024659206974320114 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.0, "then": { "operation": "boost", "score": -0.03768032416701317 }, "else": { "operation": "boost", "score": 0.12412726879119873 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 66.0, "then": { "operation": "boost", "score": 0.08198021352291107 }, "else": { "operation": "boost", "score": 0.11961319297552109 } }, "else": { "operation": "boost", "score": -0.005435221828520298 } }, "else": { "operation": "boost", "score": -0.017295369878411293 } } }, "else": { "operation": "boost", "score": -0.13437318801879883 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "boost", "score": -0.03345348313450813 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.5, "then": { "operation": "boost", "score": 0.2755756080150604 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03283674642443657 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.094693623483181 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.30288854241371155 }, "else": { "operation": "boost", "score": 0.2573169767856598 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.15858472883701324 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11181192845106125 }, "else": { "operation": "boost", "score": 0.2430713027715683 } } }, "else": { "operation": "boost", "score": -0.09957689046859741 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4305555522441864, "then": { "operation": "boost", "score": 0.06963296979665756 }, "else": { "operation": "boost", "score": -0.0975569412112236 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.1364806890487671 }, "else": { "operation": "boost", "score": 0.053728535771369934 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.07302875816822052 }, "else": { "operation": "boost", "score": 0.1120653748512268 } }, "else": { "operation": "boost", "score": 0.04538460448384285 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.09164302051067352 }, "else": { "operation": "boost", "score": -0.17219488322734833 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0796804279088974 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.057770732790231705 }, "else": { "operation": "boost", "score": -0.5156329274177551 } }, "else": { "operation": "boost", "score": 0.06957592070102692 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.07614981383085251 }, "else": { "operation": "boost", "score": 0.039564620703458786 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.021319909021258354 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.13208049535751343 }, "else": { "operation": "boost", "score": 0.031130582094192505 } } } }, "else": { "operation": "boost", "score": -0.06482527405023575 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0028899714816361666 }, "else": { "operation": "boost", "score": -0.04997211694717407 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.9150100946426392 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3030303120613098, "then": { "operation": "boost", "score": 0.11349374055862427 }, "else": { "operation": "boost", "score": 0.11735201627016068 } } }, "else": { "operation": "boost", "score": 0.0009545695502310991 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.02320677973330021 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.12514643371105194 }, "else": { "operation": "boost", "score": 0.09731817245483398 } } } }, "else": { "operation": "boost", "score": -0.00688102887943387 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.10597009211778641 }, "else": { "operation": "boost", "score": 0.09513063728809357 } }, "else": { "operation": "boost", "score": 0.043702755123376846 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.14045922458171844 }, "else": { "operation": "boost", "score": -0.4479513466358185 } }, "else": { "operation": "boost", "score": -0.004938047379255295 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.10194102674722672 }, "else": { "operation": "boost", "score": 0.02090710587799549 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.037078410387039185 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.04516371339559555 }, "else": { "operation": "boost", "score": 0.12538614869117737 } }, "else": { "operation": "boost", "score": 0.11079856008291245 } } } } }, "else": { "operation": "boost", "score": -0.014297941699624062 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.015750279650092125 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08116883039474487, "then": { "operation": "boost", "score": 0.149654820561409 }, "else": { "operation": "boost", "score": 0.06323083490133286 } }, "else": { "operation": "boost", "score": 0.005800396669656038 } } }, "else": { "operation": "boost", "score": -0.026585204526782036 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.008781728334724903 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18906204402446747 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.1210918128490448 }, "else": { "operation": "boost", "score": 0.07280150055885315 } }, "else": { "operation": "boost", "score": -0.05287497490644455 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0060271527618169785 }, "else": { "operation": "boost", "score": 0.07414309680461884 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.027793429791927338 }, "else": { "operation": "boost", "score": 0.010805357247591019 } }, "else": { "operation": "boost", "score": -0.01964961178600788 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.011082030832767487 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0823514387011528 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03360642492771149 }, "else": { "operation": "boost", "score": -0.02430642955005169 } } }, "else": { "operation": "boost", "score": -0.002645618049427867 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0038496372289955616 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12799513339996338 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005482710897922516 }, "else": { "operation": "boost", "score": 0.007057482842355967 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.004188746213912964 }, "else": { "operation": "boost", "score": 0.04727755859494209 } }, "else": { "operation": "boost", "score": -0.10780718177556992 } }, "else": { "operation": "boost", "score": 0.04663396626710892 } }, "else": { "operation": "boost", "score": -0.05920550599694252 } }, "else": { "operation": "boost", "score": -0.027068641036748886 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": 0.0045654913410544395 }, "else": { "operation": "boost", "score": 0.06737309694290161 } }, "else": { "operation": "boost", "score": -0.0757371261715889 } } }, "else": { "operation": "boost", "score": -0.03437727317214012 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.002546918112784624 }, "else": { "operation": "boost", "score": 0.008883552625775337 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.008355313912034035 }, "else": { "operation": "boost", "score": 0.029123982414603233 } }, "else": { "operation": "boost", "score": 0.003866686951369047 } }, "else": { "operation": "boost", "score": -0.0062074060551822186 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0009847148321568966 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0406905822455883 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.3122960031032562 }, "else": { "operation": "boost", "score": -0.033365171402692795 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.05610714852809906 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "boost", "score": 0.0834072157740593 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.0008456968935206532 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.017820855602622032 }, "else": { "operation": "boost", "score": -0.05817655101418495 } } } } } }, "else": { "operation": "boost", "score": 0.01127170491963625 } }, "else": { "operation": "boost", "score": -0.02390456199645996 } }, "else": { "operation": "boost", "score": -0.0072114490903913975 } } } } }, "else": { "operation": "boost", "score": -0.01828569918870926 } } } }, "else": { "operation": "boost", "score": -0.0004869515832979232 } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.004258192144334316 }, "else": { "operation": "boost", "score": 0.0013701822608709335 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.04457341507077217 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0008995907846838236 }, "else": { "operation": "boost", "score": -0.015812719240784645 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.10841835290193558 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.047525495290756226 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.006633542012423277 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.773809552192688, "then": { "operation": "boost", "score": 0.11093796044588089 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.043306462466716766 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11061833053827286 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": 0.002053510397672653 }, "else": { "operation": "boost", "score": 0.11703576892614365 } }, "else": { "operation": "boost", "score": 0.023165788501501083 } } } }, "else": { "operation": "boost", "score": -0.009214970283210278 } } } } } }, "else": { "operation": "boost", "score": 0.004472353961318731 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.009702064096927643 }, "else": { "operation": "boost", "score": 0.0013479480985552073 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.038657527416944504 }, "else": { "operation": "boost", "score": 0.0033819081727415323 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 231028.5, "then": { "operation": "boost", "score": -0.19606399536132812 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41776.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "boost", "score": -0.14154264330863953 }, "else": { "operation": "boost", "score": 0.08121444284915924 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009594209492206573 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.09901886433362961 }, "else": { "operation": "boost", "score": -0.019569043070077896 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005674379877746105 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11926163733005524 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02631578966975212, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10863.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.4762827455997467 }, "else": { "operation": "boost", "score": -0.06671672314405441 } }, "else": { "operation": "boost", "score": 0.04920356720685959 } }, "else": { "operation": "boost", "score": 0.056820787489414215 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.028773004189133644 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.16238345205783844 }, "else": { "operation": "boost", "score": 0.23028583824634552 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "boost", "score": 0.1467401087284088 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.06669547408819199 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.26340988278388977 }, "else": { "operation": "boost", "score": 0.16386863589286804 } } }, "else": { "operation": "boost", "score": 0.006357143633067608 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.09004238247871399 }, "else": { "operation": "boost", "score": 0.018177242949604988 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0672958642244339 }, "else": { "operation": "boost", "score": 0.41833874583244324 } }, "else": { "operation": "boost", "score": -0.025665948167443275 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0055602132342755795 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005201449617743492 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.06883955001831055 }, "else": { "operation": "boost", "score": 0.003162878332659602 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.18427735567092896 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09194763004779816 }, "else": { "operation": "boost", "score": -0.10551732778549194 } }, "else": { "operation": "boost", "score": 0.104869045317173 } } } }, "else": { "operation": "boost", "score": 0.029871230944991112 } } }, "else": { "operation": "boost", "score": -0.05848480388522148 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.016057845205068588 }, "else": { "operation": "boost", "score": -0.07187674939632416 } }, "else": { "operation": "boost", "score": 0.00776870409026742 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63437.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.07810612767934799 }, "else": { "operation": "boost", "score": 0.014919940382242203 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.06615065038204193 }, "else": { "operation": "boost", "score": -0.0731235146522522 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.2215394377708435 }, "else": { "operation": "boost", "score": 0.062234945595264435 } } }, "else": { "operation": "boost", "score": 0.01476798765361309 } }, "else": { "operation": "boost", "score": 0.003117562737315893 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.09436729550361633 }, "else": { "operation": "boost", "score": -0.061548423022031784 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08419071137905121 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1327010691165924 }, "else": { "operation": "boost", "score": 0.04896952956914902 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -1.12400484085083 }, "else": { "operation": "boost", "score": -0.0462660938501358 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.0, "then": { "operation": "boost", "score": 0.1718989759683609 }, "else": { "operation": "boost", "score": 0.07539788633584976 } }, "else": { "operation": "boost", "score": -0.006069194059818983 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.00620965426787734 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.03243285417556763 }, "else": { "operation": "boost", "score": 0.11242944002151489 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.017967846244573593 }, "else": { "operation": "boost", "score": 0.05310693383216858 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.21242661774158478 }, "else": { "operation": "boost", "score": -0.08143047988414764 } } } } }, "else": { "operation": "boost", "score": -0.0064571453258395195 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.0030040843412280083 }, "else": { "operation": "boost", "score": 0.01217347290366888 } }, "else": { "operation": "boost", "score": -0.005251976661384106 } }, "else": { "operation": "boost", "score": 0.0199980940669775 } }, "else": { "operation": "boost", "score": -0.007997567765414715 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.01408112421631813 }, "else": { "operation": "boost", "score": -0.017220495268702507 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.027490384876728058 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.040395841002464294 }, "else": { "operation": "boost", "score": -0.0018560588359832764 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.05317151919007301 }, "else": { "operation": "boost", "score": 0.044086210429668427 } } } } }, "else": { "operation": "boost", "score": -0.0940387174487114 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.07155384123325348 }, "else": { "operation": "boost", "score": -0.011684948578476906 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01529211737215519 }, "else": { "operation": "boost", "score": -0.056358180940151215 } }, "else": { "operation": "boost", "score": -0.005168418399989605 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.048340052366256714 }, "else": { "operation": "boost", "score": 0.04969668760895729 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.06055543199181557 }, "else": { "operation": "boost", "score": 0.032953955233097076 } }, "else": { "operation": "boost", "score": -0.9942768812179565 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.014154493808746338 }, "else": { "operation": "boost", "score": -0.2919263541698456 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.006458897143602371 }, "else": { "operation": "boost", "score": -0.04844105616211891 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.011347253806889057 }, "else": { "operation": "boost", "score": 0.00577399879693985 } } } }, "else": { "operation": "boost", "score": 0.0007118361536413431 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0005175556871108711 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23402.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23457.0, "then": { "operation": "boost", "score": -0.07829026877880096 }, "else": { "operation": "boost", "score": -0.38677382469177246 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17663.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17828.0, "then": { "operation": "boost", "score": -0.10713367164134979 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.138849675655365 }, "else": { "operation": "boost", "score": -0.016145089641213417 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15623.0, "then": { "operation": "boost", "score": -0.12381922453641891 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14541.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.08197347819805145 }, "else": { "operation": "boost", "score": 0.23682402074337006 } }, "else": { "operation": "boost", "score": -0.021753421053290367 } } } }, "else": { "operation": "boost", "score": -0.05225350335240364 } } } } } } } } }, "else": { "operation": "boost", "score": -0.007448021322488785 } }, "else": { "operation": "boost", "score": 0.1130964532494545 } } }, "else": { "operation": "boost", "score": -0.0006425904575735331 } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.12963318824768066 }, "else": { "operation": "boost", "score": 0.07435541599988937 } }, "else": { "operation": "boost", "score": 0.04554670676589012 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.3564177453517914 }, "else": { "operation": "boost", "score": 0.21263571083545685 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9375, "then": { "operation": "boost", "score": 0.2144937366247177 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.00897032581269741 }, "else": { "operation": "boost", "score": 0.22159311175346375 } }, "else": { "operation": "boost", "score": -0.07157766073942184 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.010405119508504868 }, "else": { "operation": "boost", "score": -0.08496279269456863 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.06760736554861069 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.08728780597448349 }, "else": { "operation": "boost", "score": 0.018175238743424416 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.7702137231826782 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07791294902563095 }, "else": { "operation": "boost", "score": 0.0048200348392128944 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.23310591280460358 }, "else": { "operation": "boost", "score": -0.02843489870429039 } } } }, "else": { "operation": "boost", "score": 0.002105038845911622 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9444444179534912, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08995359390974045 }, "else": { "operation": "boost", "score": -0.13693971931934357 } }, "else": { "operation": "boost", "score": 0.06768383085727692 } }, "else": { "operation": "boost", "score": -0.25577443838119507 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.07832223176956177 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.22839020192623138 }, "else": { "operation": "boost", "score": -0.05425574257969856 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03055795468389988 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.4338230490684509 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10204746574163437 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.11523899435997009 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.053423333913087845 }, "else": { "operation": "boost", "score": 0.0040865372866392136 } } } } }, "else": { "operation": "boost", "score": -0.010100883431732655 } } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.4797428548336029 }, "else": { "operation": "boost", "score": 0.0837491974234581 } }, "else": { "operation": "boost", "score": -0.0202270969748497 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": -0.2449132651090622 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11702805012464523 }, "else": { "operation": "boost", "score": 0.08728593587875366 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04394986107945442 }, "else": { "operation": "boost", "score": -0.002479705959558487 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02094120718538761 }, "else": { "operation": "boost", "score": 0.025410538539290428 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06276464462280273 }, "else": { "operation": "boost", "score": -0.02415715530514717 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.02157369814813137 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0578371025621891 }, "else": { "operation": "boost", "score": -0.11549711227416992 } }, "else": { "operation": "boost", "score": 0.0016188487643375993 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25182.5, "then": { "operation": "boost", "score": -0.12863294780254364 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24136.5, "then": { "operation": "boost", "score": 0.10386563092470169 }, "else": { "operation": "boost", "score": 0.10040543228387833 } } }, "else": { "operation": "boost", "score": 0.012004474177956581 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.018768873065710068 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -2.3410415649414062 }, "else": { "operation": "boost", "score": 0.11767003685235977 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46936.5, "then": { "operation": "boost", "score": 0.049044281244277954 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.045422300696372986 }, "else": { "operation": "boost", "score": 0.1647445112466812 } }, "else": { "operation": "boost", "score": -0.32118070125579834 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026842813938856125 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13820073008537292 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11516.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20954.0, "then": { "operation": "boost", "score": 0.00350101082585752 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12546.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1335977464914322 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.13604667782783508 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.14935339987277985 }, "else": { "operation": "boost", "score": 0.1183847188949585 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.08688686043024063 }, "else": { "operation": "boost", "score": 0.1275615692138672 } }, "else": { "operation": "boost", "score": -0.1012069508433342 } }, "else": { "operation": "boost", "score": 0.2348020374774933 } } }, "else": { "operation": "boost", "score": -0.22745950520038605 } }, "else": { "operation": "boost", "score": 0.03728553280234337 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.02416124939918518 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5905.5, "then": { "operation": "boost", "score": 0.15713514387607574 }, "else": { "operation": "boost", "score": 0.06453955173492432 } } }, "else": { "operation": "boost", "score": 0.018119895830750465 } } } } } }, "else": { "operation": "boost", "score": -0.10215632617473602 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.010093514807522297 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07862184941768646 }, "else": { "operation": "boost", "score": -0.10799015313386917 } } }, "else": { "operation": "boost", "score": -0.006985208950936794 } } } }, "else": { "operation": "boost", "score": -0.02421608567237854 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1486.0, "then": { "operation": "boost", "score": -0.0477195680141449 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 182.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 254.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 618.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "boost", "score": 0.1074204072356224 }, "else": { "operation": "boost", "score": 0.20745441317558289 } }, "else": { "operation": "boost", "score": 0.20203207433223724 } }, "else": { "operation": "boost", "score": -0.04260357469320297 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 210.0, "then": { "operation": "boost", "score": 0.28222861886024475 }, "else": { "operation": "boost", "score": 0.1724250316619873 } }, "else": { "operation": "boost", "score": -0.020769542083144188 } } }, "else": { "operation": "boost", "score": 0.0034538975451141596 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.18660195171833038 }, "else": { "operation": "boost", "score": 0.14029347896575928 } }, "else": { "operation": "boost", "score": 0.04971923306584358 } }, "else": { "operation": "boost", "score": -0.06741736084222794 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 386.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 489.0, "then": { "operation": "boost", "score": -0.1505764275789261 }, "else": { "operation": "boost", "score": 0.31258076429367065 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.14024138450622559 }, "else": { "operation": "boost", "score": -0.30402612686157227 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 223.0, "then": { "operation": "boost", "score": -0.08252658694982529 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 193.0, "then": { "operation": "boost", "score": 0.1406306028366089 }, "else": { "operation": "boost", "score": 0.04601756110787392 } } } } } } }, "else": { "operation": "boost", "score": 0.002814581850543618 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.12304722517728806 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006675906013697386 }, "else": { "operation": "boost", "score": -0.010623293928802013 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.06587959080934525 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.05036154016852379 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.150767982006073 }, "else": { "operation": "boost", "score": 0.21685607731342316 } }, "else": { "operation": "boost", "score": 0.2273554652929306 } }, "else": { "operation": "boost", "score": -0.10030188411474228 } }, "else": { "operation": "boost", "score": 0.2107526808977127 } }, "else": { "operation": "boost", "score": -0.10064045339822769 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.18493026494979858 }, "else": { "operation": "boost", "score": -0.10043896734714508 } } }, "else": { "operation": "boost", "score": 0.17835475504398346 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.35819005966186523 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.20962746441364288 }, "else": { "operation": "boost", "score": 0.26608192920684814 } } }, "else": { "operation": "boost", "score": 0.012313726358115673 } } } }, "else": { "operation": "boost", "score": -0.022365011274814606 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.08641844987869263 }, "else": { "operation": "boost", "score": 0.11844799667596817 } }, "else": { "operation": "boost", "score": -0.011448034085333347 } } } }, "else": { "operation": "boost", "score": -0.0005291019333526492 } } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015165651217103004 }, "else": { "operation": "boost", "score": 0.005542821250855923 } }, "else": { "operation": "boost", "score": 0.0007689058547839522 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05879093334078789 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5339366793632507, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8257575631141663, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17261044681072235 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1025056317448616 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.15978623926639557 }, "else": { "operation": "boost", "score": 0.11027451604604721 } }, "else": { "operation": "boost", "score": 0.02587844803929329 } } } }, "else": { "operation": "boost", "score": -0.0050130621530115604 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1314634084701538 }, "else": { "operation": "boost", "score": -0.26420271396636963 } }, "else": { "operation": "boost", "score": 0.1321340948343277 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.10036672651767731 }, "else": { "operation": "boost", "score": -0.005052131600677967 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.0704798549413681 }, "else": { "operation": "boost", "score": -0.005726521369069815 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298.0, "then": { "operation": "boost", "score": -0.018512627109885216 }, "else": { "operation": "boost", "score": 0.11455193161964417 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": -0.1676350235939026 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6410256624221802, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.1276484876871109 }, "else": { "operation": "boost", "score": -0.1460229605436325 } }, "else": { "operation": "boost", "score": 0.07677700370550156 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8055555820465088, "then": { "operation": "boost", "score": 0.14070969820022583 }, "else": { "operation": "boost", "score": -0.035254642367362976 } }, "else": { "operation": "boost", "score": 0.03388367220759392 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.034074146300554276 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.34560415148735046 }, "else": { "operation": "boost", "score": 0.0675349161028862 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.10695923864841461 }, "else": { "operation": "boost", "score": 0.056153759360313416 } }, "else": { "operation": "boost", "score": 0.02313743159174919 } } } } } } } } }, "else": { "operation": "boost", "score": 0.0010247612372040749 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.00653375219553709 }, "else": { "operation": "boost", "score": 0.025145338848233223 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.009517744183540344 }, "else": { "operation": "boost", "score": 0.007839771918952465 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.06184544414281845 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03401981294155121 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.12712863087654114 }, "else": { "operation": "boost", "score": 2.1433277130126953 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13504.0, "then": { "operation": "boost", "score": -0.311826229095459 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.1868026703596115 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.12770229578018188 }, "else": { "operation": "boost", "score": -0.1776985228061676 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.11199715733528137 }, "else": { "operation": "boost", "score": 0.5803961753845215 } } }, "else": { "operation": "boost", "score": -0.09987008571624756 } } } }, "else": { "operation": "boost", "score": -0.006418031640350819 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.008491302840411663 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.004442295059561729 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.17990966141223907 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.2903726398944855 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009335840120911598 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84795.5, "then": { "operation": "boost", "score": 0.02992892451584339 }, "else": { "operation": "boost", "score": -0.005045725032687187 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 585.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44927.5, "then": { "operation": "boost", "score": 0.020888635888695717 }, "else": { "operation": "boost", "score": -0.09197713434696198 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 412.5, "then": { "operation": "boost", "score": 0.13351145386695862 }, "else": { "operation": "boost", "score": 0.01550234667956829 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.0894051343202591 }, "else": { "operation": "boost", "score": 0.05336759239435196 } }, "else": { "operation": "boost", "score": -0.0315510630607605 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0012646353570744395 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.033095233142375946 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -0.20448505878448486 }, "else": { "operation": "boost", "score": -0.031674616038799286 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.06889665871858597 }, "else": { "operation": "boost", "score": -0.04956245794892311 } }, "else": { "operation": "boost", "score": 0.006112335715442896 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.008649135008454323 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021404284983873367 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 993748.0, "then": { "operation": "boost", "score": -0.4539128839969635 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1656.5, "then": { "operation": "boost", "score": 0.03237038105726242 }, "else": { "operation": "boost", "score": -0.1288416087627411 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.04405752569437027 }, "else": { "operation": "boost", "score": 0.12171981483697891 } }, "else": { "operation": "boost", "score": -0.05538380891084671 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.12374754995107651 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.049881983548402786 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015155814588069916 }, "else": { "operation": "boost", "score": 0.0660930871963501 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.6758073568344116 }, "else": { "operation": "boost", "score": -0.0519026480615139 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2271.5, "then": { "operation": "boost", "score": 0.02241710014641285 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03159011900424957 }, "else": { "operation": "boost", "score": -0.02132917381823063 } } } }, "else": { "operation": "boost", "score": 0.015784626826643944 } }, "else": { "operation": "boost", "score": -0.09283813834190369 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0011440083617344499 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.33739984035491943 }, "else": { "operation": "boost", "score": -0.1083933413028717 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": 0.06720636785030365 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.008028790354728699 }, "else": { "operation": "boost", "score": -0.050015754997730255 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.009213489480316639 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.09384074062108994 }, "else": { "operation": "boost", "score": 0.00939659122377634 } }, "else": { "operation": "boost", "score": -0.022735202684998512 } }, "else": { "operation": "boost", "score": -0.05176571384072304 } } } }, "else": { "operation": "boost", "score": -0.008764359168708324 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.25004976987838745 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.1333635300397873 }, "else": { "operation": "boost", "score": 0.020094627514481544 } } }, "else": { "operation": "boost", "score": 0.023756757378578186 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.07986519485712051 }, "else": { "operation": "boost", "score": -0.11257395893335342 } }, "else": { "operation": "boost", "score": 0.11744293570518494 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.22354725003242493 }, "else": { "operation": "boost", "score": 0.14584773778915405 } }, "else": { "operation": "boost", "score": -0.2810101807117462 } } }, "else": { "operation": "boost", "score": 0.0024569081142544746 } } }, "else": { "operation": "boost", "score": 0.09836909919977188 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19705.5, "then": { "operation": "boost", "score": -0.10852864384651184 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15370.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.12217681854963303 }, "else": { "operation": "boost", "score": 0.13613219559192657 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12546.5, "then": { "operation": "boost", "score": -0.15692491829395294 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.08304569125175476 }, "else": { "operation": "boost", "score": 0.1239938959479332 } }, "else": { "operation": "boost", "score": -0.10108854621648788 } }, "else": { "operation": "boost", "score": 0.24048036336898804 } }, "else": { "operation": "boost", "score": 0.13176195323467255 } } } }, "else": { "operation": "boost", "score": -0.07388277351856232 } }, "else": { "operation": "boost", "score": -0.11106114834547043 } }, "else": { "operation": "boost", "score": -0.049240678548812866 } } }, "else": { "operation": "boost", "score": -0.072549968957901 } } } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07664259523153305 }, "else": { "operation": "boost", "score": -0.0003412017540540546 } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10696577280759811 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.27619048953056335, "then": { "operation": "boost", "score": 0.03248634934425354 }, "else": { "operation": "boost", "score": 0.08227382600307465 } } }, "else": { "operation": "boost", "score": 0.006502903066575527 } }, "else": { "operation": "boost", "score": 0.001025406294502318 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0007466818206012249 }, "else": { "operation": "boost", "score": 0.11178795993328094 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.06981803476810455 }, "else": { "operation": "boost", "score": 0.09477530419826508 } }, "else": { "operation": "boost", "score": -0.036123842000961304 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.09445960074663162 }, "else": { "operation": "boost", "score": 0.011476516723632812 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.05626047030091286 }, "else": { "operation": "boost", "score": 0.03555655479431152 } } } }, "else": { "operation": "boost", "score": -0.03249881789088249 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.008105127140879631 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011134203523397446 }, "else": { "operation": "boost", "score": -0.004336223471909761 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05841001868247986 }, "else": { "operation": "boost", "score": -0.020479997619986534 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005950771737843752 }, "else": { "operation": "boost", "score": -0.002464119577780366 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 882.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.0, "then": { "operation": "boost", "score": 0.06867194920778275 }, "else": { "operation": "boost", "score": 0.13776296377182007 } }, "else": { "operation": "boost", "score": 0.08218182623386383 } }, "else": { "operation": "boost", "score": -0.04357446730136871 } }, "else": { "operation": "boost", "score": -0.0004433112917467952 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2522.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.00792042538523674 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13428.0, "then": { "operation": "boost", "score": 0.01618955470621586 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6955.5, "then": { "operation": "boost", "score": 0.08822289854288101 }, "else": { "operation": "boost", "score": 0.03134620934724808 } } } }, "else": { "operation": "boost", "score": -0.0021278795320540667 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11844649165868759 }, "else": { "operation": "boost", "score": -0.024056408554315567 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005846699699759483 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.007370860781520605 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 383039.5, "then": { "operation": "boost", "score": -0.05498312786221504 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.005932672414928675 }, "else": { "operation": "boost", "score": -0.01018136739730835 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.014284585602581501 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105656.5, "then": { "operation": "boost", "score": 0.0851869210600853 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.06899033486843109 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10919713973999023 }, "else": { "operation": "boost", "score": -0.10145102441310883 } }, "else": { "operation": "boost", "score": 0.013753573410212994 } } }, "else": { "operation": "boost", "score": -0.009061217308044434 } } }, "else": { "operation": "boost", "score": 0.007516471669077873 } } }, "else": { "operation": "boost", "score": 0.0018790953326970339 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001530256005935371 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6354.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9366.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23209.0, "then": { "operation": "boost", "score": 0.10961496829986572 }, "else": { "operation": "boost", "score": 0.11251845210790634 } }, "else": { "operation": "boost", "score": 0.12618905305862427 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18942.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19474.5, "then": { "operation": "boost", "score": 0.014221047051250935 }, "else": { "operation": "boost", "score": 0.0762505903840065 } }, "else": { "operation": "boost", "score": -0.09057671576738358 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09166666865348816, "then": { "operation": "boost", "score": 0.13561825454235077 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10601307451725006 }, "else": { "operation": "boost", "score": 0.11755277216434479 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.2462652623653412 }, "else": { "operation": "boost", "score": -0.05220261588692665 } }, "else": { "operation": "boost", "score": -0.007443028502166271 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3628.0, "then": { "operation": "boost", "score": -0.0784505233168602 }, "else": { "operation": "boost", "score": 0.034252241253852844 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.017922282218933105 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.004245678428560495 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 975.0, "then": { "operation": "boost", "score": 0.04668626934289932 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 824.5, "then": { "operation": "boost", "score": 0.11444955319166183 }, "else": { "operation": "boost", "score": 0.09348203241825104 } } }, "else": { "operation": "boost", "score": 0.055795978754758835 } } } }, "else": { "operation": "boost", "score": 0.007234441116452217 } }, "else": { "operation": "boost", "score": -0.016740083694458008 } } }, "else": { "operation": "boost", "score": -0.01863454096019268 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.10713932663202286 }, "else": { "operation": "boost", "score": 0.30036795139312744 } }, "else": { "operation": "boost", "score": 0.008120348677039146 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02276710234582424 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0025533856824040413 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.011575077660381794 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.23807848989963531 }, "else": { "operation": "boost", "score": -0.013265029527246952 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.05088384449481964 }, "else": { "operation": "boost", "score": 0.023557601496577263 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.018238835036754608 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.13472598791122437 }, "else": { "operation": "boost", "score": -0.018848232924938202 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8908.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10517.5, "then": { "operation": "boost", "score": 0.02555183134973049 }, "else": { "operation": "boost", "score": 0.09211058169603348 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": -0.006402449682354927 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.01694534532725811 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02034006640315056 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.1220150738954544 }, "else": { "operation": "boost", "score": 0.02058115229010582 } }, "else": { "operation": "boost", "score": 0.0029122577980160713 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.014623641967773438 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12142857909202576, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08846729248762131 }, "else": { "operation": "boost", "score": -0.2477700263261795 } }, "else": { "operation": "boost", "score": 0.0990620106458664 } }, "else": { "operation": "boost", "score": -0.2773752510547638 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.010564245283603668 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.09969896823167801 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.012991799041628838 }, "else": { "operation": "boost", "score": -0.20803222060203552 } }, "else": { "operation": "boost", "score": -0.015648603439331055 } } }, "else": { "operation": "boost", "score": 0.19342568516731262 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12473561614751816 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.022212818264961243 }, "else": { "operation": "boost", "score": 0.05693502351641655 } } }, "else": { "operation": "boost", "score": 0.018016787245869637 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.21779631078243256 }, "else": { "operation": "boost", "score": -0.06958567351102829 } }, "else": { "operation": "boost", "score": -0.008691680617630482 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "boost", "score": -0.28758206963539124 }, "else": { "operation": "boost", "score": 0.11577123403549194 } }, "else": { "operation": "boost", "score": -0.07612387090921402 } } }, "else": { "operation": "boost", "score": 0.006337812636047602 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.0197600144892931 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.01942620798945427 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.004551617428660393 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.004492184147238731 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.038395680487155914 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9375, "then": { "operation": "boost", "score": 0.13256074488162994 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.05857019126415253 }, "else": { "operation": "boost", "score": 0.016624048352241516 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.31952351331710815 }, "else": { "operation": "boost", "score": 0.07940766215324402 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.033484622836112976 }, "else": { "operation": "boost", "score": -0.15061555802822113 } } } } } }, "else": { "operation": "boost", "score": -0.11174117028713226 } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0015791459009051323 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2390.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5397.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7126.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7144.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.003885374404489994 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.16007797420024872 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92429.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 101593.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.019880080595612526 }, "else": { "operation": "boost", "score": -0.1639132797718048 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08287185430526733 }, "else": { "operation": "boost", "score": -0.020430048927664757 } } }, "else": { "operation": "boost", "score": 0.015537606552243233 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.013723365031182766 }, "else": { "operation": "boost", "score": -0.03684042766690254 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.17037084698677063 }, "else": { "operation": "boost", "score": 0.0942467600107193 } }, "else": { "operation": "boost", "score": 0.02043198049068451 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.010261944495141506 }, "else": { "operation": "boost", "score": -0.12497439980506897 } } }, "else": { "operation": "boost", "score": -0.002526323078200221 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5315.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10083211958408356 }, "else": { "operation": "boost", "score": 0.12269385159015656 } }, "else": { "operation": "boost", "score": 0.09812329709529877 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4972.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.14213119447231293 }, "else": { "operation": "boost", "score": 0.06064114719629288 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05114929378032684 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.223271444439888 }, "else": { "operation": "boost", "score": -0.007780204527080059 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4917.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.09901484847068787 }, "else": { "operation": "boost", "score": 0.13754142820835114 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4100.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.2231290638446808 }, "else": { "operation": "boost", "score": 0.15958184003829956 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4565.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4629.5, "then": { "operation": "boost", "score": 0.08242396265268326 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04757817089557648 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.13366329669952393 }, "else": { "operation": "boost", "score": 0.10356330126523972 } } } }, "else": { "operation": "boost", "score": 0.0429706871509552 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.1558714509010315 }, "else": { "operation": "boost", "score": 0.0028048246167600155 } } }, "else": { "operation": "boost", "score": 0.05731843411922455 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3952.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3978.0, "then": { "operation": "boost", "score": -0.03154255449771881 }, "else": { "operation": "boost", "score": -0.1922687590122223 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3432.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3864.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3932.0, "then": { "operation": "boost", "score": 0.092605821788311 }, "else": { "operation": "boost", "score": -0.08995255082845688 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14428597688674927 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3454.0, "then": { "operation": "boost", "score": 0.09834177792072296 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.12792301177978516 }, "else": { "operation": "boost", "score": 0.4778553545475006 } } } }, "else": { "operation": "boost", "score": 0.05527827888727188 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15990985929965973 }, "else": { "operation": "boost", "score": -0.3822127878665924 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.12988042831420898 }, "else": { "operation": "boost", "score": 0.16834519803524017 } }, "else": { "operation": "boost", "score": 0.16444604098796844 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012575551867485046 }, "else": { "operation": "boost", "score": 0.2348732203245163 } }, "else": { "operation": "boost", "score": -0.006341014988720417 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2501.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2586.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2785.5, "then": { "operation": "boost", "score": -0.00509650819003582 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.11186978965997696 }, "else": { "operation": "boost", "score": 0.06330819427967072 } } }, "else": { "operation": "boost", "score": -0.0911623165011406 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "boost", "score": 0.128237783908844 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.017291897907853127 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.5, "then": { "operation": "boost", "score": 0.11581064760684967 }, "else": { "operation": "boost", "score": 0.09355437755584717 } } } } } } } }, "else": { "operation": "boost", "score": 0.1563563048839569 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9171.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17454.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17856.5, "then": { "operation": "boost", "score": 0.005795105826109648 }, "else": { "operation": "boost", "score": 0.09020231664180756 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "boost", "score": -0.08295423537492752 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23872.5, "then": { "operation": "boost", "score": 0.08846797049045563 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.09989219158887863 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.18732967972755432 }, "else": { "operation": "boost", "score": 0.11936190724372864 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1351759284734726 }, "else": { "operation": "boost", "score": -0.1201157346367836 } } }, "else": { "operation": "boost", "score": -0.08512052893638611 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20439.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61387.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176924.5, "then": { "operation": "boost", "score": 0.0066303289495408535 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 163675.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1445990800857544 }, "else": { "operation": "boost", "score": 0.10637466609477997 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.008423037827014923 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.12401001900434494 }, "else": { "operation": "boost", "score": 0.09480782598257065 } } } }, "else": { "operation": "boost", "score": 0.01279636099934578 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21920792758464813 }, "else": { "operation": "boost", "score": -0.08065730333328247 } }, "else": { "operation": "boost", "score": -0.032317519187927246 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11707014590501785 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.14954879879951477 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07087390124797821 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.06265241652727127 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1662793755531311 }, "else": { "operation": "boost", "score": 0.0866374745965004 } } } } } } } } }, "else": { "operation": "boost", "score": -0.03749651834368706 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6106.0, "then": { "operation": "boost", "score": 0.02752767503261566 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6080.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.15356779098510742 }, "else": { "operation": "boost", "score": 0.11831367015838623 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.23747633397579193 }, "else": { "operation": "boost", "score": -0.10473596304655075 } } }, "else": { "operation": "boost", "score": 0.039408739656209946 } } }, "else": { "operation": "boost", "score": -0.01858900487422943 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7773.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03529202938079834 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8954.5, "then": { "operation": "boost", "score": -0.1716231405735016 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.12290336191654205 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8395.0, "then": { "operation": "boost", "score": 0.19578291475772858 }, "else": { "operation": "boost", "score": 0.18050158023834229 } }, "else": { "operation": "boost", "score": 0.09486217796802521 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.009750226512551308 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6600.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6689.5, "then": { "operation": "boost", "score": 0.16525477170944214 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11480661481618881 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1467350423336029 }, "else": { "operation": "boost", "score": 0.10250318050384521 } } } }, "else": { "operation": "boost", "score": 0.02167152240872383 } } } }, "else": { "operation": "boost", "score": -0.01848246157169342 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12648726999759674 }, "else": { "operation": "boost", "score": -0.010306079871952534 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.08667563647031784 }, "else": { "operation": "boost", "score": 0.032688457518815994 } }, "else": { "operation": "boost", "score": -0.018210219219326973 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.007887957617640495 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8161.0, "then": { "operation": "boost", "score": 0.00896135251969099 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7457.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7813.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8150.0, "then": { "operation": "boost", "score": 0.15589509904384613 }, "else": { "operation": "boost", "score": -0.015856178477406502 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7731.5, "then": { "operation": "boost", "score": 0.16355739533901215 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7661.5, "then": { "operation": "boost", "score": -0.1093016192317009 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.07790983468294144 }, "else": { "operation": "boost", "score": 0.14546900987625122 } } } } }, "else": { "operation": "boost", "score": 0.03265361860394478 } } } }, "else": { "operation": "boost", "score": -0.048923444002866745 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2368.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -1.0417593717575073 }, "else": { "operation": "boost", "score": -0.11440043896436691 } }, "else": { "operation": "boost", "score": -0.08040565997362137 } }, "else": { "operation": "boost", "score": -0.00038719255826435983 } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 245728.5, "then": { "operation": "boost", "score": -0.25325247645378113 }, "else": { "operation": "boost", "score": 0.04731578752398491 } }, "else": { "operation": "boost", "score": 0.0013880640035495162 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.002159544499590993 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.15737968683242798 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04577428475022316 }, "else": { "operation": "boost", "score": 0.06680310517549515 } } } }, "else": { "operation": "boost", "score": 0.11702247709035873 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.019355857744812965 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.06624897569417953 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04587729647755623 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.10430239886045456 }, "else": { "operation": "boost", "score": 0.09895510226488113 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.22896620631217957 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.2354302853345871 }, "else": { "operation": "boost", "score": 0.041522808372974396 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0721949115395546 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.30166271328926086 }, "else": { "operation": "boost", "score": -0.05573830008506775 } } } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14129363000392914 }, "else": { "operation": "boost", "score": 0.0052520208992064 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.027182137593626976 }, "else": { "operation": "boost", "score": -0.006105945445597172 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.03935063257813454 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.35645127296447754 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.11923570185899734 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.045622024685144424 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.10921111702919006 }, "else": { "operation": "boost", "score": -0.04681047797203064 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.03541313484311104 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10095015913248062 }, "else": { "operation": "boost", "score": -0.18911436200141907 } }, "else": { "operation": "boost", "score": 0.09508075565099716 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022670915350317955 }, "else": { "operation": "boost", "score": -0.16502133011817932 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07568582147359848 }, "else": { "operation": "boost", "score": 0.02077498286962509 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11829.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12183.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58073.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.0672452375292778 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267507.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273152.0, "then": { "operation": "boost", "score": 0.028869060799479485 }, "else": { "operation": "boost", "score": 0.07143931090831757 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63360.5, "then": { "operation": "boost", "score": -0.005761079955846071 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.0741877630352974 }, "else": { "operation": "boost", "score": 0.017071129754185677 } } } } }, "else": { "operation": "boost", "score": -0.03204693645238876 } }, "else": { "operation": "boost", "score": -0.16256868839263916 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43319.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1426984816789627 }, "else": { "operation": "boost", "score": 0.14729495346546173 } }, "else": { "operation": "boost", "score": -0.10337964445352554 } }, "else": { "operation": "boost", "score": -0.17402631044387817 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53705.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1348256915807724 }, "else": { "operation": "boost", "score": 0.0956440418958664 } }, "else": { "operation": "boost", "score": -0.09887386858463287 } }, "else": { "operation": "boost", "score": -0.04541151598095894 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47131.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.059555284678936005 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11171698570251465 }, "else": { "operation": "boost", "score": 0.05389577895402908 } } }, "else": { "operation": "boost", "score": -0.019218483939766884 } }, "else": { "operation": "boost", "score": -0.18109968304634094 } } }, "else": { "operation": "boost", "score": -0.0779196098446846 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11847605556249619 }, "else": { "operation": "boost", "score": 0.08685965090990067 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "boost", "score": -0.21366189420223236 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.5052392482757568 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.04602586477994919 }, "else": { "operation": "boost", "score": 0.11747270077466965 } }, "else": { "operation": "boost", "score": 0.13141347467899323 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.12163547426462173 }, "else": { "operation": "boost", "score": 0.04454958438873291 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "boost", "score": -0.20655345916748047 }, "else": { "operation": "boost", "score": 0.13895678520202637 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24308.0, "then": { "operation": "boost", "score": -0.017559872940182686 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02631578966975212, "then": { "operation": "boost", "score": 0.0678127259016037 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.11896085739135742 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.05979914590716362 }, "else": { "operation": "boost", "score": 0.0981503576040268 } } } }, "else": { "operation": "boost", "score": 0.0747639611363411 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23685.0, "then": { "operation": "boost", "score": -0.13921914994716644 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23608.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23667.0, "then": { "operation": "boost", "score": -0.0004912205040454865 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.12296354025602341 }, "else": { "operation": "boost", "score": 0.1252559870481491 } } }, "else": { "operation": "boost", "score": 0.01880032941699028 } } }, "else": { "operation": "boost", "score": -0.11579279601573944 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.10111124813556671 }, "else": { "operation": "boost", "score": -0.026476679369807243 } }, "else": { "operation": "boost", "score": 0.048390600830316544 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14408.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15332.0, "then": { "operation": "boost", "score": -0.20384210348129272 }, "else": { "operation": "boost", "score": 0.08540216088294983 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.05870756134390831 }, "else": { "operation": "boost", "score": -0.0831647589802742 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14379.0, "then": { "operation": "boost", "score": 0.16816666722297668 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.03571648895740509 }, "else": { "operation": "boost", "score": 0.06344368308782578 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.002845478942617774 }, "else": { "operation": "boost", "score": 0.012547843158245087 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.10261396318674088 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.16751603782176971 }, "else": { "operation": "boost", "score": -0.08778355270624161 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0945366844534874 }, "else": { "operation": "boost", "score": -0.0498972162604332 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10403.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11704.0, "then": { "operation": "boost", "score": -0.14716526865959167 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11605.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12377313524484634 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.12207634001970291 }, "else": { "operation": "boost", "score": 0.11211181432008743 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.057440005242824554 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.15889781713485718 }, "else": { "operation": "boost", "score": 0.08183471113443375 } } } }, "else": { "operation": "boost", "score": -0.0336308628320694 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7957.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8054.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8476.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9263.5, "then": { "operation": "boost", "score": -0.41546547412872314 }, "else": { "operation": "boost", "score": -0.038273077458143234 } }, "else": { "operation": "boost", "score": -0.025881938636302948 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8506.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10208.5, "then": { "operation": "boost", "score": -0.094937264919281 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.09048451483249664 }, "else": { "operation": "boost", "score": 0.07021412253379822 } } }, "else": { "operation": "boost", "score": -1.113555908203125 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8337.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8374.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.18127788603305817 }, "else": { "operation": "boost", "score": 0.09400704503059387 } }, "else": { "operation": "boost", "score": 0.11521108448505402 } }, "else": { "operation": "boost", "score": 0.1155930683016777 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10295.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.30097508430480957 }, "else": { "operation": "boost", "score": -0.10732836276292801 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.10978186130523682 }, "else": { "operation": "boost", "score": -0.09221523255109787 } } }, "else": { "operation": "boost", "score": 0.009429759345948696 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.073671855032444 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.13752435147762299 }, "else": { "operation": "boost", "score": 0.10684827715158463 } } }, "else": { "operation": "boost", "score": 0.06913832575082779 } } }, "else": { "operation": "boost", "score": -0.0002648808585945517 } } } } }, { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1628972291946411 }, "else": { "operation": "boost", "score": 0.05830458924174309 } }, "else": { "operation": "boost", "score": 1.6656439304351807 } }, "else": { "operation": "boost", "score": -0.14075420796871185 } }, "else": { "operation": "boost", "score": -0.14714016020298004 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.027745869010686874 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.0503632053732872 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.1365806758403778 }, "else": { "operation": "boost", "score": -0.18564774096012115 } } }, "else": { "operation": "boost", "score": -0.13921838998794556 } }, "else": { "operation": "boost", "score": -0.10944394022226334 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08497529476881027 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.11096876859664917 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.8112882375717163 }, "else": { "operation": "boost", "score": 0.017167646437883377 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.12241296470165253 }, "else": { "operation": "boost", "score": 0.1592903733253479 } }, "else": { "operation": "boost", "score": -0.07515055686235428 } } } }, "else": { "operation": "boost", "score": -0.1250087022781372 } }, "else": { "operation": "boost", "score": -0.16646458208560944 } } } } }, "else": { "operation": "boost", "score": -0.012494313530623913 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.004394302144646645 }, "else": { "operation": "boost", "score": 0.0011546446476131678 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07752399146556854 }, "else": { "operation": "boost", "score": 0.0053776102140545845 } }, "else": { "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": "boost", "score": -0.028870288282632828 }, "else": { "operation": "boost", "score": 0.007124442141503096 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.10086607933044434 }, "else": { "operation": "boost", "score": 0.14038321375846863 } }, "else": { "operation": "boost", "score": 0.00930256862193346 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012297092005610466 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.0446007214486599 }, "else": { "operation": "boost", "score": -0.004462672863155603 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.04251366853713989 }, "else": { "operation": "boost", "score": 0.1466081291437149 } }, "else": { "operation": "boost", "score": -0.006200640462338924 } }, "else": { "operation": "boost", "score": -0.01451924443244934 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.009446049109101295 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.14613917469978333 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.08695921301841736 }, "else": { "operation": "boost", "score": -0.04317934811115265 } } }, "else": { "operation": "boost", "score": 0.024048442021012306 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.06268058717250824 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.1267240047454834 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1336681842803955 }, "else": { "operation": "boost", "score": 0.05415722727775574 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.11576010286808014 }, "else": { "operation": "boost", "score": 0.12631572782993317 } } }, "else": { "operation": "boost", "score": 0.021948980167508125 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.035920754075050354 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 204.5, "then": { "operation": "boost", "score": 0.14779268205165863 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.01161388773471117 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.029610443860292435 }, "else": { "operation": "boost", "score": 0.08102752268314362 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.05263493210077286 }, "else": { "operation": "boost", "score": 0.02434641495347023 } }, "else": { "operation": "boost", "score": -0.021166017279028893 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.059578388929367065 }, "else": { "operation": "boost", "score": -0.01406060066074133 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22006605565547943 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.08195924013853073 }, "else": { "operation": "boost", "score": 0.2852608561515808 } } }, "else": { "operation": "boost", "score": -0.05629972368478775 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1031.0, "then": { "operation": "boost", "score": 6.827642937423661e-05 }, "else": { "operation": "boost", "score": 0.05710725486278534 } }, "else": { "operation": "boost", "score": -0.3132103383541107 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.003711908357217908 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.03562885522842407 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.159428209066391 }, "else": { "operation": "boost", "score": 0.10165153443813324 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.20824487507343292 }, "else": { "operation": "boost", "score": -0.033271752297878265 } }, "else": { "operation": "boost", "score": -0.13704897463321686 } }, "else": { "operation": "boost", "score": 0.014012754894793034 } }, "else": { "operation": "boost", "score": 0.1134374663233757 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.14409375190734863 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.03887379914522171 }, "else": { "operation": "boost", "score": -0.7524662017822266 } }, "else": { "operation": "boost", "score": -0.11192993819713593 } }, "else": { "operation": "boost", "score": -0.01725548505783081 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10119857639074326 }, "else": { "operation": "boost", "score": 0.005959650501608849 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.00463513471186161 }, "else": { "operation": "boost", "score": -0.3637961447238922 } }, "else": { "operation": "boost", "score": -0.49414944648742676 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.13438718020915985 }, "else": { "operation": "boost", "score": -0.019312238320708275 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.03780914470553398 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09509793668985367 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.0030733859166502953 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.017465075477957726 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.059281863272190094 }, "else": { "operation": "boost", "score": 0.10291864722967148 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": 0.10782059282064438 }, "else": { "operation": "boost", "score": -0.2856169641017914 } }, "else": { "operation": "boost", "score": -0.06546413153409958 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.056157249957323074 }, "else": { "operation": "boost", "score": -0.0017490320606157184 } } } } } } }, "else": { "operation": "boost", "score": 0.0005501427222043276 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.30222517251968384 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0705072358250618 }, "else": { "operation": "boost", "score": 0.10671738535165787 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3708791136741638, "then": { "operation": "boost", "score": 0.012197231873869896 }, "else": { "operation": "boost", "score": 0.10209432244300842 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.19459116458892822 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.12589582800865173 }, "else": { "operation": "boost", "score": 0.06657810509204865 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7916666269302368, "then": { "operation": "boost", "score": 0.11032743006944656 }, "else": { "operation": "boost", "score": -0.0038869346026331186 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.13454459607601166 }, "else": { "operation": "boost", "score": -1.1208853721618652 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "boost", "score": -0.0004221016715746373 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.11181201785802841 }, "else": { "operation": "boost", "score": 0.09520462900400162 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6794872283935547, "then": { "operation": "boost", "score": -0.010180031880736351 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10757581889629364 }, "else": { "operation": "boost", "score": -0.016616294160485268 } }, "else": { "operation": "boost", "score": 0.13630810379981995 } }, "else": { "operation": "boost", "score": -0.04952898994088173 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09257571399211884 }, "else": { "operation": "boost", "score": -0.10961279273033142 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0003199976054020226 }, "else": { "operation": "boost", "score": 0.11074768751859665 } } } }, "else": { "operation": "boost", "score": -0.00752274738624692 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.030685530975461006 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.056388139724731445 }, "else": { "operation": "boost", "score": -0.3743409216403961 } } }, "else": { "operation": "boost", "score": -0.0005493570351973176 } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08226734399795532 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.2845557928085327 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.1738778054714203 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 1.9181666374206543 }, "else": { "operation": "boost", "score": 0.2224234789609909 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": 0.22152991592884064 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.07510426640510559 }, "else": { "operation": "boost", "score": 0.20260323584079742 } }, "else": { "operation": "boost", "score": -0.11586343497037888 } } } }, "else": { "operation": "boost", "score": -0.07686062902212143 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.18304668366909027 }, "else": { "operation": "boost", "score": 0.18971829116344452 } }, "else": { "operation": "boost", "score": 0.07245475053787231 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2978511452674866 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.09187445789575577 }, "else": { "operation": "boost", "score": -0.316211074590683 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0002647716028150171 }, "else": { "operation": "boost", "score": 0.1191425547003746 } } } }, "else": { "operation": "boost", "score": 0.41988539695739746 } }, "else": { "operation": "boost", "score": 0.00398485129699111 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08948712795972824 }, "else": { "operation": "boost", "score": 0.024885915219783783 } }, "else": { "operation": "boost", "score": 0.1189127266407013 } }, "else": { "operation": "boost", "score": -0.03882857784628868 } }, "else": { "operation": "boost", "score": -0.08307340741157532 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3722943663597107, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4780219793319702, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1288488358259201 }, "else": { "operation": "boost", "score": 0.12125435471534729 } }, "else": { "operation": "boost", "score": 0.008523405529558659 } }, "else": { "operation": "boost", "score": 0.12612506747245789 } }, "else": { "operation": "boost", "score": -0.20189595222473145 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53063.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278454.0, "then": { "operation": "boost", "score": 0.021024011075496674 }, "else": { "operation": "boost", "score": 0.0375521257519722 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6920.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7343.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.02284466102719307 }, "else": { "operation": "boost", "score": 0.051849015057086945 } }, "else": { "operation": "boost", "score": 0.0975448414683342 } }, "else": { "operation": "boost", "score": -0.14443090558052063 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.12633377313613892 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.0, "then": { "operation": "boost", "score": -0.005728548392653465 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1269841343164444, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.07919805496931076 }, "else": { "operation": "boost", "score": -0.17143061757087708 } }, "else": { "operation": "boost", "score": 0.17298929393291473 } } } }, "else": { "operation": "boost", "score": -0.033644210547208786 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0026732091791927814 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.08263815939426422 }, "else": { "operation": "boost", "score": 0.14083704352378845 } }, "else": { "operation": "boost", "score": 0.04461875185370445 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.05421411618590355 }, "else": { "operation": "boost", "score": -0.2790871262550354 } }, "else": { "operation": "boost", "score": 0.04879254847764969 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.06784225255250931 }, "else": { "operation": "boost", "score": -7.526709079742432 } }, "else": { "operation": "boost", "score": 0.02348477952182293 } }, "else": { "operation": "boost", "score": 0.06604573130607605 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09547124058008194 }, "else": { "operation": "boost", "score": -0.0622495599091053 } }, "else": { "operation": "boost", "score": -0.1380155384540558 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.0 }, "else": { "operation": "boost", "score": 0.09078745543956757 } }, "else": { "operation": "boost", "score": 0.018169421702623367 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 465.0, "then": { "operation": "boost", "score": 0.12683117389678955 }, "else": { "operation": "boost", "score": 0.014474011026322842 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.027672860771417618 }, "else": { "operation": "boost", "score": -0.17180581390857697 } } } } } } } }, "else": { "operation": "boost", "score": -0.010867305099964142 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.05686352401971817 }, "else": { "operation": "boost", "score": 0.018705639988183975 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04580859839916229 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 540.0, "then": { "operation": "boost", "score": 0.00034906304790638387 }, "else": { "operation": "boost", "score": 0.1411786675453186 } } }, "else": { "operation": "boost", "score": 0.01582501269876957 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25995.5, "then": { "operation": "boost", "score": 0.10760220885276794 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.003998941741883755 }, "else": { "operation": "boost", "score": 0.021525869145989418 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": -0.22048144042491913 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1739915907382965 }, "else": { "operation": "boost", "score": 0.004353020805865526 } } }, "else": { "operation": "boost", "score": -0.09032976627349854 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.10580545663833618 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.0, "then": { "operation": "boost", "score": -0.05889769643545151 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.016480306163430214 }, "else": { "operation": "boost", "score": 0.08945570886135101 } } } }, "else": { "operation": "boost", "score": 0.008115834556519985 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "boost", "score": 0.10764473676681519 }, "else": { "operation": "boost", "score": -0.15500158071517944 } }, "else": { "operation": "boost", "score": -0.027835015207529068 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.24863113462924957 }, "else": { "operation": "boost", "score": -0.03637691214680672 } }, "else": { "operation": "boost", "score": -0.16693739593029022 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.16464751958847046 }, "else": { "operation": "boost", "score": 0.07111292332410812 } }, "else": { "operation": "boost", "score": -0.09880881756544113 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0004267723415978253 }, "else": { "operation": "boost", "score": -0.3806741237640381 } } }, "else": { "operation": "boost", "score": 0.006580534391105175 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.040437985211610794 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0647948607802391 }, "else": { "operation": "boost", "score": 0.019370021298527718 } }, "else": { "operation": "boost", "score": -0.0038263630121946335 } }, "else": { "operation": "boost", "score": 0.035271111875772476 } }, "else": { "operation": "boost", "score": -0.01871034875512123 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01131226122379303 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.003889070823788643 }, "else": { "operation": "boost", "score": -0.017558054998517036 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.018327578902244568 }, "else": { "operation": "boost", "score": 0.006287842057645321 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.11453621834516525 }, "else": { "operation": "boost", "score": 0.11580952256917953 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "boost", "score": 0.08090190589427948 }, "else": { "operation": "boost", "score": -0.46494078636169434 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92.5, "then": { "operation": "boost", "score": -0.08583423495292664 }, "else": { "operation": "boost", "score": 0.01755615510046482 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.010161833837628365 }, "else": { "operation": "boost", "score": -0.01188009325414896 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07131873816251755 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1325504183769226 }, "else": { "operation": "boost", "score": -0.039516616612672806 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.13180071115493774 }, "else": { "operation": "boost", "score": 0.1783190220594406 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.09683210402727127 }, "else": { "operation": "boost", "score": 0.1294133961200714 } }, "else": { "operation": "boost", "score": 0.08553757518529892 } }, "else": { "operation": "boost", "score": 0.07211495190858841 } }, "else": { "operation": "boost", "score": 0.1526464968919754 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0535174235701561 }, "else": { "operation": "boost", "score": -0.045600973069667816 } } } }, "else": { "operation": "boost", "score": 0.01855573058128357 } } }, "else": { "operation": "boost", "score": -0.037399422377347946 } } } }, "else": { "operation": "boost", "score": -3.514939089654945e-05 } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0019622324034571648 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.08183973282575607 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0013000506442040205 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.02718961611390114 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1178647130727768 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 225.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 367.5, "then": { "operation": "boost", "score": -0.015241309069097042 }, "else": { "operation": "boost", "score": 0.13296179473400116 } }, "else": { "operation": "boost", "score": -0.16373887658119202 } }, "else": { "operation": "boost", "score": 0.12728846073150635 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.00809276383370161 }, "else": { "operation": "boost", "score": 0.10314234346151352 } } }, "else": { "operation": "boost", "score": 0.12516309320926666 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.09914827346801758 }, "else": { "operation": "boost", "score": 0.09033436328172684 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.14083489775657654 }, "else": { "operation": "boost", "score": -0.2494281530380249 } } } }, "else": { "operation": "boost", "score": 0.030444545671343803 } }, "else": { "operation": "boost", "score": 0.13083255290985107 } } } }, "else": { "operation": "boost", "score": 0.0327092707157135 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.008050516247749329 }, "else": { "operation": "boost", "score": -0.3462420403957367 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10805249959230423 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.024703316390514374 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1882621794939041 }, "else": { "operation": "boost", "score": -0.10020695626735687 } }, "else": { "operation": "boost", "score": -0.16011196374893188 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.06545967608690262 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.1303878128528595 }, "else": { "operation": "boost", "score": 0.09281592816114426 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.0725422203540802 }, "else": { "operation": "boost", "score": 0.09373608976602554 } }, "else": { "operation": "boost", "score": -0.09129447489976883 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.034455589950084686 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.9207162857055664 }, "else": { "operation": "boost", "score": -0.10013549029827118 } } } } }, "else": { "operation": "boost", "score": -0.03724037483334541 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4678.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4906.0, "then": { "operation": "boost", "score": 0.01661170832812786 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4889.0, "then": { "operation": "boost", "score": 0.1373916119337082 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.12122182548046112 }, "else": { "operation": "boost", "score": 0.04612603783607483 } }, "else": { "operation": "boost", "score": 0.016907520592212677 } }, "else": { "operation": "boost", "score": -0.07561205327510834 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.025330036878585815 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.011700581759214401 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.009662303142249584 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.10678664594888687 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.08405160903930664 }, "else": { "operation": "boost", "score": 0.13634788990020752 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.061688102781772614 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.058216799050569534 }, "else": { "operation": "boost", "score": -0.4261806905269623 } }, "else": { "operation": "boost", "score": -0.060602568089962006 } } }, "else": { "operation": "boost", "score": -0.0013095642207190394 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00522504560649395 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.12431174516677856 }, "else": { "operation": "boost", "score": -0.05982527881860733 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.464102566242218, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.027059823274612427 }, "else": { "operation": "boost", "score": 0.00013957603368908167 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.01016057189553976 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0331585556268692 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10097155719995499 }, "else": { "operation": "boost", "score": 0.032254960387945175 } } }, "else": { "operation": "boost", "score": 0.013042803853750229 } }, "else": { "operation": "boost", "score": -0.03788170963525772 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2899159789085388, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12324308604001999 }, "else": { "operation": "boost", "score": -0.15321199595928192 } }, "else": { "operation": "boost", "score": -0.13879233598709106 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": 0.0962359756231308 }, "else": { "operation": "boost", "score": 0.011165488511323929 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.9742901921272278 }, "else": { "operation": "boost", "score": -0.12959636747837067 } }, "else": { "operation": "boost", "score": -0.030741654336452484 } }, "else": { "operation": "boost", "score": -0.015079222619533539 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.12990206480026245 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10915037244558334 }, "else": { "operation": "boost", "score": 0.21335381269454956 } }, "else": { "operation": "boost", "score": 0.07551127672195435 } } }, "else": { "operation": "boost", "score": -0.07084082812070847 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08483901619911194 }, "else": { "operation": "boost", "score": -0.3475892245769501 } }, "else": { "operation": "boost", "score": -0.06110970303416252 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09833134710788727 }, "else": { "operation": "boost", "score": 0.014177682809531689 } } } }, "else": { "operation": "boost", "score": 0.12191174179315567 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.10639622807502747 }, "else": { "operation": "boost", "score": 0.07294964790344238 } }, "else": { "operation": "boost", "score": -0.016324257478117943 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.26491230726242065, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.06307024508714676 }, "else": { "operation": "boost", "score": 1.2139091491699219 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.18013787269592285 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.03556406870484352 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09320497512817383 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.15897442400455475 }, "else": { "operation": "boost", "score": 0.16393856704235077 } } } } } }, "else": { "operation": "boost", "score": 0.11899885535240173 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.368541419506073 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.08843564987182617 }, "else": { "operation": "boost", "score": -0.015928832814097404 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0862356573343277 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.11696869879961014 }, "else": { "operation": "boost", "score": 0.011286339722573757 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019786635413765907 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03306048735976219 }, "else": { "operation": "boost", "score": -0.28658631443977356 } } } } } }, "else": { "operation": "boost", "score": -0.0005773149314336479 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.19730572402477264 }, "else": { "operation": "boost", "score": -0.005604174919426441 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.009074127301573753 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.21895720064640045 }, "else": { "operation": "boost", "score": -0.31672027707099915 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.06038466840982437 }, "else": { "operation": "boost", "score": -0.0954047217965126 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12440714240074158 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.004646541550755501 }, "else": { "operation": "boost", "score": -0.40602612495422363 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.03870204836130142 }, "else": { "operation": "boost", "score": 0.09451586753129959 } }, "else": { "operation": "boost", "score": 0.08160076290369034 } }, "else": { "operation": "boost", "score": -0.04289716109633446 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0009996771113947034 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.01889335736632347 }, "else": { "operation": "boost", "score": -0.012058894149959087 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": -0.0006612091674469411 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.05003092437982559 }, "else": { "operation": "boost", "score": 0.15214383602142334 } }, "else": { "operation": "boost", "score": 0.02643747255206108 } }, "else": { "operation": "boost", "score": -0.009027051739394665 } } } } } } } }, "else": { "operation": "boost", "score": -0.0004503066884353757 } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.0015698514180257916 }, "else": { "operation": "boost", "score": -0.026169227436184883 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.18805551528930664 }, "else": { "operation": "boost", "score": 0.11473853141069412 } }, "else": { "operation": "boost", "score": -0.01659565605223179 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.0002196401183027774 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13172.0, "then": { "operation": "boost", "score": 0.10961351543664932 }, "else": { "operation": "boost", "score": -0.02945902571082115 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10452169924974442 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.024531971663236618 }, "else": { "operation": "boost", "score": 0.13835372030735016 } }, "else": { "operation": "boost", "score": -0.04584111273288727 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.06212332472205162 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.08266789466142654 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 144.5, "then": { "operation": "boost", "score": 0.08235512673854828 }, "else": { "operation": "boost", "score": 0.1431225836277008 } } }, "else": { "operation": "boost", "score": -0.17810429632663727 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.5, "then": { "operation": "boost", "score": -0.014908390119671822 }, "else": { "operation": "boost", "score": 0.13290774822235107 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14347989857196808 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.007710252422839403 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.03629221394658089 }, "else": { "operation": "boost", "score": -0.02187894843518734 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.5, "then": { "operation": "boost", "score": 0.016094675287604332 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.15806150436401367 }, "else": { "operation": "boost", "score": 0.05974334478378296 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01254106406122446 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.01417490653693676 }, "else": { "operation": "boost", "score": 0.05875037610530853 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.0, "then": { "operation": "boost", "score": -0.24949190020561218 }, "else": { "operation": "boost", "score": 0.11104032397270203 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": -0.06200921908020973 }, "else": { "operation": "boost", "score": -0.2684653103351593 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.12003965675830841 }, "else": { "operation": "boost", "score": -0.11450950056314468 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.5139454007148743 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.29392507672309875 }, "else": { "operation": "boost", "score": -0.22670748829841614 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.0035778486635535955 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.0978415384888649 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.032625868916511536 }, "else": { "operation": "boost", "score": 0.07372309267520905 } }, "else": { "operation": "boost", "score": 0.017156032845377922 } } }, "else": { "operation": "boost", "score": 0.008328322321176529 } } }, "else": { "operation": "boost", "score": 0.004619233775883913 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.11620106548070908 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.11924096941947937 }, "else": { "operation": "boost", "score": 0.13898922502994537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74.5, "then": { "operation": "boost", "score": 0.16994202136993408 }, "else": { "operation": "boost", "score": 0.03532861918210983 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.1011156290769577 }, "else": { "operation": "boost", "score": 0.12329006940126419 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62.5, "then": { "operation": "boost", "score": 0.036774322390556335 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.0, "then": { "operation": "boost", "score": 0.15857046842575073 }, "else": { "operation": "boost", "score": 0.11077111959457397 } } }, "else": { "operation": "boost", "score": 0.03151136264204979 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.1060100793838501 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.1434461623430252 }, "else": { "operation": "boost", "score": 0.21617302298545837 } } }, "else": { "operation": "boost", "score": 0.052141908556222916 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.11393596976995468 }, "else": { "operation": "boost", "score": 0.15546204149723053 } } } }, "else": { "operation": "boost", "score": -0.04087620973587036 } } }, "else": { "operation": "boost", "score": -0.027129309251904488 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.035299524664878845 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.01053405087441206 }, "else": { "operation": "boost", "score": -0.21624267101287842 } }, "else": { "operation": "boost", "score": 0.002524977782741189 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": -0.2592405080795288 }, "else": { "operation": "boost", "score": -1.647055745124817 } }, "else": { "operation": "boost", "score": -0.09494395554065704 } }, "else": { "operation": "boost", "score": -4.203240871429443 } }, "else": { "operation": "boost", "score": -0.16178536415100098 } }, "else": { "operation": "boost", "score": -0.0039512524381279945 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.043763283640146255 }, "else": { "operation": "boost", "score": -0.33380764722824097 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.046745460480451584 }, "else": { "operation": "boost", "score": 0.04576680436730385 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.023117467761039734 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.01881643757224083 }, "else": { "operation": "boost", "score": 0.16276989877223969 } }, "else": { "operation": "boost", "score": 0.19009891152381897 } }, "else": { "operation": "boost", "score": 0.0640990287065506 } } }, "else": { "operation": "boost", "score": 0.008000737987458706 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.001377115142531693 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.025712210685014725 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.06830970197916031 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.03842854127287865 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.41770097613334656 }, "else": { "operation": "boost", "score": 0.07812429219484329 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "boost", "score": 0.10802284628152847 }, "else": { "operation": "boost", "score": 0.10694526880979538 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "boost", "score": -0.025037109851837158 }, "else": { "operation": "boost", "score": 0.07566382735967636 } }, "else": { "operation": "boost", "score": -0.04753834754228592 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.16356733441352844 }, "else": { "operation": "boost", "score": 0.12757772207260132 } } }, "else": { "operation": "boost", "score": -0.05236360803246498 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.07325921207666397 }, "else": { "operation": "boost", "score": -0.5732429027557373 } }, "else": { "operation": "boost", "score": -0.04624509438872337 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.03063422441482544 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.04761342331767082 }, "else": { "operation": "boost", "score": -0.04738247022032738 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.5, "then": { "operation": "boost", "score": -0.09330887347459793 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": 0.005094265099614859 }, "else": { "operation": "boost", "score": -0.04702761024236679 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02085546776652336 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.10320945084095001 }, "else": { "operation": "boost", "score": -0.560924232006073 } } }, "else": { "operation": "boost", "score": 0.02117915078997612 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.32145923376083374 }, "else": { "operation": "boost", "score": 0.06813764572143555 } }, "else": { "operation": "boost", "score": 0.04184844717383385 } }, "else": { "operation": "boost", "score": -0.009845281019806862 } }, "else": { "operation": "boost", "score": -0.07317391782999039 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0003773478383664042 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.08279967308044434 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.09911011159420013 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0651959627866745, "then": { "operation": "boost", "score": 0.135684996843338 }, "else": { "operation": "boost", "score": -0.163718119263649 } }, "else": { "operation": "boost", "score": 0.12916474044322968 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.05325932055711746 }, "else": { "operation": "boost", "score": 0.1143479198217392 } }, "else": { "operation": "boost", "score": -0.10080849379301071 } }, "else": { "operation": "boost", "score": -0.0017763368086889386 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0002878682571463287 }, "else": { "operation": "boost", "score": -0.002118696691468358 } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "boost", "score": 0.0093486737459898 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": -0.005718646105378866 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07419348508119583 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.054733019322156906 }, "else": { "operation": "boost", "score": 0.06907465308904648 } }, "else": { "operation": "boost", "score": -0.19908030331134796 } }, "else": { "operation": "boost", "score": 0.08023257553577423 } } }, "else": { "operation": "boost", "score": -0.06760859489440918 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.10438854247331619 }, "else": { "operation": "boost", "score": -0.039642687886953354 } }, "else": { "operation": "boost", "score": -0.12296272069215775 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.022573197260499 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.04222717881202698 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.2590634822845459 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.007008852902799845 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.0, "then": { "operation": "boost", "score": 0.10804522037506104 }, "else": { "operation": "boost", "score": 0.09308794140815735 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.32694023847579956 }, "else": { "operation": "boost", "score": -0.04561280831694603 } }, "else": { "operation": "boost", "score": 0.01473263930529356 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.007352417800575495 }, "else": { "operation": "boost", "score": -0.14208245277404785 } }, "else": { "operation": "boost", "score": -0.0033449504990130663 } } } } }, "else": { "operation": "boost", "score": 0.0071859355084598064 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0067710913717746735 }, "else": { "operation": "boost", "score": 0.0008542333380319178 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.010492376983165741 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.0003716560313478112 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.22746212780475616 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.005869329907000065 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2321428656578064, "then": { "operation": "boost", "score": 0.12731197476387024 }, "else": { "operation": "boost", "score": -0.48633357882499695 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08913086354732513 }, "else": { "operation": "boost", "score": 0.12639740109443665 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.14669975638389587 }, "else": { "operation": "boost", "score": 0.026388294994831085 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3174856901168823 }, "else": { "operation": "boost", "score": 0.07721609622240067 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.037481747567653656 }, "else": { "operation": "boost", "score": -0.07403559982776642 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.024696946144104004 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03399323299527168 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.056660089641809464 }, "else": { "operation": "boost", "score": -0.01637306995689869 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.6505228281021118 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.4887821674346924 }, "else": { "operation": "boost", "score": 0.12423679232597351 } } } } }, "else": { "operation": "boost", "score": -0.05516073852777481 } } }, "else": { "operation": "boost", "score": -0.15441212058067322 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": 0.013785628601908684 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.029829930514097214 }, "else": { "operation": "boost", "score": -0.12230260670185089 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": -0.03002716414630413 }, "else": { "operation": "boost", "score": 0.11433979868888855 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05958883836865425 }, "else": { "operation": "boost", "score": -0.5537791848182678 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 175.0, "then": { "operation": "boost", "score": -0.027896951884031296 }, "else": { "operation": "boost", "score": 0.13511787354946136 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.1932443380355835 }, "else": { "operation": "boost", "score": 0.015189955942332745 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.06909868866205215 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -1.231143593788147 }, "else": { "operation": "boost", "score": 0.1520043909549713 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.10098337382078171 }, "else": { "operation": "boost", "score": 0.06917709857225418 } }, "else": { "operation": "boost", "score": -0.004219743888825178 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.040273964405059814 }, "else": { "operation": "boost", "score": 0.15448905527591705 } }, "else": { "operation": "boost", "score": -0.015628686174750328 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -1.538496494293213 }, "else": { "operation": "boost", "score": -0.07324158400297165 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04412982612848282 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.09777303040027618 }, "else": { "operation": "boost", "score": 0.10506048798561096 } } }, "else": { "operation": "boost", "score": 0.021408826112747192 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 338.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 405.5, "then": { "operation": "boost", "score": 0.10332449525594711 }, "else": { "operation": "boost", "score": 0.12214314937591553 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.09835702180862427 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": -0.11441827565431595 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.019315699115395546 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08714047074317932 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.027904583141207695 }, "else": { "operation": "boost", "score": -0.19655434787273407 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.011628526262938976 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06432846933603287 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.1082359328866005 }, "else": { "operation": "boost", "score": 0.10491137206554413 } } }, "else": { "operation": "boost", "score": 0.06455555558204651 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11832991987466812 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.0, "then": { "operation": "boost", "score": 0.11649978905916214 }, "else": { "operation": "boost", "score": -0.28456056118011475 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.18726889789104462 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.22771266102790833 }, "else": { "operation": "boost", "score": 0.02736043557524681 } }, "else": { "operation": "boost", "score": 0.20018112659454346 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.13508643209934235 }, "else": { "operation": "boost", "score": -0.14048103988170624 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.05152406916022301 }, "else": { "operation": "boost", "score": 0.13130705058574677 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.5226296782493591 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "boost", "score": -0.011940712109208107 }, "else": { "operation": "boost", "score": 0.11551302671432495 } }, "else": { "operation": "boost", "score": 0.016778966411948204 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.5137034058570862 }, "else": { "operation": "boost", "score": -0.03961320221424103 } }, "else": { "operation": "boost", "score": 0.003606738056987524 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.23563332855701447 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": -0.2095276117324829 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.19238796830177307 }, "else": { "operation": "boost", "score": 0.05715037137269974 } }, "else": { "operation": "boost", "score": -0.01822209171950817 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04637090861797333 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.08037032932043076 }, "else": { "operation": "boost", "score": 0.09269392490386963 } } }, "else": { "operation": "boost", "score": 0.021673614159226418 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0057175192050635815 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118.5, "then": { "operation": "boost", "score": 0.12494479864835739 }, "else": { "operation": "boost", "score": 0.03350884094834328 } }, "else": { "operation": "boost", "score": -0.028346432372927666 } } }, "else": { "operation": "boost", "score": -0.02411036193370819 } } } }, "else": { "operation": "boost", "score": 0.0033262467477470636 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.11312220990657806 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.038662102073431015 }, "else": { "operation": "boost", "score": 0.0939270481467247 } }, "else": { "operation": "boost", "score": -0.07939958572387695 } } }, "else": { "operation": "boost", "score": -0.002386899432167411 } } } } } } } } }, "else": { "operation": "boost", "score": -0.0002672868431545794 } } } }, "else": { "operation": "boost", "score": -0.0005431039608083665 } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0023998143151402473 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1889880895614624, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.464102566242218, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": -0.2908034920692444 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01262893807142973 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.087323859333992 }, "else": { "operation": "boost", "score": 0.01287981029599905 } }, "else": { "operation": "boost", "score": 0.03481624275445938 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05581042170524597 }, "else": { "operation": "boost", "score": -0.4659261405467987 } }, "else": { "operation": "boost", "score": 0.015046442858874798 } } }, "else": { "operation": "boost", "score": 0.05027381330728531 } } }, "else": { "operation": "boost", "score": 0.01061435230076313 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.017251862213015556 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.05380208417773247 }, "else": { "operation": "boost", "score": -0.009869984351098537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": -0.01665065810084343 }, "else": { "operation": "boost", "score": 0.11057206988334656 } }, "else": { "operation": "boost", "score": -0.04172493517398834 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.03394465520977974 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.11769061535596848 }, "else": { "operation": "boost", "score": -0.03369014337658882 } } }, "else": { "operation": "boost", "score": -0.016757875680923462 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006672906689345837 }, "else": { "operation": "boost", "score": -0.019308820366859436 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "boost", "score": 0.03213135153055191 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.109808050096035 }, "else": { "operation": "boost", "score": -0.012845069169998169 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.028656721115112305 }, "else": { "operation": "boost", "score": 0.00876912847161293 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22252747416496277, "then": { "operation": "boost", "score": -0.02349153906106949 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04469350352883339 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1284123808145523 }, "else": { "operation": "boost", "score": -0.13075435161590576 } } }, "else": { "operation": "boost", "score": -0.002637619851157069 } } }, "else": { "operation": "boost", "score": -0.04605161026120186 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11010280251502991 }, "else": { "operation": "boost", "score": -0.01980600878596306 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4373.0, "then": { "operation": "boost", "score": 0.07765993475914001 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.05725986883044243 }, "else": { "operation": "boost", "score": 0.1579316258430481 } }, "else": { "operation": "boost", "score": -0.16059565544128418 } }, "else": { "operation": "boost", "score": -0.0502685010433197 } }, "else": { "operation": "boost", "score": 0.0022420636378228664 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.016110779717564583 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.21246100962162018 }, "else": { "operation": "boost", "score": -0.11956819891929626 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0037298761308193207 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024918444454669952 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7779.5, "then": { "operation": "boost", "score": -0.26649343967437744 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 348.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.11960968375205994 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 871.5, "then": { "operation": "boost", "score": 0.09162599593400955 }, "else": { "operation": "boost", "score": 0.23363518714904785 } }, "else": { "operation": "boost", "score": 0.037500396370887756 } } }, "else": { "operation": "boost", "score": 0.19652284681797028 } }, "else": { "operation": "boost", "score": 0.027354011312127113 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "boost", "score": 0.14306530356407166 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.6473594903945923 }, "else": { "operation": "boost", "score": -0.14175710082054138 } } }, "else": { "operation": "boost", "score": 0.21033698320388794 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.05081554502248764 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": 0.18837563693523407 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.21830515563488007 }, "else": { "operation": "boost", "score": -0.10010270029306412 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.5, "then": { "operation": "boost", "score": 0.11096891760826111 }, "else": { "operation": "boost", "score": 0.20120231807231903 } }, "else": { "operation": "boost", "score": 0.023826545104384422 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 124.5, "then": { "operation": "boost", "score": 0.10072046518325806 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03447794169187546 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.14147382974624634 }, "else": { "operation": "boost", "score": -0.024659277871251106 } } } } } }, "else": { "operation": "boost", "score": -0.03416929021477699 } } } }, "else": { "operation": "boost", "score": 0.027160540223121643 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.007886955514550209 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8458.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11877.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85554.5, "then": { "operation": "boost", "score": 0.09891252219676971 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62576.5, "then": { "operation": "boost", "score": -0.19067633152008057 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19905.0, "then": { "operation": "boost", "score": 0.10819415748119354 }, "else": { "operation": "boost", "score": -0.11660310626029968 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12625.5, "then": { "operation": "boost", "score": -0.12792618572711945 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.15358221530914307 }, "else": { "operation": "boost", "score": -0.028555629774928093 } } } } } }, "else": { "operation": "boost", "score": -0.21825702488422394 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6350.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.18595488369464874 }, "else": { "operation": "boost", "score": -0.10031209141016006 } }, "else": { "operation": "boost", "score": -0.02361833117902279 } } } } }, "else": { "operation": "boost", "score": -0.0022301606368273497 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0031150963623076677 }, "else": { "operation": "boost", "score": -0.001190840033814311 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02388046309351921 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3079.0, "then": { "operation": "boost", "score": 0.014766136184334755 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2910.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.1533389389514923 }, "else": { "operation": "boost", "score": -0.5340169072151184 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.006850854493677616 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.003170775016769767 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "boost", "score": 0.06949739158153534 }, "else": { "operation": "boost", "score": 0.11987397819757462 } }, "else": { "operation": "boost", "score": -0.024480240419507027 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.10649062693119049 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.10037349164485931 }, "else": { "operation": "boost", "score": 1.1575425863265991 } }, "else": { "operation": "boost", "score": 0.24977746605873108 } } }, "else": { "operation": "boost", "score": -0.11624858528375626 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11553031951189041 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17376309633255005 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 535.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.15918132662773132 }, "else": { "operation": "boost", "score": 0.0929400697350502 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.0018703830428421497 }, "else": { "operation": "boost", "score": 0.018677376210689545 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.28385597467422485 }, "else": { "operation": "boost", "score": -0.06510742008686066 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.06941196322441101 }, "else": { "operation": "boost", "score": 0.12364352494478226 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 255.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 308.0, "then": { "operation": "boost", "score": 0.04750756174325943 }, "else": { "operation": "boost", "score": 0.11992069333791733 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.2464544028043747 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.1384194791316986 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7571429014205933, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.5032300353050232 }, "else": { "operation": "boost", "score": -0.032597772777080536 } }, "else": { "operation": "boost", "score": 0.045102231204509735 } }, "else": { "operation": "boost", "score": 0.00030028310720808804 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0012439857237040997 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.08539123088121414 }, "else": { "operation": "boost", "score": 0.13189734518527985 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.04247039183974266 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06091887876391411 }, "else": { "operation": "boost", "score": 0.017074966803193092 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11378508806228638 }, "else": { "operation": "boost", "score": 0.0470300056040287 } } } }, "else": { "operation": "boost", "score": 0.005684926640242338 } } } } } } } } } } } } } }, "else": { "operation": "boost", "score": -0.0004315527621656656 } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10722141712903976 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": 0.06922072917222977 }, "else": { "operation": "boost", "score": 0.019606221467256546 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0008722975035198033 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.05206291377544403 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.2279384285211563 }, "else": { "operation": "boost", "score": 0.09006232023239136 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.11858274787664413 }, "else": { "operation": "boost", "score": -0.037897732108831406 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.10055999457836151 }, "else": { "operation": "boost", "score": 0.017016345635056496 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0288372989743948 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.013248772360384464 }, "else": { "operation": "boost", "score": 0.013923813588917255 } } } }, "else": { "operation": "boost", "score": -0.13042153418064117 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.3246951401233673 }, "else": { "operation": "boost", "score": -0.15823285281658173 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5777778029441833, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.0, "then": { "operation": "boost", "score": 0.1388341635465622 }, "else": { "operation": "boost", "score": 0.2176845818758011 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08116883039474487, "then": { "operation": "boost", "score": 0.15066276490688324 }, "else": { "operation": "boost", "score": -0.10029854625463486 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.0723554864525795 }, "else": { "operation": "boost", "score": 0.22161033749580383 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0025685816071927547 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1369817554950714 }, "else": { "operation": "boost", "score": -0.017793135717511177 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.01750786416232586 }, "else": { "operation": "boost", "score": -0.010015549138188362 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.03063778392970562 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09251265972852707 }, "else": { "operation": "boost", "score": -0.024939442053437233 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.02305373176932335 }, "else": { "operation": "boost", "score": 0.12230200320482254 } }, "else": { "operation": "boost", "score": 0.07059439271688461 } } } }, "else": { "operation": "boost", "score": 0.012301044538617134 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.01349787600338459 }, "else": { "operation": "boost", "score": -0.0009468593052588403 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03708791360259056, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34205.5, "then": { "operation": "boost", "score": -0.02623867802321911 }, "else": { "operation": "boost", "score": 0.12404869496822357 } }, "else": { "operation": "boost", "score": -0.126961812376976 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27669.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12202149629592896 }, "else": { "operation": "boost", "score": -0.07729370146989822 } }, "else": { "operation": "boost", "score": 9.733585102367215e-07 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.026345031335949898 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.05257096141576767 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0696931853890419 }, "else": { "operation": "boost", "score": 0.0983470231294632 } }, "else": { "operation": "boost", "score": -0.10010881721973419 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.08501588553190231 }, "else": { "operation": "boost", "score": 0.04666462913155556 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.11260402202606201 }, "else": { "operation": "boost", "score": 0.02629994787275791 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006919031962752342 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.02646353468298912 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.01496877707540989 }, "else": { "operation": "boost", "score": 0.1321757286787033 } }, "else": { "operation": "boost", "score": 0.02833867073059082 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03704103082418442 }, "else": { "operation": "boost", "score": -0.05551521107554436 } } }, "else": { "operation": "boost", "score": 0.01960700936615467 } }, "else": { "operation": "boost", "score": -0.03874490037560463 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.017890769988298416 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118.5, "then": { "operation": "boost", "score": -0.037381310015916824 }, "else": { "operation": "boost", "score": 0.1739487648010254 } }, "else": { "operation": "boost", "score": 0.06856631487607956 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.27871835231781006 }, "else": { "operation": "boost", "score": 0.06167158484458923 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0006484161713160574 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.36476844549179077 }, "else": { "operation": "boost", "score": -1.0598613023757935 } } } } } }, "else": { "operation": "boost", "score": -0.12597864866256714 } }, "else": { "operation": "boost", "score": 0.2574666142463684 } }, "else": { "operation": "boost", "score": -0.0033991269301623106 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017764346674084663 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.31111112236976624, "then": { "operation": "boost", "score": 0.3247864842414856 }, "else": { "operation": "boost", "score": 0.13360968232154846 } }, "else": { "operation": "boost", "score": 0.011670217849314213 } }, "else": { "operation": "boost", "score": 0.033448051661252975 } } }, "else": { "operation": "boost", "score": 0.004238346591591835 } } } } }, "else": { "operation": "boost", "score": -4.0113209252012894e-05 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0014401260996237397 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.1286102682352066 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.03146045282483101 }, "else": { "operation": "boost", "score": 0.1906302273273468 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": -0.03472286835312843 }, "else": { "operation": "boost", "score": 0.17415539920330048 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 157.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": -0.11872942000627518 }, "else": { "operation": "boost", "score": 0.2706958055496216 } }, "else": { "operation": "boost", "score": 0.1173536479473114 } }, "else": { "operation": "boost", "score": -0.38608500361442566 } }, "else": { "operation": "boost", "score": -0.038340017199516296 } } } }, "else": { "operation": "boost", "score": -0.0007034283480606973 } }, "else": { "operation": "boost", "score": 0.029393691569566727 } }, "else": { "operation": "boost", "score": -0.013912294059991837 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.008816235698759556 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.10214408487081528 }, "else": { "operation": "boost", "score": -0.015209892764687538 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.2284097820520401 }, "else": { "operation": "boost", "score": 0.02129141241312027 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4347.0, "then": { "operation": "boost", "score": -0.11774760484695435 }, "else": { "operation": "boost", "score": 0.36678585410118103 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -1.0649813475538394e-08 }, "else": { "operation": "boost", "score": 0.11516879498958588 } }, "else": { "operation": "boost", "score": -0.02023705467581749 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.17237882316112518 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 145.0, "then": { "operation": "boost", "score": 0.07579604536294937 }, "else": { "operation": "boost", "score": -0.02349531091749668 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.206670343875885 }, "else": { "operation": "boost", "score": 0.07988572120666504 } } } }, "else": { "operation": "boost", "score": 0.015390807762742043 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.011557512916624546 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12578079104423523 }, "else": { "operation": "boost", "score": 0.12615419924259186 } }, "else": { "operation": "boost", "score": 0.06281812489032745 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09176483750343323 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.10795573145151138 }, "else": { "operation": "boost", "score": -0.002794134197756648 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.13277655839920044 }, "else": { "operation": "boost", "score": 0.1594735085964203 } }, "else": { "operation": "boost", "score": 0.08310799300670624 } }, "else": { "operation": "boost", "score": 0.012876680120825768 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11082595586776733 }, "else": { "operation": "boost", "score": -0.02544553019106388 } } }, "else": { "operation": "boost", "score": 0.047397416085004807 } }, "else": { "operation": "boost", "score": -0.10268067568540573 } } }, "else": { "operation": "boost", "score": -0.012716282159090042 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "boost", "score": 0.0021510941442102194 }, "else": { "operation": "boost", "score": -0.0005485553992912173 } } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2902987599372864 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2291.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05845693126320839 }, "else": { "operation": "boost", "score": 0.005740271415561438 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 655.5, "then": { "operation": "boost", "score": 0.03968232870101929 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.13532456755638123 }, "else": { "operation": "boost", "score": 0.11430465430021286 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.2322511374950409 }, "else": { "operation": "boost", "score": 0.002666893880814314 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.08454901725053787 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 901.5, "then": { "operation": "boost", "score": 0.028440823778510094 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 853.0, "then": { "operation": "boost", "score": 0.11001583933830261 }, "else": { "operation": "boost", "score": 0.07821109890937805 } } } }, "else": { "operation": "boost", "score": 0.021420419216156006 } }, "else": { "operation": "boost", "score": 0.034910134971141815 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 670.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 792.0, "then": { "operation": "boost", "score": 0.003486678237095475 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 781.5, "then": { "operation": "boost", "score": -0.7282330989837646 }, "else": { "operation": "boost", "score": -0.09986767172813416 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010976889170706272 }, "else": { "operation": "boost", "score": -0.28979921340942383 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 667.0, "then": { "operation": "boost", "score": 0.13603109121322632 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 611.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 616.0, "then": { "operation": "boost", "score": 0.06155373901128769 }, "else": { "operation": "boost", "score": 0.190138041973114 } }, "else": { "operation": "boost", "score": -0.29959163069725037 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.049726974219083786 }, "else": { "operation": "boost", "score": 0.038555800914764404 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1594974249601364 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.029865456745028496 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.029294369742274284 }, "else": { "operation": "boost", "score": 0.11228181421756744 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.24182891845703125 }, "else": { "operation": "boost", "score": -1.439780831336975 } }, "else": { "operation": "boost", "score": 0.002371876733377576 } } } }, "else": { "operation": "boost", "score": -0.00965686235576868 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.06877932697534561 }, "else": { "operation": "boost", "score": 0.003699900582432747 } }, "else": { "operation": "boost", "score": 0.010116344317793846 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.038592398166656494 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04655719920992851 }, "else": { "operation": "boost", "score": 0.14689743518829346 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04188990220427513 }, "else": { "operation": "boost", "score": -0.03718927502632141 } } }, "else": { "operation": "boost", "score": -0.032093875110149384 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.08441556245088577 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09258376061916351 }, "else": { "operation": "boost", "score": 0.024379590526223183 } }, "else": { "operation": "boost", "score": -0.007060345262289047 } } } }, "else": { "operation": "boost", "score": 0.0067806788720190525 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014226988889276981 }, "else": { "operation": "boost", "score": 0.005106438882648945 } }, "else": { "operation": "boost", "score": 0.0004773197288159281 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.002101888647302985 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.34954750537872314, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.010142644867300987 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.13229314982891083 }, "else": { "operation": "boost", "score": 0.08581309020519257 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.09716729074716568 }, "else": { "operation": "boost", "score": 0.009300321340560913 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3779761791229248, "then": { "operation": "boost", "score": 0.11343957483768463 }, "else": { "operation": "boost", "score": 0.10947487503290176 } }, "else": { "operation": "boost", "score": 0.09113278239965439 } } }, "else": { "operation": "boost", "score": -0.13599367439746857 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.004153701476752758 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.07116677612066269 }, "else": { "operation": "boost", "score": -0.1588008999824524 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09111828356981277 }, "else": { "operation": "boost", "score": -0.06774980574846268 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12828077375888824 }, "else": { "operation": "boost", "score": 0.021155986934900284 } } } } }, "else": { "operation": "boost", "score": -0.0032904697582125664 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06685402244329453 }, "else": { "operation": "boost", "score": -0.00394678907468915 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019997959956526756 }, "else": { "operation": "boost", "score": 0.15352216362953186 } }, "else": { "operation": "boost", "score": -0.0913688912987709 } } } } } }, "else": { "operation": "boost", "score": -0.0002473389613442123 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01616525836288929 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.0010975097538903356 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 24.0, "then": { "operation": "boost", "score": -0.06996390968561172 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.10236725211143494 }, "else": { "operation": "boost", "score": -0.01254893559962511 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.017415866255760193 }, "else": { "operation": "boost", "score": -0.048724401742219925 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.1420649141073227 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.12472458928823471 }, "else": { "operation": "boost", "score": -0.04446372017264366 } } }, "else": { "operation": "boost", "score": 0.022598231211304665 } }, "else": { "operation": "boost", "score": -0.02544759027659893 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01911989040672779 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08956863731145859 }, "else": { "operation": "boost", "score": 0.024447649717330933 } } }, "else": { "operation": "boost", "score": -0.038815878331661224 } }, "else": { "operation": "boost", "score": -0.0014432307798415422 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.042740676552057266 }, "else": { "operation": "boost", "score": -0.001280769007280469 } }, "else": { "operation": "boost", "score": -0.020655812695622444 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.963269054889679 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.029230089858174324 }, "else": { "operation": "boost", "score": -0.29439520835876465 } } }, "else": { "operation": "boost", "score": 0.08773145079612732 } }, "else": { "operation": "boost", "score": 0.06221161037683487 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.021425215527415276 }, "else": { "operation": "boost", "score": -0.028288112953305244 } }, "else": { "operation": "boost", "score": -0.003273008856922388 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.027495307847857475 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.3678223788738251 }, "else": { "operation": "boost", "score": -0.12876762449741364 } } }, "else": { "operation": "boost", "score": 0.013169505633413792 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.12089184671640396 }, "else": { "operation": "boost", "score": 0.001060498645529151 } } }, "else": { "operation": "boost", "score": -0.02540510706603527 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.10699359327554703 }, "else": { "operation": "boost", "score": -0.0064981915056705475 } }, "else": { "operation": "boost", "score": -0.08878757059574127 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.01546049490571022 }, "else": { "operation": "boost", "score": -0.02250467613339424 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.028369508683681488 }, "else": { "operation": "boost", "score": 0.007286466658115387 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "boost", "score": 0.11608416587114334 }, "else": { "operation": "boost", "score": -0.0037945357616990805 } } }, "else": { "operation": "boost", "score": 0.008006243966519833 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0028881465550512075 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0020104157738387585 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009667964652180672 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.003847751533612609 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2863636612892151, "then": { "operation": "boost", "score": -0.008026424795389175 }, "else": { "operation": "boost", "score": -7.0407304763793945 } }, "else": { "operation": "boost", "score": -0.130849227309227 } } } }, "else": { "operation": "boost", "score": -0.019162192940711975 } } } } } } }, "else": { "operation": "boost", "score": 0.00019438250456005335 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.001424298039637506 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5397.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8200.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8445.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.010578149929642677 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220295.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.013323524966835976 }, "else": { "operation": "boost", "score": -0.01616618037223816 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06757905334234238 }, "else": { "operation": "boost", "score": -0.20146392285823822 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205376.5, "then": { "operation": "boost", "score": 0.032146524637937546 }, "else": { "operation": "boost", "score": 0.014987103641033173 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8347.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": -0.10033552348613739 }, "else": { "operation": "boost", "score": 0.223653182387352 } }, "else": { "operation": "boost", "score": -0.10189343243837357 } }, "else": { "operation": "boost", "score": 0.31481093168258667 } }, "else": { "operation": "boost", "score": 0.17830395698547363 } }, "else": { "operation": "boost", "score": 0.010154003277420998 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.012202988378703594 }, "else": { "operation": "boost", "score": -0.09551037847995758 } } }, "else": { "operation": "boost", "score": -0.0178639218211174 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5315.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10075896233320236 }, "else": { "operation": "boost", "score": 0.11793170869350433 } }, "else": { "operation": "boost", "score": 0.09639054536819458 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3432.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3864.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4972.0, "then": { "operation": "boost", "score": -0.009655253030359745 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4917.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.09477139264345169 }, "else": { "operation": "boost", "score": 0.13112927973270416 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4100.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.22438882291316986 }, "else": { "operation": "boost", "score": 0.156686469912529 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4565.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4751.0, "then": { "operation": "boost", "score": -0.0007179211243055761 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.022776488214731216 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4629.5, "then": { "operation": "boost", "score": 0.07806669175624847 }, "else": { "operation": "boost", "score": 0.12966518104076385 } }, "else": { "operation": "boost", "score": 0.11105719208717346 } } } }, "else": { "operation": "boost", "score": 0.036550045013427734 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.15471284091472626 }, "else": { "operation": "boost", "score": 0.0013326747575774789 } } }, "else": { "operation": "boost", "score": 0.05290678143501282 } } } }, "else": { "operation": "boost", "score": -0.06585178524255753 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14009234309196472 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3527.0, "then": { "operation": "boost", "score": 0.08722924441099167 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.1551651805639267 }, "else": { "operation": "boost", "score": 0.17572832107543945 } }, "else": { "operation": "boost", "score": 0.10868111997842789 } } } }, "else": { "operation": "boost", "score": 0.050107311457395554 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16390782594680786 }, "else": { "operation": "boost", "score": -0.25018584728240967 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10215838253498077 }, "else": { "operation": "boost", "score": 0.15297982096672058 } } }, "else": { "operation": "boost", "score": 0.10043483227491379 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2501.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2586.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2785.5, "then": { "operation": "boost", "score": -0.006022676359862089 }, "else": { "operation": "boost", "score": 0.06312263011932373 } }, "else": { "operation": "boost", "score": -0.08732689917087555 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "boost", "score": 0.127282053232193 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.00650007463991642 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.5, "then": { "operation": "boost", "score": 0.11419027298688889 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2421.0, "then": { "operation": "boost", "score": 0.11266788095235825 }, "else": { "operation": "boost", "score": 0.1336616575717926 } } } } } } }, "else": { "operation": "boost", "score": 0.14582201838493347 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.06050194427371025 }, "else": { "operation": "boost", "score": -0.0023377605248242617 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.07126197218894958 }, "else": { "operation": "boost", "score": 0.030161846429109573 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13235.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13324.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16817.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18769.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19345.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27874.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29053.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29460.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32671.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.03215525671839714 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.12086441367864609 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.039391230791807175 }, "else": { "operation": "boost", "score": 0.09585598856210709 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0549299381673336 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35805.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41506.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73487.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87637.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90101.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93657.0, "then": { "operation": "boost", "score": 0.05569455027580261 }, "else": { "operation": "boost", "score": -0.20857661962509155 } }, "else": { "operation": "boost", "score": 0.08356720209121704 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.036568280309438705 }, "else": { "operation": "boost", "score": -0.26826030015945435 } } }, "else": { "operation": "boost", "score": 0.07699470967054367 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59076.5, "then": { "operation": "boost", "score": -0.0787549614906311 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.07146653532981873 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51828.5, "then": { "operation": "boost", "score": -0.2911071479320526 }, "else": { "operation": "boost", "score": 0.011288527399301529 } } } } }, "else": { "operation": "boost", "score": 0.11415217071771622 } }, "else": { "operation": "boost", "score": -0.22883881628513336 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": 0.046756528317928314 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.11127164214849472 }, "else": { "operation": "boost", "score": 0.1330050826072693 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.5516344904899597 }, "else": { "operation": "boost", "score": 0.0062875947915017605 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.45813247561454773 }, "else": { "operation": "boost", "score": -0.12629002332687378 } } }, "else": { "operation": "boost", "score": 0.09719782322645187 } }, "else": { "operation": "boost", "score": -0.39616864919662476 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28604.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1620003879070282 }, "else": { "operation": "boost", "score": 0.1635686159133911 } }, "else": { "operation": "boost", "score": 0.07815387845039368 } }, "else": { "operation": "boost", "score": 0.027139395475387573 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20345.0, "then": { "operation": "boost", "score": -0.07535776495933533 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.12158913165330887 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20039.5, "then": { "operation": "boost", "score": -0.28540584444999695 }, "else": { "operation": "boost", "score": 0.06562275439500809 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19968.0, "then": { "operation": "boost", "score": 0.04260384291410446 }, "else": { "operation": "boost", "score": -0.20758554339408875 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.12706327438354492 }, "else": { "operation": "boost", "score": 0.16661019623279572 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18885.0, "then": { "operation": "boost", "score": -0.18262363970279694 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.11597904562950134 }, "else": { "operation": "boost", "score": -0.01277067419141531 } } } } }, "else": { "operation": "boost", "score": -0.14406967163085938 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13805.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13884.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16793.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.14321352541446686 }, "else": { "operation": "boost", "score": -0.04325033724308014 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15565.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16420.5, "then": { "operation": "boost", "score": -0.1653883457183838 }, "else": { "operation": "boost", "score": 0.08203519135713577 } }, "else": { "operation": "boost", "score": -0.059744879603385925 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11915253847837448 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14962.0, "then": { "operation": "boost", "score": 0.13298079371452332 }, "else": { "operation": "boost", "score": -0.13319674134254456 } } }, "else": { "operation": "boost", "score": 0.00012432194489520043 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.03663242980837822 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13842.0, "then": { "operation": "boost", "score": 0.3380003571510315 }, "else": { "operation": "boost", "score": 0.10213132947683334 } } }, "else": { "operation": "boost", "score": -0.03725532442331314 } } }, "else": { "operation": "boost", "score": -0.035530418157577515 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.2307373285293579 }, "else": { "operation": "boost", "score": 0.22586886584758759 } }, "else": { "operation": "boost", "score": -0.11029400676488876 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7076.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7145.0, "then": { "operation": "boost", "score": 0.04345818981528282 }, "else": { "operation": "boost", "score": 0.22944845259189606 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6592.0, "then": { "operation": "boost", "score": -0.5982512831687927 }, "else": { "operation": "boost", "score": 0.003919155802577734 } } }, "else": { "operation": "boost", "score": -0.013002108782529831 } }, "else": { "operation": "boost", "score": -0.05251917243003845 } } }, "else": { "operation": "boost", "score": -0.11734238266944885 } } } }, "else": { "operation": "boost", "score": 0.11587418615818024 } }, "else": { "operation": "boost", "score": 0.008145561441779137 } }, "else": { "operation": "boost", "score": -0.0003427371848374605 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016761943697929382 }, "else": { "operation": "boost", "score": 0.042243070900440216 } }, "else": { "operation": "boost", "score": 0.0066510653123259544 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.027996502816677094 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.04400177672505379 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.13467256724834442 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.10039757192134857 }, "else": { "operation": "boost", "score": 0.14356133341789246 } } }, "else": { "operation": "boost", "score": 0.07677490264177322 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": -0.03940398991107941 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.15064765512943268 }, "else": { "operation": "boost", "score": -0.6606543064117432 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0033736564218997955 }, "else": { "operation": "boost", "score": -0.8177648782730103 } }, "else": { "operation": "boost", "score": -0.021054374054074287 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03299345076084137 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.027973970398306847 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.002690085442736745 }, "else": { "operation": "boost", "score": -0.029241040349006653 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.01576012186706066 }, "else": { "operation": "boost", "score": -0.7118356823921204 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.02292700670659542 }, "else": { "operation": "boost", "score": -0.14917245507240295 } }, "else": { "operation": "boost", "score": 0.022038957104086876 } } }, "else": { "operation": "boost", "score": 0.02331049181520939 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.020652292296290398 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19098521769046783 }, "else": { "operation": "boost", "score": 0.16739048063755035 } }, "else": { "operation": "boost", "score": 0.034705471247434616 } }, "else": { "operation": "boost", "score": -0.013584508560597897 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.1219634860754013 }, "else": { "operation": "boost", "score": 0.25759631395339966 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.03392840921878815 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.012564141303300858 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04538140073418617 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.25192469358444214 }, "else": { "operation": "boost", "score": -0.03130703046917915 } }, "else": { "operation": "boost", "score": 0.010968301445245743 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.07766610383987427 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.025998856872320175 }, "else": { "operation": "boost", "score": 0.16898994147777557 } } } }, "else": { "operation": "boost", "score": 0.06798003613948822 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.004226201679557562 }, "else": { "operation": "boost", "score": 0.01991972140967846 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.29634934663772583 }, "else": { "operation": "boost", "score": -0.03189654275774956 } }, "else": { "operation": "boost", "score": -0.003060518065467477 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "boost", "score": -0.012101301923394203 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": -0.01636001281440258 }, "else": { "operation": "boost", "score": 0.13127565383911133 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 294.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 332.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 712.0, "then": { "operation": "boost", "score": 0.043758392333984375 }, "else": { "operation": "boost", "score": 0.11434526741504669 } }, "else": { "operation": "boost", "score": -0.11193759739398956 } }, "else": { "operation": "boost", "score": 0.12211597710847855 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": 0.11548103392124176 }, "else": { "operation": "boost", "score": 0.036711689084768295 } }, "else": { "operation": "boost", "score": 0.0011163550661876798 } }, "else": { "operation": "boost", "score": -0.107187919318676 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8769.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.23654349148273468 }, "else": { "operation": "boost", "score": 0.05325585603713989 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4860.5, "then": { "operation": "boost", "score": -0.11600128561258316 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 363.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 415.5, "then": { "operation": "boost", "score": 0.02662748284637928 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.034020159393548965 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 398.5, "then": { "operation": "boost", "score": 0.12623871862888336 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.037383630871772766 }, "else": { "operation": "boost", "score": 0.10954996198415756 } } } } }, "else": { "operation": "boost", "score": 0.014859075658023357 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17142857611179352, "then": { "operation": "boost", "score": 0.13993403315544128 }, "else": { "operation": "boost", "score": -0.007692300248891115 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.2867049276828766 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.061085741966962814 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.17913556098937988 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.22337552905082703 }, "else": { "operation": "boost", "score": 0.17922407388687134 } }, "else": { "operation": "boost", "score": -0.057575371116399765 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.00960214901715517 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.0, "then": { "operation": "boost", "score": 0.13462136685848236 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.2238750457763672 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4065934121608734, "then": { "operation": "boost", "score": 0.2263505607843399 }, "else": { "operation": "boost", "score": 0.0933539867401123 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06155204027891159 }, "else": { "operation": "boost", "score": -0.12284883111715317 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.42121633887290955 }, "else": { "operation": "boost", "score": -0.15522056818008423 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6931818127632141, "then": { "operation": "boost", "score": 0.19227783381938934 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07031866908073425 }, "else": { "operation": "boost", "score": 0.13423453271389008 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.010052516125142574 }, "else": { "operation": "boost", "score": 0.12689325213432312 } }, "else": { "operation": "boost", "score": 0.1515788733959198 } }, "else": { "operation": "boost", "score": -0.026994189247488976 } }, "else": { "operation": "boost", "score": -0.06305299699306488 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.06432821601629257 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.031045766547322273 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.10645414888858795 }, "else": { "operation": "boost", "score": -1.8488991260528564 } }, "else": { "operation": "boost", "score": -0.00919303297996521 } }, "else": { "operation": "boost", "score": 0.06614407896995544 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.14197291433811188 }, "else": { "operation": "boost", "score": -0.07121063768863678 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": -0.3673512041568756 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.2268056571483612 }, "else": { "operation": "boost", "score": 0.05861598625779152 } }, "else": { "operation": "boost", "score": 0.018067626282572746 } } }, "else": { "operation": "boost", "score": 0.07594712823629379 } } }, "else": { "operation": "boost", "score": 0.05588735640048981 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.08630499243736267 }, "else": { "operation": "boost", "score": -2.334617853164673 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.006432475056499243 }, "else": { "operation": "boost", "score": 0.09393750876188278 } }, "else": { "operation": "boost", "score": 0.0027278230991214514 } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.025451533496379852 }, "else": { "operation": "boost", "score": 0.009986631572246552 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.08219082653522491 }, "else": { "operation": "boost", "score": 0.12393384426832199 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.008326399140059948 }, "else": { "operation": "boost", "score": 0.06959941238164902 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0998588502407074 }, "else": { "operation": "boost", "score": -0.036956798285245895 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7126.0, "then": { "operation": "boost", "score": -0.15128396451473236 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.00396716920658946 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.3253145217895508 }, "else": { "operation": "boost", "score": -0.08138682693243027 } } }, "else": { "operation": "boost", "score": 0.02201133593916893 } }, "else": { "operation": "boost", "score": -0.30017155408859253 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.02590089850127697 }, "else": { "operation": "boost", "score": -0.0025835814885795116 } } } } } }, "else": { "operation": "boost", "score": -0.00014565260789822787 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.19097135961055756 }, "else": { "operation": "boost", "score": -0.05306994169950485 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5982142686843872, "then": { "operation": "boost", "score": -0.07421154528856277 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0682876780629158 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.12589839100837708 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.12299036234617233 }, "else": { "operation": "boost", "score": 0.08150483667850494 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.31188902258872986 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.3117418885231018 }, "else": { "operation": "boost", "score": 0.11903754621744156 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.0722692459821701 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38181817531585693, "then": { "operation": "boost", "score": 0.055116210132837296 }, "else": { "operation": "boost", "score": 0.09410201013088226 } }, "else": { "operation": "boost", "score": -0.16894470155239105 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.003520180704072118 }, "else": { "operation": "boost", "score": -0.18921582400798798 } }, "else": { "operation": "boost", "score": 0.038685645908117294 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.06050966680049896 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06824678182601929 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02309909090399742 }, "else": { "operation": "boost", "score": -0.11099335551261902 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01374448649585247 }, "else": { "operation": "boost", "score": 0.005069504026323557 } } } } } }, "else": { "operation": "boost", "score": 0.0007693638908676803 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0009566816152073443 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.004539038520306349 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2234.0, "then": { "operation": "boost", "score": 0.02301556058228016 }, "else": { "operation": "boost", "score": -0.01777484081685543 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0057458942756056786 }, "else": { "operation": "boost", "score": -0.12587980926036835 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.027053387835621834 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.01976037584245205 }, "else": { "operation": "boost", "score": 0.09175543487071991 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09786312282085419 }, "else": { "operation": "boost", "score": 0.0038376119919121265 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.008108402602374554 }, "else": { "operation": "boost", "score": -0.10283182561397552 } } }, "else": { "operation": "boost", "score": 0.03474026545882225 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.036018241196870804 }, "else": { "operation": "boost", "score": 0.06397317349910736 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.04495181143283844 }, "else": { "operation": "boost", "score": -0.03113177791237831 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71608.5, "then": { "operation": "boost", "score": 0.1824890375137329 }, "else": { "operation": "boost", "score": -0.04719759151339531 } } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.4698115885257721 }, "else": { "operation": "boost", "score": -0.19409850239753723 } }, "else": { "operation": "boost", "score": -0.07361036539077759 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03732950612902641 }, "else": { "operation": "boost", "score": -0.0318160243332386 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.015306545421481133 }, "else": { "operation": "boost", "score": 0.06719866394996643 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004695728421211243 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.01998378522694111 }, "else": { "operation": "boost", "score": 0.05974849686026573 } }, "else": { "operation": "boost", "score": -0.00822021160274744 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03334979712963104 }, "else": { "operation": "boost", "score": -0.03799315169453621 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.062694251537323 }, "else": { "operation": "boost", "score": 0.06684665381908417 } }, "else": { "operation": "boost", "score": 0.020040661096572876 } }, "else": { "operation": "boost", "score": 0.01821235939860344 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.1367885023355484 }, "else": { "operation": "boost", "score": -0.022914614528417587 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.16217255592346191 }, "else": { "operation": "boost", "score": 0.03434860706329346 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.04556003585457802 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.06434717029333115 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.08037745952606201 }, "else": { "operation": "boost", "score": 0.03565562888979912 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.04831327125430107 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.06133405491709709 }, "else": { "operation": "boost", "score": 0.12593522667884827 } }, "else": { "operation": "boost", "score": 0.02539801225066185 } } } } } } }, "else": { "operation": "boost", "score": -0.10515747219324112 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03249618038535118 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": 0.10365908592939377 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.0205735694617033 }, "else": { "operation": "boost", "score": -0.154652938246727 } }, "else": { "operation": "boost", "score": 0.030171891674399376 } } }, "else": { "operation": "boost", "score": -0.007087789010256529 } }, "else": { "operation": "boost", "score": -0.10478688776493073 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.0195343978703022 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.045815609395504 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8888888955116272, "then": { "operation": "boost", "score": -0.46564728021621704 }, "else": { "operation": "boost", "score": 0.02107827551662922 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.036691825836896896 }, "else": { "operation": "boost", "score": 0.08872316777706146 } }, "else": { "operation": "boost", "score": -0.001314240973442793 } }, "else": { "operation": "boost", "score": -0.014796852134168148 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.09599999338388443 }, "else": { "operation": "boost", "score": -0.09652026742696762 } }, "else": { "operation": "boost", "score": -0.01248097326606512 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.22859834134578705 }, "else": { "operation": "boost", "score": 0.05262508988380432 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.18595875799655914 }, "else": { "operation": "boost", "score": -0.03739553689956665 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.0666014701128006 }, "else": { "operation": "boost", "score": 0.005093300249427557 } } } } } } } } }, "else": { "operation": "boost", "score": -0.002612990327179432 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 882.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.0, "then": { "operation": "boost", "score": 0.06913898140192032 }, "else": { "operation": "boost", "score": 0.13559606671333313 } }, "else": { "operation": "boost", "score": 0.07980038225650787 } }, "else": { "operation": "boost", "score": -0.03900943696498871 } }, "else": { "operation": "boost", "score": -0.0002716723829507828 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12304327636957169 }, "else": { "operation": "boost", "score": 0.034550610929727554 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 943.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 954.5, "then": { "operation": "boost", "score": 0.01548346970230341 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 952.5, "then": { "operation": "boost", "score": 0.18322046101093292 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 948.0, "then": { "operation": "boost", "score": -0.1390133798122406 }, "else": { "operation": "boost", "score": 0.10147099941968918 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019075820222496986 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.03198067843914032 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09941305965185165 }, "else": { "operation": "boost", "score": 0.057631660252809525 } } } }, "else": { "operation": "boost", "score": 0.03545185551047325 } }, "else": { "operation": "boost", "score": -0.001678325468674302 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.6586479544639587 }, "else": { "operation": "boost", "score": 0.3106181025505066 } }, "else": { "operation": "boost", "score": 0.02041831612586975 } }, "else": { "operation": "boost", "score": -0.009163454174995422 } } } }, "else": { "operation": "boost", "score": -0.020449763163924217 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 458944.5, "then": { "operation": "boost", "score": 0.08188340067863464 }, "else": { "operation": "boost", "score": 0.005004150792956352 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.00555049953982234 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.01600510999560356 }, "else": { "operation": "boost", "score": 0.0017189803766086698 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.005012028850615025 }, "else": { "operation": "boost", "score": -0.000916011689696461 } } } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016069352626800537 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.11173947900533676 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.07018791139125824 }, "else": { "operation": "boost", "score": 0.10723060369491577 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.0, "then": { "operation": "boost", "score": 0.10878775268793106 }, "else": { "operation": "boost", "score": 0.02224036119878292 } } }, "else": { "operation": "boost", "score": -0.6405038237571716 } } } }, "else": { "operation": "boost", "score": 0.005768056493252516 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.126866415143013 }, "else": { "operation": "boost", "score": -0.030954455956816673 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09147374331951141 }, "else": { "operation": "boost", "score": 0.006286268122494221 } }, "else": { "operation": "boost", "score": -0.06593437492847443 } } }, "else": { "operation": "boost", "score": -0.16027575731277466 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3722943663597107, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4780219793319702, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12584461271762848 }, "else": { "operation": "boost", "score": 0.11846151202917099 } }, "else": { "operation": "boost", "score": 0.00947555247694254 } }, "else": { "operation": "boost", "score": 0.10543958842754364 } }, "else": { "operation": "boost", "score": -0.1175939291715622 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.0274175014346838 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.08275974541902542 }, "else": { "operation": "boost", "score": 0.11881951987743378 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.062369950115680695 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10395807772874832 }, "else": { "operation": "boost", "score": -0.06148221716284752 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.341708779335022 }, "else": { "operation": "boost", "score": 0.02006513439118862 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.059805311262607574 }, "else": { "operation": "boost", "score": 0.10017135739326477 } } }, "else": { "operation": "boost", "score": -0.15886029601097107 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.043490976095199585 }, "else": { "operation": "boost", "score": 0.03245511278510094 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09664233773946762 }, "else": { "operation": "boost", "score": -0.0023458204232156277 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005949998740106821 }, "else": { "operation": "boost", "score": -0.1474505513906479 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.022749921306967735 }, "else": { "operation": "boost", "score": -0.13700830936431885 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10421282798051834 }, "else": { "operation": "boost", "score": -0.14511673152446747 } } } } } }, "else": { "operation": "boost", "score": 0.0024254960007965565 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0004489492566790432 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005849302746355534 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4812.0, "then": { "operation": "boost", "score": -1.7572919130325317 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.06201707944273949 }, "else": { "operation": "boost", "score": -0.06275684386491776 } } }, "else": { "operation": "boost", "score": -0.007542268838733435 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012290406972169876 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.04852517321705818 }, "else": { "operation": "boost", "score": 0.001931900973431766 } }, "else": { "operation": "boost", "score": -0.11859222501516342 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.026684341952204704 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.0, "then": { "operation": "boost", "score": 0.1191338300704956 }, "else": { "operation": "boost", "score": 0.09714923053979874 } }, "else": { "operation": "boost", "score": 0.07146166265010834 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "boost", "score": 0.011122805997729301 }, "else": { "operation": "boost", "score": -0.0061476221308112144 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0956818088889122 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.042494118213653564 }, "else": { "operation": "boost", "score": -0.7990759611129761 } }, "else": { "operation": "boost", "score": 0.004007006995379925 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.1233164593577385 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.0966123566031456 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": -0.03627915307879448 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.0, "then": { "operation": "boost", "score": 0.30623140931129456 }, "else": { "operation": "boost", "score": 0.10978518426418304 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.12529560923576355 }, "else": { "operation": "boost", "score": 0.12809839844703674 } }, "else": { "operation": "boost", "score": -0.10087589919567108 } }, "else": { "operation": "boost", "score": 0.07268539816141129 } } } } }, "else": { "operation": "boost", "score": -0.05705644562840462 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1433713734149933 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.1356637179851532 }, "else": { "operation": "boost", "score": 0.12097529321908951 } } }, "else": { "operation": "boost", "score": -0.017143461853265762 } } }, "else": { "operation": "boost", "score": -0.008316421881318092 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.08993998914957047 }, "else": { "operation": "boost", "score": 0.019410137087106705 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11081758886575699 }, "else": { "operation": "boost", "score": 0.05447147786617279 } }, "else": { "operation": "boost", "score": -0.015414971858263016 } }, "else": { "operation": "boost", "score": -0.09576379507780075 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.08766436576843262 }, "else": { "operation": "boost", "score": -0.07576968520879745 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.12483696639537811 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07950972765684128 }, "else": { "operation": "boost", "score": 0.1626531034708023 } }, "else": { "operation": "boost", "score": 0.05780541151762009 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.13931049406528473 }, "else": { "operation": "boost", "score": 0.043826013803482056 } } } } } }, "else": { "operation": "boost", "score": -0.09785770624876022 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.07970612496137619 }, "else": { "operation": "boost", "score": 0.005907642189413309 } } }, "else": { "operation": "boost", "score": -0.04163951054215431 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.01687496155500412 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.010896947234869003 }, "else": { "operation": "boost", "score": -0.017379572615027428 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01223739329725504 }, "else": { "operation": "boost", "score": -0.048393070697784424 } }, "else": { "operation": "boost", "score": 0.017098117619752884 } }, "else": { "operation": "boost", "score": 0.000395089213270694 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00034445500932633877 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02623855322599411 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06444449722766876 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.024650702252984047 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.16398277878761292 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008147562853991985 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.24238087236881256 }, "else": { "operation": "boost", "score": 0.051461149007081985 } } }, "else": { "operation": "boost", "score": 0.0056886812672019005 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "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.1697850227355957 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.09150722622871399 }, "else": { "operation": "boost", "score": 0.05914769321680069 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.07113759219646454 }, "else": { "operation": "boost", "score": -0.0357479453086853 } }, "else": { "operation": "boost", "score": 0.04632994905114174 } } } }, "else": { "operation": "boost", "score": 0.017934713512659073 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10845571011304855 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.1168825700879097 }, "else": { "operation": "boost", "score": -0.1255345344543457 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.033524688333272934 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.09006315469741821 }, "else": { "operation": "boost", "score": 0.05699494108557701 } } }, "else": { "operation": "boost", "score": 0.18539486825466156 } }, "else": { "operation": "boost", "score": 0.013871636241674423 } } } }, "else": { "operation": "boost", "score": 0.006505582481622696 } } }, "else": { "operation": "boost", "score": -0.0015645847888663411 } }, "else": { "operation": "boost", "score": -0.0026514455676078796 } } } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0023936734069138765 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07179487496614456, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.0036352071911096573 }, "else": { "operation": "boost", "score": 0.09761406481266022 } }, "else": { "operation": "boost", "score": 0.12542009353637695 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07393289357423782 }, "else": { "operation": "boost", "score": 0.014972803182899952 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12014688551425934 }, "else": { "operation": "boost", "score": 0.004839787259697914 } }, "else": { "operation": "boost", "score": -0.09477794915437698 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.11714442074298859 }, "else": { "operation": "boost", "score": 0.08090243488550186 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "boost", "score": 0.11210723966360092 }, "else": { "operation": "boost", "score": -0.025019844993948936 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176.5, "then": { "operation": "boost", "score": 0.03469441458582878 }, "else": { "operation": "boost", "score": 0.17697270214557648 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 109.5, "then": { "operation": "boost", "score": -0.32620036602020264 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.0, "then": { "operation": "boost", "score": -0.03215835615992546 }, "else": { "operation": "boost", "score": 0.13345789909362793 } }, "else": { "operation": "boost", "score": -0.07802461832761765 } }, "else": { "operation": "boost", "score": 0.09427805989980698 } } } } }, "else": { "operation": "boost", "score": -0.35606396198272705 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.34285715222358704, "then": { "operation": "boost", "score": 0.08122458308935165 }, "else": { "operation": "boost", "score": 0.0019977441988885403 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.035833511501550674 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09643833339214325 }, "else": { "operation": "boost", "score": 0.13762690126895905 } }, "else": { "operation": "boost", "score": 0.06650491803884506 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.056313976645469666 }, "else": { "operation": "boost", "score": -0.18994572758674622 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.010959500446915627 }, "else": { "operation": "boost", "score": -0.034212980419397354 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.03787824511528015 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.052840519696474075 }, "else": { "operation": "boost", "score": 0.09823383390903473 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.08563650399446487 }, "else": { "operation": "boost", "score": 0.05266236513853073 } }, "else": { "operation": "boost", "score": 0.010603108443319798 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.01718827523291111 }, "else": { "operation": "boost", "score": 0.05406845360994339 } }, "else": { "operation": "boost", "score": 0.008142282254993916 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.014474408701062202 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08784998953342438 }, "else": { "operation": "boost", "score": -0.04900076985359192 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.14853426814079285 }, "else": { "operation": "boost", "score": -0.01868933066725731 } }, "else": { "operation": "boost", "score": -0.4372553825378418 } }, "else": { "operation": "boost", "score": -0.014298654161393642 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.14949187636375427 }, "else": { "operation": "boost", "score": 0.02838829904794693 } }, "else": { "operation": "boost", "score": 0.10854696482419968 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.06198849529027939 }, "else": { "operation": "boost", "score": 0.13018269836902618 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.11707065999507904 }, "else": { "operation": "boost", "score": -0.07169853150844574 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.012463482096791267 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005144220311194658 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.02225196361541748 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.00395863875746727 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.023346323519945145 }, "else": { "operation": "boost", "score": -0.18098771572113037 } }, "else": { "operation": "boost", "score": -0.017575932666659355 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.15488660335540771 }, "else": { "operation": "boost", "score": -0.4895264804363251 } }, "else": { "operation": "boost", "score": -0.21437352895736694 } }, "else": { "operation": "boost", "score": 0.08569202572107315 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.14747647941112518 }, "else": { "operation": "boost", "score": -0.10109812766313553 } }, "else": { "operation": "boost", "score": -0.04002372920513153 } }, "else": { "operation": "boost", "score": 0.002023829845711589 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.015611646696925163 }, "else": { "operation": "boost", "score": -0.07668623328208923 } } }, "else": { "operation": "boost", "score": 0.004516717977821827 } } }, "else": { "operation": "boost", "score": -0.4186485707759857 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31650.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.8027863502502441 }, "else": { "operation": "boost", "score": -0.11412588506937027 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10989920049905777 }, "else": { "operation": "boost", "score": -0.0032268427312374115 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.07627254724502563 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12137919664382935 }, "else": { "operation": "boost", "score": 0.05889340862631798 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.2132037878036499 }, "else": { "operation": "boost", "score": 0.04047465696930885 } } } }, "else": { "operation": "boost", "score": -0.019721388816833496 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.022959206253290176 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.005928004160523415 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.13676293194293976 }, "else": { "operation": "boost", "score": 0.2206984907388687 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.006539280992001295 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.05640764907002449 }, "else": { "operation": "boost", "score": 0.05659661442041397 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.2358483523130417 }, "else": { "operation": "boost", "score": -0.0014166005421429873 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.017709804698824883 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.12257714569568634 }, "else": { "operation": "boost", "score": -0.09725379198789597 } } }, "else": { "operation": "boost", "score": -0.09243419021368027 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0007932678563520312 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.004769188817590475 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08578184247016907 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.005583953578025103 }, "else": { "operation": "boost", "score": -0.24018049240112305 } }, "else": { "operation": "boost", "score": -0.5150572657585144 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.13747663795948029 }, "else": { "operation": "boost", "score": -0.015902671962976456 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.04010014608502388 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.005376963876187801 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12731434404850006 }, "else": { "operation": "boost", "score": 0.09400618821382523 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08606245368719101 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10933471471071243 }, "else": { "operation": "boost", "score": 0.14646023511886597 } }, "else": { "operation": "boost", "score": -0.23103654384613037 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10635976493358612 }, "else": { "operation": "boost", "score": -0.1248604878783226 } }, "else": { "operation": "boost", "score": -0.10021282732486725 } } }, "else": { "operation": "boost", "score": -0.12095711380243301 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 279.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 322.0, "then": { "operation": "boost", "score": 0.08001777529716492 }, "else": { "operation": "boost", "score": 0.12738628685474396 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 122.5, "then": { "operation": "boost", "score": -0.050303418189287186 }, "else": { "operation": "boost", "score": -0.4456690847873688 } }, "else": { "operation": "boost", "score": 0.011804426088929176 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "boost", "score": -0.11704318970441818 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1447104662656784 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16685901582241058 }, "else": { "operation": "boost", "score": -0.16192422807216644 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2970588207244873, "then": { "operation": "boost", "score": 0.014478473924100399 }, "else": { "operation": "boost", "score": -1.1286030712653883e-05 } } } } } }, "else": { "operation": "boost", "score": -0.0004561660753097385 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.040935419499874115 }, "else": { "operation": "boost", "score": 0.009533368051052094 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18614718317985535, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.008987843990325928 }, "else": { "operation": "boost", "score": 0.08431673794984818 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.08349606394767761 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.03609589859843254 }, "else": { "operation": "boost", "score": 0.08997037261724472 } }, "else": { "operation": "boost", "score": -0.042201776057481766 } } } }, "else": { "operation": "boost", "score": 0.12845173478126526 } } }, "else": { "operation": "boost", "score": -0.000581488711759448 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "boost", "score": 0.007620325777679682 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.0, "then": { "operation": "boost", "score": 0.0011918003438040614 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.1052994579076767 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.1269424855709076 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.08307185024023056 }, "else": { "operation": "boost", "score": 0.13099414110183716 } } } }, "else": { "operation": "boost", "score": 0.005149543285369873 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.31111112236976624, "then": { "operation": "boost", "score": 0.21243254840373993 }, "else": { "operation": "boost", "score": 0.1264914870262146 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.14265114068984985 }, "else": { "operation": "boost", "score": -0.10556041449308395 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.1559167504310608 }, "else": { "operation": "boost", "score": 0.06629685312509537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.10217153280973434 }, "else": { "operation": "boost", "score": 0.3516521453857422 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.11428362131118774 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.07760509103536606 }, "else": { "operation": "boost", "score": 0.2116803526878357 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.2940122187137604 }, "else": { "operation": "boost", "score": -0.22034068405628204 } } } } }, "else": { "operation": "boost", "score": -0.17619606852531433 } }, "else": { "operation": "boost", "score": 0.01492992788553238 } }, "else": { "operation": "boost", "score": 0.03033219464123249 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07042773067951202 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08916940540075302 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.013177214190363884 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11599990725517273 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.0, "then": { "operation": "boost", "score": -0.049125563353300095 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05536012724041939 }, "else": { "operation": "boost", "score": 0.12610803544521332 } }, "else": { "operation": "boost", "score": -0.0892113745212555 } }, "else": { "operation": "boost", "score": 0.06183479353785515 } } } }, "else": { "operation": "boost", "score": 0.05112472176551819 } } } }, "else": { "operation": "boost", "score": 0.014969650655984879 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87.5, "then": { "operation": "boost", "score": 0.15063460171222687 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07325243949890137 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.20195864140987396 }, "else": { "operation": "boost", "score": -0.02440602146089077 } } }, "else": { "operation": "boost", "score": 0.1503009796142578 } }, "else": { "operation": "boost", "score": 0.04375426098704338 } } }, "else": { "operation": "boost", "score": -0.009936350397765636 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.1292262226343155 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.0, "then": { "operation": "boost", "score": 0.10776345431804657 }, "else": { "operation": "boost", "score": 0.1016918420791626 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.44257381558418274 }, "else": { "operation": "boost", "score": -0.01435721293091774 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.011541541665792465 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.08942238241434097 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02695496194064617 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.32009291648864746 }, "else": { "operation": "boost", "score": -0.017638683319091797 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11135905236005783 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": 0.07927703857421875 }, "else": { "operation": "boost", "score": 0.021025720983743668 } }, "else": { "operation": "boost", "score": -0.1471971869468689 } }, "else": { "operation": "boost", "score": -0.004108244553208351 } } }, "else": { "operation": "boost", "score": -0.9297444224357605 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 227.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.46434369683265686 }, "else": { "operation": "boost", "score": 0.033303938806056976 } }, "else": { "operation": "boost", "score": -0.6885370016098022 } }, "else": { "operation": "boost", "score": 0.02190626785159111 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259.5, "then": { "operation": "boost", "score": -0.20367278158664703 }, "else": { "operation": "boost", "score": -0.006630588788539171 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "boost", "score": 0.029213888570666313 }, "else": { "operation": "boost", "score": 0.00802908930927515 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -3.192453145980835 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13942307233810425, "then": { "operation": "boost", "score": -0.05240829661488533 }, "else": { "operation": "boost", "score": 0.1265980303287506 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.12327428162097931 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.16842664778232574 }, "else": { "operation": "boost", "score": -0.6300734877586365 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.06350620090961456 }, "else": { "operation": "boost", "score": 0.13605773448944092 } }, "else": { "operation": "boost", "score": 0.009425912983715534 } } } }, "else": { "operation": "boost", "score": 0.029982034116983414 } }, "else": { "operation": "boost", "score": 0.004019299056380987 } }, "else": { "operation": "boost", "score": -0.011328726075589657 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Expression" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.010162760503590107 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10218507051467896 }, "else": { "operation": "boost", "score": -0.20295628905296326 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.015458962880074978 }, "else": { "operation": "boost", "score": 0.09808187931776047 } } }, "else": { "operation": "boost", "score": -0.05467453971505165 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14971162378787994 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": -0.03753180429339409 }, "else": { "operation": "boost", "score": 0.10136879235506058 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.07349462062120438 }, "else": { "operation": "boost", "score": -0.0061818077228963375 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12793231010437012 }, "else": { "operation": "boost", "score": 0.01778516359627247 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.01910940371453762 }, "else": { "operation": "boost", "score": 0.09057392179965973 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.08494862914085388 }, "else": { "operation": "boost", "score": -0.20364828407764435 } } }, "else": { "operation": "boost", "score": 0.11771223694086075 } }, "else": { "operation": "boost", "score": 0.0011509853648021817 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04774262756109238 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.10416953265666962 }, "else": { "operation": "boost", "score": -0.17122940719127655 } } }, "else": { "operation": "boost", "score": -0.000348642555763945 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.18030481040477753 }, "else": { "operation": "boost", "score": -0.09843675792217255 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016633305698633194 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.134978249669075 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "boost", "score": -0.004827295895665884 }, "else": { "operation": "boost", "score": 0.09684329479932785 } } }, "else": { "operation": "boost", "score": -0.136802539229393 } }, "else": { "operation": "boost", "score": 0.0014296574518084526 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.2179282009601593 }, "else": { "operation": "boost", "score": -0.025112763047218323 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.09126845002174377 }, "else": { "operation": "boost", "score": 0.061176691204309464 } } }, "else": { "operation": "boost", "score": 0.01722889207303524 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00803742092102766 }, "else": { "operation": "boost", "score": -0.11171837151050568 } } } } }, "else": { "operation": "boost", "score": 0.0005870084860362113 } }, "else": { "operation": "boost", "score": -0.09124784916639328 } } } } }, "else": { "operation": "boost", "score": -0.09406394511461258 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195234.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 245728.5, "then": { "operation": "boost", "score": -0.23462611436843872 }, "else": { "operation": "boost", "score": 0.08226261287927628 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132310.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.7532874345779419 }, "else": { "operation": "boost", "score": -0.25537431240081787 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 107411.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123410.5, "then": { "operation": "boost", "score": 0.12539398670196533 }, "else": { "operation": "boost", "score": -0.13638193905353546 } }, "else": { "operation": "boost", "score": 0.06537142395973206 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2752525210380554, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04646608978509903 }, "else": { "operation": "boost", "score": -0.021474678069353104 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.3623816668987274 }, "else": { "operation": "boost", "score": -0.010647068731486797 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.052454087883234024 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.07431089133024216 }, "else": { "operation": "boost", "score": 0.014389673247933388 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05438344180583954 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.13381344079971313 }, "else": { "operation": "boost", "score": -0.029935065656900406 } }, "else": { "operation": "boost", "score": -0.36074888706207275 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.00046089591342024505 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.12856066226959229 }, "else": { "operation": "boost", "score": -0.1156025156378746 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.0817093625664711 }, "else": { "operation": "boost", "score": -0.024425992742180824 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.010547208599746227 }, "else": { "operation": "boost", "score": -0.027221238240599632 } } } }, "else": { "operation": "boost", "score": 0.002679207129403949 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.037610866129398346 }, "else": { "operation": "boost", "score": 0.10854913294315338 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.6169354915618896 }, "else": { "operation": "boost", "score": 0.1354673206806183 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119.0, "then": { "operation": "boost", "score": -0.13865923881530762 }, "else": { "operation": "boost", "score": 0.019620392471551895 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15581050515174866 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.061307068914175034 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.0024414199870079756 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.11014396697282791 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.061930395662784576 }, "else": { "operation": "boost", "score": 0.09124241769313812 } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.024337144568562508 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.2712242901325226 }, "else": { "operation": "boost", "score": 0.07591740787029266 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008589666336774826 }, "else": { "operation": "boost", "score": -0.034798718988895416 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03125, "then": { "operation": "boost", "score": 0.018734483048319817 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1116.5, "then": { "operation": "boost", "score": 0.012241164222359657 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.10049274563789368 }, "else": { "operation": "boost", "score": 0.1298830360174179 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.04569248855113983 }, "else": { "operation": "boost", "score": -0.0931900292634964 } }, "else": { "operation": "boost", "score": 0.09213025122880936 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.059822868555784225 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01442671101540327 }, "else": { "operation": "boost", "score": 0.08987148851156235 } }, "else": { "operation": "boost", "score": 0.09336844831705093 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.16799312829971313 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.0, "then": { "operation": "boost", "score": -0.1796569526195526 }, "else": { "operation": "boost", "score": -2.181929111480713 } }, "else": { "operation": "boost", "score": -0.16595707833766937 } } }, "else": { "operation": "boost", "score": 0.021356020122766495 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.30208542943000793 }, "else": { "operation": "boost", "score": 0.03537433221936226 } }, "else": { "operation": "boost", "score": 0.04006754979491234 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.09459325671195984 }, "else": { "operation": "boost", "score": 0.02954268828034401 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": 0.16240674257278442 }, "else": { "operation": "boost", "score": -0.11939654499292374 } }, "else": { "operation": "boost", "score": 0.01104403380304575 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": -0.09409070014953613 }, "else": { "operation": "boost", "score": 0.05026036128401756 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.14989382028579712 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.08775847405195236 }, "else": { "operation": "boost", "score": -0.12388940900564194 } }, "else": { "operation": "boost", "score": 0.06771861016750336 } } } }, "else": { "operation": "boost", "score": -0.7012214660644531 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "boost", "score": 0.06740076094865799 }, "else": { "operation": "boost", "score": -0.3477479815483093 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": 0.11990141123533249 }, "else": { "operation": "boost", "score": 0.054465651512145996 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.011200747452676296 }, "else": { "operation": "boost", "score": -0.6314622759819031 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.02546328492462635 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14279456436634064 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.05691658332943916 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.1490122675895691 }, "else": { "operation": "boost", "score": -0.6398957371711731 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 66.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.5, "then": { "operation": "boost", "score": 0.06333131343126297 }, "else": { "operation": "boost", "score": 0.10726804286241531 } }, "else": { "operation": "boost", "score": 0.00619496451690793 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.03894590586423874 }, "else": { "operation": "boost", "score": -0.6201540231704712 } }, "else": { "operation": "boost", "score": 0.12950149178504944 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11571872234344482 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.15589961409568787 }, "else": { "operation": "boost", "score": 0.015184520743787289 } } } } } }, "else": { "operation": "boost", "score": -0.21585331857204437 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.06441908329725266 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.007781712803989649 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17142857611179352, "then": { "operation": "boost", "score": -0.32367175817489624 }, "else": { "operation": "boost", "score": 0.14912641048431396 } } } }, "else": { "operation": "boost", "score": -0.05774294584989548 } }, "else": { "operation": "boost", "score": -0.12278439849615097 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12042666226625443 }, "else": { "operation": "boost", "score": 0.10741671919822693 } }, "else": { "operation": "boost", "score": 0.03717067092657089 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.003659683745354414 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12705089151859283 }, "else": { "operation": "boost", "score": -0.10264649242162704 } }, "else": { "operation": "boost", "score": -0.14125990867614746 } }, "else": { "operation": "boost", "score": -0.2590993046760559 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.09639633446931839 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.14202336966991425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.006500485818833113 }, "else": { "operation": "boost", "score": -0.12505871057510376 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.16313885152339935 }, "else": { "operation": "boost", "score": 0.0004054139426443726 } } } } } } }, "else": { "operation": "boost", "score": 0.0070806704461574554 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0016521790530532598 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.014171992428600788 }, "else": { "operation": "boost", "score": -0.02258406952023506 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 440.0, "then": { "operation": "boost", "score": 0.10429558157920837 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.03205511346459389 }, "else": { "operation": "boost", "score": 0.04887514188885689 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.015389584004878998 }, "else": { "operation": "boost", "score": 0.008346988819539547 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0029440410435199738 }, "else": { "operation": "boost", "score": 0.02054184302687645 } } } } } } }, "else": { "operation": "boost", "score": -0.12611067295074463 } } } }, "else": { "operation": "boost", "score": -0.00014373898738995194 } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.07387746125459671 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": 0.18319617211818695 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.23443906009197235 }, "else": { "operation": "boost", "score": 0.21368153393268585 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.06976243108510971 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.17433467507362366 }, "else": { "operation": "boost", "score": 0.2203027904033661 } }, "else": { "operation": "boost", "score": 0.0664755254983902 } } }, "else": { "operation": "boost", "score": -0.10986989736557007 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.12023665010929108 }, "else": { "operation": "boost", "score": -0.07479357719421387 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.04718611389398575 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.1803392469882965 }, "else": { "operation": "boost", "score": 0.07640504837036133 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11255067586898804 }, "else": { "operation": "boost", "score": -0.12976481020450592 } }, "else": { "operation": "boost", "score": -0.5813613533973694 } }, "else": { "operation": "boost", "score": 0.09250286221504211 } }, "else": { "operation": "boost", "score": -0.31775882840156555 } } }, "else": { "operation": "boost", "score": 0.3755891025066376 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.076621413230896 }, "else": { "operation": "boost", "score": -0.021237842738628387 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08380327373743057 }, "else": { "operation": "boost", "score": 0.004547647200524807 } }, "else": { "operation": "boost", "score": -0.06328992545604706 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.08302593231201172 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.05776000767946243 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.039640121161937714 }, "else": { "operation": "boost", "score": 0.014405385591089725 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.0902586579322815 }, "else": { "operation": "boost", "score": -0.06785425543785095 } }, "else": { "operation": "boost", "score": -0.1122840940952301 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0023251702077686787 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.07934573292732239 }, "else": { "operation": "boost", "score": 0.12532153725624084 } }, "else": { "operation": "boost", "score": 0.04460955038666725 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016036611050367355 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.06703820824623108 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.07839348912239075 }, "else": { "operation": "boost", "score": 0.04220842942595482 } } }, "else": { "operation": "boost", "score": 0.034630514681339264 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3369.5, "then": { "operation": "boost", "score": 0.02676590345799923 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07179487496614456, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 153.0, "then": { "operation": "boost", "score": 0.19229644536972046 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.046524111181497574 }, "else": { "operation": "boost", "score": -0.09509819000959396 } } }, "else": { "operation": "boost", "score": 0.06820198148488998 } }, "else": { "operation": "boost", "score": -0.6634150147438049 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.1144154742360115 }, "else": { "operation": "boost", "score": -0.7759310603141785 } }, "else": { "operation": "boost", "score": 0.04120289161801338 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.06900434195995331 }, "else": { "operation": "boost", "score": 0.0011402418604120612 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.17590242624282837 }, "else": { "operation": "boost", "score": 0.03595633804798126 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.3410343825817108 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0637090876698494 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14558200538158417 }, "else": { "operation": "boost", "score": 0.10741616040468216 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11030615866184235 }, "else": { "operation": "boost", "score": 0.13757382333278656 } }, "else": { "operation": "boost", "score": -0.03384235501289368 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.060934290289878845 }, "else": { "operation": "boost", "score": -0.9224581122398376 } }, "else": { "operation": "boost", "score": 0.07081438601016998 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.01811552606523037 }, "else": { "operation": "boost", "score": 0.1501011997461319 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.11965915560722351 }, "else": { "operation": "boost", "score": -0.005075254011899233 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": -0.01629951223731041 }, "else": { "operation": "boost", "score": 0.13772785663604736 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06692445278167725 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.1292629837989807 }, "else": { "operation": "boost", "score": 0.03221553564071655 } } } }, "else": { "operation": "boost", "score": 0.003055540844798088 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.08369428664445877 }, "else": { "operation": "boost", "score": 0.035655491054058075 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11654140800237656 }, "else": { "operation": "boost", "score": -0.18253254890441895 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02650037221610546 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.11038614064455032 }, "else": { "operation": "boost", "score": -0.010832400992512703 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.125234454870224 }, "else": { "operation": "boost", "score": -0.11010566353797913 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.6229572296142578 }, "else": { "operation": "boost", "score": -0.10580018907785416 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 304083.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 768345.5, "then": { "operation": "boost", "score": 0.11918766796588898 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.36379528045654297 }, "else": { "operation": "boost", "score": 0.01276054885238409 } } }, "else": { "operation": "boost", "score": -0.03134969249367714 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17326.5, "then": { "operation": "boost", "score": 0.017972704023122787 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16469.0, "then": { "operation": "boost", "score": -0.7482934594154358 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.06307145208120346 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.004922092892229557 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11490678042173386 }, "else": { "operation": "boost", "score": 0.10772676020860672 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13188302516937256 }, "else": { "operation": "boost", "score": -0.4337118864059448 } }, "else": { "operation": "boost", "score": -0.021765490993857384 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02534254640340805 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": -0.6561558842658997 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.09774956852197647 }, "else": { "operation": "boost", "score": 0.12173520773649216 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.10203276574611664 }, "else": { "operation": "boost", "score": 0.04144538566470146 } }, "else": { "operation": "boost", "score": 0.025565672665834427 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 175.0, "then": { "operation": "boost", "score": 0.048342470079660416 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "boost", "score": -0.28476592898368835 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.00021425083104986697 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.25123390555381775 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": -0.24619022011756897 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1328791379928589 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1544123888015747 }, "else": { "operation": "boost", "score": -0.05546201765537262 } } }, "else": { "operation": "boost", "score": -0.007209479808807373 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.14356952905654907 }, "else": { "operation": "boost", "score": -0.013235644437372684 } }, "else": { "operation": "boost", "score": -0.11890233308076859 } } } } }, "else": { "operation": "boost", "score": 0.007395100314170122 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16677415370941162 }, "else": { "operation": "boost", "score": 0.05756356567144394 } }, "else": { "operation": "boost", "score": -0.02861224301159382 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.05482359975576401 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.1283283233642578 }, "else": { "operation": "boost", "score": -0.183660626411438 } } }, "else": { "operation": "boost", "score": -0.13418367505073547 } }, "else": { "operation": "boost", "score": -0.1115562915802002 } } }, "else": { "operation": "boost", "score": -0.012310924008488655 } }, "else": { "operation": "boost", "score": -8.324447117047384e-05 } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.07128550112247467 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": 0.18521267175674438 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.15150751173496246 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.0028417420107871294 }, "else": { "operation": "boost", "score": 0.1894560307264328 } }, "else": { "operation": "boost", "score": -0.06461894512176514 } } } }, "else": { "operation": "boost", "score": -0.05145297944545746 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.18211033940315247 }, "else": { "operation": "boost", "score": 0.19563716650009155 } }, "else": { "operation": "boost", "score": 0.04487187787890434 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.10835906118154526 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01610437221825123 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.04092175513505936 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.11332927644252777 }, "else": { "operation": "boost", "score": -0.22274288535118103 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.06770483404397964 }, "else": { "operation": "boost", "score": -0.019344504922628403 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.024985849857330322 }, "else": { "operation": "boost", "score": 0.0024406127631664276 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5590277910232544, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.07493839412927628 }, "else": { "operation": "boost", "score": 0.14124920964241028 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.012149897404015064 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.12079812586307526 }, "else": { "operation": "boost", "score": -0.1048375815153122 } }, "else": { "operation": "boost", "score": 0.02785797044634819 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2752525210380554, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09638497978448868 }, "else": { "operation": "boost", "score": 0.00905695278197527 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 80.5, "then": { "operation": "boost", "score": 0.10982731729745865 }, "else": { "operation": "boost", "score": -0.01582574099302292 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.007009149994701147 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.1032308042049408 }, "else": { "operation": "boost", "score": -0.2746085524559021 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.12555323541164398 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.10887037962675095 }, "else": { "operation": "boost", "score": 0.16267284750938416 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.06476277858018875 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.18852218985557556 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.005376605782657862 }, "else": { "operation": "boost", "score": 0.12276171147823334 } }, "else": { "operation": "boost", "score": 0.03321918845176697 } } } } } } } }, "else": { "operation": "boost", "score": 0.037079401314258575 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.002293594414368272 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.21855397522449493 }, "else": { "operation": "boost", "score": -0.10116057842969894 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.006581497378647327 }, "else": { "operation": "boost", "score": 0.08567014336585999 } } } } } }, "else": { "operation": "boost", "score": -0.02872585877776146 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15045495331287384 }, "else": { "operation": "boost", "score": 0.11385831236839294 } }, "else": { "operation": "boost", "score": 0.020340178161859512 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01912982389330864 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "boost", "score": -0.19021378457546234 }, "else": { "operation": "boost", "score": 0.07117893546819687 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.055365778505802155 }, "else": { "operation": "boost", "score": 0.19766934216022491 } }, "else": { "operation": "boost", "score": 0.08225294947624207 } }, "else": { "operation": "boost", "score": -0.30694714188575745 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09403527528047562 }, "else": { "operation": "boost", "score": -0.20629161596298218 } }, "else": { "operation": "boost", "score": -0.017778819426894188 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0357237383723259 }, "else": { "operation": "boost", "score": -0.009482743218541145 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Operator" ], "then": { "operation": "boost", "score": 0.03348710760474205 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.02015146054327488 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.037757519632577896 }, "else": { "operation": "boost", "score": -0.18356336653232574 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06052621826529503 }, "else": { "operation": "boost", "score": 0.0426308810710907 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.11646933853626251 }, "else": { "operation": "boost", "score": -0.05212235450744629 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1819852888584137, "then": { "operation": "boost", "score": 0.02934025414288044 }, "else": { "operation": "boost", "score": -0.5126950740814209 } }, "else": { "operation": "boost", "score": -0.0038909141439944506 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": 0.0584319531917572 }, "else": { "operation": "boost", "score": 0.10772497206926346 } }, "else": { "operation": "boost", "score": -0.0022501349449157715 } }, "else": { "operation": "boost", "score": -0.042123597115278244 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "boost", "score": 0.10789617151021957 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": -0.17342890799045563 }, "else": { "operation": "boost", "score": 0.033964380621910095 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.1537722498178482 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.04366285726428032 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07335149496793747 }, "else": { "operation": "boost", "score": 0.11988359689712524 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7250000238418579, "then": { "operation": "boost", "score": -1.63064706325531 }, "else": { "operation": "boost", "score": -0.025935404002666473 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.4389355182647705 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4305555522441864, "then": { "operation": "boost", "score": 0.07605664432048798 }, "else": { "operation": "boost", "score": -0.03305544704198837 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06349124014377594 }, "else": { "operation": "boost", "score": -0.22372175753116608 } }, "else": { "operation": "boost", "score": 0.11699933558702469 } }, "else": { "operation": "boost", "score": 0.06756901741027832 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17179693281650543 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.07606672495603561 }, "else": { "operation": "boost", "score": -0.21277792751789093 } }, "else": { "operation": "boost", "score": 0.048496875911951065 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11786769330501556 }, "else": { "operation": "boost", "score": 0.04296271875500679 } }, "else": { "operation": "boost", "score": -0.004220801405608654 } } } } }, "else": { "operation": "boost", "score": -0.014850818552076817 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.009508082643151283 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.031625788658857346 }, "else": { "operation": "boost", "score": 0.036055877804756165 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0776815265417099 }, "else": { "operation": "boost", "score": 0.1244947537779808 } }, "else": { "operation": "boost", "score": 0.018756110221147537 } }, "else": { "operation": "boost", "score": 0.05738869681954384 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.011716301552951336 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.06061749532818794 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.08091767877340317 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.12490499019622803 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04176581650972366 }, "else": { "operation": "boost", "score": 0.16840475797653198 } } }, "else": { "operation": "boost", "score": -0.03598840534687042 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": 0.011411257088184357 }, "else": { "operation": "boost", "score": 0.1008872240781784 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.03730209916830063 }, "else": { "operation": "boost", "score": 0.03691767156124115 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.023401794955134392 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.2663816213607788 }, "else": { "operation": "boost", "score": -0.08759929984807968 } }, "else": { "operation": "boost", "score": -0.016465436667203903 } } }, "else": { "operation": "boost", "score": -0.02593507617712021 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3775.5, "then": { "operation": "boost", "score": 0.0698801800608635 }, "else": { "operation": "boost", "score": 0.0025992807932198048 } } }, "else": { "operation": "boost", "score": -0.004202173091471195 } } } }, "else": { "operation": "boost", "score": -0.00022224019630812109 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.0015182921197265387 }, "else": { "operation": "boost", "score": -0.02775740623474121 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13543497025966644 }, "else": { "operation": "boost", "score": 0.02707040309906006 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2390.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6708.0, "then": { "operation": "boost", "score": -3.874232334055705e-06 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6494.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6604.5, "then": { "operation": "boost", "score": 0.11426930129528046 }, "else": { "operation": "boost", "score": 0.1367977410554886 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11392082273960114 }, "else": { "operation": "boost", "score": 0.06227399781346321 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.1337660253047943 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6652.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1423722803592682 }, "else": { "operation": "boost", "score": 0.13054975867271423 } }, "else": { "operation": "boost", "score": -0.05327189341187477 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.6605071425437927 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.3358222544193268 }, "else": { "operation": "boost", "score": 0.06328912824392319 } } }, "else": { "operation": "boost", "score": 0.05486714094877243 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06281501054763794, "then": { "operation": "boost", "score": 0.09090439975261688 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6388.5, "then": { "operation": "boost", "score": 0.09062378853559494 }, "else": { "operation": "boost", "score": 0.1039302796125412 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2533.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2814.0, "then": { "operation": "boost", "score": -0.05716109648346901 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10101009905338287, "then": { "operation": "boost", "score": 0.06989220529794693 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2722.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2734.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.021351903676986694 }, "else": { "operation": "boost", "score": -1.7968758344650269 } }, "else": { "operation": "boost", "score": -2.478522777557373 } }, "else": { "operation": "boost", "score": -0.07326314598321915 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.03330662474036217 }, "else": { "operation": "boost", "score": -0.35621580481529236 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.07146667689085007 }, "else": { "operation": "boost", "score": 0.12270418554544449 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2476.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3370.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5339.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6008.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6106.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.04797689989209175 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6374.5, "then": { "operation": "boost", "score": -0.10791786015033722 }, "else": { "operation": "boost", "score": 0.13799159228801727 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1437888741493225 }, "else": { "operation": "boost", "score": 0.11265795677900314 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.1406605988740921 }, "else": { "operation": "boost", "score": 0.17535671591758728 } }, "else": { "operation": "boost", "score": 0.12981726229190826 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.011228172108530998 }, "else": { "operation": "boost", "score": -2.1979475021362305 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5294.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.1006784588098526 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.1297450065612793 }, "else": { "operation": "boost", "score": 0.10366339981555939 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.05397460609674454 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.05150702968239784 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4124.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4166.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.1571211814880371 }, "else": { "operation": "boost", "score": 0.10068019479513168 } }, "else": { "operation": "boost", "score": -0.021071521565318108 } }, "else": { "operation": "boost", "score": 0.14535902440547943 } }, "else": { "operation": "boost", "score": 0.016482418403029442 } }, "else": { "operation": "boost", "score": -0.014595367945730686 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3351.5, "then": { "operation": "boost", "score": -0.27632394433021545 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2550.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.04129726439714432 }, "else": { "operation": "boost", "score": 0.8549372553825378 } }, "else": { "operation": "boost", "score": 0.12668997049331665 } }, "else": { "operation": "boost", "score": 0.06881655007600784 } }, "else": { "operation": "boost", "score": -0.027818752452731133 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2474.0, "then": { "operation": "boost", "score": 0.1367071568965912 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10314103960990906 }, "else": { "operation": "boost", "score": -0.005811640061438084 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2943.0, "then": { "operation": "boost", "score": 0.04109447821974754 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2535.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2694.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.1436345875263214 }, "else": { "operation": "boost", "score": 0.14271579682826996 } }, "else": { "operation": "boost", "score": -0.07253601402044296 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "boost", "score": 0.12645301222801208 }, "else": { "operation": "boost", "score": -0.10010379552841187 } } }, "else": { "operation": "boost", "score": 0.14758066833019257 } } }, "else": { "operation": "boost", "score": -0.004486845340579748 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.06747034937143326 }, "else": { "operation": "boost", "score": 0.026772823184728622 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13235.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13324.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16817.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18769.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19345.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27874.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29053.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29460.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32671.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40902.5, "then": { "operation": "boost", "score": -0.006687142886221409 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40078.5, "then": { "operation": "boost", "score": 0.11102434992790222 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "boost", "score": -0.18423229455947876 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": 0.04385150969028473 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.10637932270765305 }, "else": { "operation": "boost", "score": 0.14446015655994415 } } }, "else": { "operation": "boost", "score": -0.021310560405254364 } } } } }, "else": { "operation": "boost", "score": -0.1377364993095398 } }, "else": { "operation": "boost", "score": 0.09323474019765854 } }, "else": { "operation": "boost", "score": -0.36767733097076416 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28604.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28939.5, "then": { "operation": "boost", "score": 0.08176694065332413 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.15568190813064575 }, "else": { "operation": "boost", "score": 0.15265198051929474 } } }, "else": { "operation": "boost", "score": 0.023858169093728065 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20345.0, "then": { "operation": "boost", "score": -0.06815442442893982 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1200193390250206 }, "else": { "operation": "boost", "score": 0.03971268981695175 } }, "else": { "operation": "boost", "score": -0.003887808881700039 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.12650124728679657 }, "else": { "operation": "boost", "score": 0.16761577129364014 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18885.0, "then": { "operation": "boost", "score": -0.17799849808216095 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.11293952167034149 }, "else": { "operation": "boost", "score": -0.011831436306238174 } } } } }, "else": { "operation": "boost", "score": -0.1381049007177353 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13805.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15565.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15687.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16793.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.13649584352970123 }, "else": { "operation": "boost", "score": -0.040926188230514526 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.07771372050046921 }, "else": { "operation": "boost", "score": -0.13674096763134003 } } }, "else": { "operation": "boost", "score": 0.08950873464345932 } }, "else": { "operation": "boost", "score": -0.056149598211050034 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11736533045768738 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11553268134593964 }, "else": { "operation": "boost", "score": -0.13093720376491547 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14176.0, "then": { "operation": "boost", "score": -0.1866273283958435 }, "else": { "operation": "boost", "score": 0.09888190776109695 } } } }, "else": { "operation": "boost", "score": -0.03721986711025238 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.16906419396400452 }, "else": { "operation": "boost", "score": 0.22005346417427063 } }, "else": { "operation": "boost", "score": -0.10892517864704132 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06810490787029266 }, "else": { "operation": "boost", "score": -0.0033267736434936523 } } }, "else": { "operation": "boost", "score": -0.11279362440109253 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.00697467103600502 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8161.0, "then": { "operation": "boost", "score": 0.009343365207314491 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7457.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7813.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8150.0, "then": { "operation": "boost", "score": 0.15158778429031372 }, "else": { "operation": "boost", "score": -0.01630363240838051 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7731.5, "then": { "operation": "boost", "score": 0.15032565593719482 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7661.5, "then": { "operation": "boost", "score": -0.0995996817946434 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.07621867954730988 }, "else": { "operation": "boost", "score": 0.1383035033941269 } } } } }, "else": { "operation": "boost", "score": 0.030124586075544357 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.03886666148900986 }, "else": { "operation": "boost", "score": -0.08134359866380692 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2368.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.12450715154409409 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.47089213132858276 }, "else": { "operation": "boost", "score": -0.10664258897304535 } }, "else": { "operation": "boost", "score": -0.09294426441192627 } } }, "else": { "operation": "boost", "score": -0.0003398969420231879 } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01936095952987671 }, "else": { "operation": "boost", "score": 0.0040427870117127895 } }, "else": { "operation": "boost", "score": -0.021863743662834167 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.027394382283091545 }, "else": { "operation": "boost", "score": -0.0027056222315877676 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.8485381603240967 }, "else": { "operation": "boost", "score": 0.0784241259098053 } }, "else": { "operation": "boost", "score": 0.12158642709255219 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.03383218124508858 }, "else": { "operation": "boost", "score": -0.06338576227426529 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.10666576772928238 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.023904383182525635 }, "else": { "operation": "boost", "score": -0.13939835131168365 } }, "else": { "operation": "boost", "score": 0.12282302975654602 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 365.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 385.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08776383846998215 }, "else": { "operation": "boost", "score": -0.13985460996627808 } }, "else": { "operation": "boost", "score": -1.0542540550231934 } }, "else": { "operation": "boost", "score": -0.015675639733672142 } }, "else": { "operation": "boost", "score": -0.2446300983428955 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.006928531918674707 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3682255744934082 }, "else": { "operation": "boost", "score": -0.008105081506073475 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.018518518656492233, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005238381680101156 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.05972979590296745 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.047779109328985214 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10356276482343674 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.10275030136108398 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005799292586743832 }, "else": { "operation": "boost", "score": -0.06384143233299255 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.05316401645541191 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.042431846261024475 }, "else": { "operation": "boost", "score": -0.08560650795698166 } } } } }, "else": { "operation": "boost", "score": -0.07001741230487823 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.028370654210448265 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001902248477563262 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07124879956245422 }, "else": { "operation": "boost", "score": 0.020272042602300644 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016102192923426628 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.07316364347934723 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0981588289141655 }, "else": { "operation": "boost", "score": -0.012093956582248211 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07735264301300049 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.06540066003799438 }, "else": { "operation": "boost", "score": 0.10615776479244232 } }, "else": { "operation": "boost", "score": 0.05000218749046326 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.00948649737983942 }, "else": { "operation": "boost", "score": 0.10513680428266525 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019271621480584145 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06560314446687698 }, "else": { "operation": "boost", "score": 0.10810854285955429 } }, "else": { "operation": "boost", "score": -0.054789211601018906 } }, "else": { "operation": "boost", "score": -0.02546512894332409 } } } }, "else": { "operation": "boost", "score": -0.020593145862221718 } } } }, "else": { "operation": "boost", "score": 0.08598975837230682 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8541666269302368, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.08363334834575653 }, "else": { "operation": "boost", "score": -0.06460016220808029 } }, "else": { "operation": "boost", "score": -0.42723432183265686 } }, "else": { "operation": "boost", "score": 0.03718556836247444 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0775347650051117 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.10312934964895248 }, "else": { "operation": "boost", "score": -0.25414830446243286 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11427266895771027 }, "else": { "operation": "boost", "score": -0.08900338411331177 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12269314378499985 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.03617284446954727 }, "else": { "operation": "boost", "score": 0.08710368722677231 } }, "else": { "operation": "boost", "score": -0.028459656983613968 } } }, "else": { "operation": "boost", "score": 0.087054543197155 } }, "else": { "operation": "boost", "score": 0.005270833615213633 } }, "else": { "operation": "boost", "score": 0.016734670847654343 } } } }, "else": { "operation": "boost", "score": 0.10969644784927368 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.019829943776130676 }, "else": { "operation": "boost", "score": 0.002945809857919812 } }, "else": { "operation": "boost", "score": -0.1438738852739334 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.0009173642029054463 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": 0.036549389362335205 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.06712494790554047 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.05604347586631775 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.27932724356651306 }, "else": { "operation": "boost", "score": 0.0148008419200778 } }, "else": { "operation": "boost", "score": 0.04808541387319565 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": -0.04338842257857323 }, "else": { "operation": "boost", "score": 0.05871729180216789 } } }, "else": { "operation": "boost", "score": -0.027369387447834015 } } }, "else": { "operation": "boost", "score": 0.018457861617207527 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.013038813136518002 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.0, "then": { "operation": "boost", "score": -0.6216436624526978 }, "else": { "operation": "boost", "score": -0.08112737536430359 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.018892919644713402 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0839160829782486, "then": { "operation": "boost", "score": 0.3084905445575714 }, "else": { "operation": "boost", "score": -0.057741858065128326 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.038555167615413666 }, "else": { "operation": "boost", "score": 0.10882753878831863 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": 0.14212140440940857 }, "else": { "operation": "boost", "score": 0.02790191024541855 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16206.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94786.0, "then": { "operation": "boost", "score": 0.0014118080725893378 }, "else": { "operation": "boost", "score": -0.10097400844097137 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7946.0, "then": { "operation": "boost", "score": 0.08419424295425415 }, "else": { "operation": "boost", "score": 0.0055386065505445 } } }, "else": { "operation": "boost", "score": -0.03316589072346687 } } } }, "else": { "operation": "boost", "score": 0.025468936190009117 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5230.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013848211616277695 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.022534204646945 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10628576576709747 }, "else": { "operation": "boost", "score": 0.10743087530136108 } }, "else": { "operation": "boost", "score": 0.11662889271974564 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.013118123635649681 }, "else": { "operation": "boost", "score": 0.03755487501621246 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 269.0, "then": { "operation": "boost", "score": -0.2010090947151184 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0008764421218074858 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.31674981117248535 }, "else": { "operation": "boost", "score": -0.5668542385101318 } }, "else": { "operation": "boost", "score": -0.07313496619462967 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.5984421968460083 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.003977784421294928 }, "else": { "operation": "boost", "score": -0.06119612976908684 } } } } } } } } }, "else": { "operation": "boost", "score": 0.010166878812015057 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": 0.00848524272441864 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23188.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.009427987970411777 }, "else": { "operation": "boost", "score": -0.14167682826519012 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21951.5, "then": { "operation": "boost", "score": 0.12034722417593002 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0015964774647727609 }, "else": { "operation": "boost", "score": 0.012698935344815254 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057259451597929, "then": { "operation": "boost", "score": 0.004842444323003292 }, "else": { "operation": "boost", "score": -0.03025197796523571 } }, "else": { "operation": "boost", "score": -0.022734418511390686 } } }, "else": { "operation": "boost", "score": -0.009737391956150532 } } } }, "else": { "operation": "boost", "score": 0.00023052006145007908 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04926171153783798 }, "else": { "operation": "boost", "score": 0.0041206455789506435 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.028144868090748787 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.13893242180347443 }, "else": { "operation": "boost", "score": 0.029902417212724686 } }, "else": { "operation": "boost", "score": -0.01056070625782013 } }, "else": { "operation": "boost", "score": 0.009251846000552177 } } }, "else": { "operation": "boost", "score": 0.00017717760056257248 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23697957396507263 }, "else": { "operation": "boost", "score": 0.050165604799985886 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.09154843538999557 }, "else": { "operation": "boost", "score": -0.008111266419291496 } } }, "else": { "operation": "boost", "score": -0.023045750334858894 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015543865971267223 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.0008462637197226286 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06871715188026428 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10464126616716385 }, "else": { "operation": "boost", "score": 0.07314834743738174 } } }, "else": { "operation": "boost", "score": -0.007021393161267042 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.028150243684649467 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.035485148429870605 }, "else": { "operation": "boost", "score": 0.11148256808519363 } }, "else": { "operation": "boost", "score": 0.0007513374439440668 } } }, "else": { "operation": "boost", "score": -0.18581613898277283 } } } }, "else": { "operation": "boost", "score": -0.005034881643950939 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.04980679973959923 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.00571161974221468 }, "else": { "operation": "boost", "score": -0.06348571181297302 } }, "else": { "operation": "boost", "score": 0.032361067831516266 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "boost", "score": -0.08836278319358826 }, "else": { "operation": "boost", "score": 0.01232109684497118 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.00895602535456419 }, "else": { "operation": "boost", "score": 0.10547942668199539 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.15803325176239014 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.0, "then": { "operation": "boost", "score": -0.016224386170506477 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": 0.39183929562568665 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.15654230117797852 }, "else": { "operation": "boost", "score": 0.10188979655504227 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.057244379073381424 }, "else": { "operation": "boost", "score": -0.03710944205522537 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.08450291305780411 }, "else": { "operation": "boost", "score": -0.06051163002848625 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 235.5, "then": { "operation": "boost", "score": -0.3228762447834015 }, "else": { "operation": "boost", "score": 0.16186118125915527 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.112153559923172 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.18033123016357422 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03282530978322029 }, "else": { "operation": "boost", "score": 0.28828829526901245 } } } }, "else": { "operation": "boost", "score": 0.05268118530511856 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07338651269674301 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.005888373591005802 }, "else": { "operation": "boost", "score": 0.11058959364891052 } }, "else": { "operation": "boost", "score": -0.08792800456285477 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "boost", "score": 0.12477650493383408 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11164649575948715 }, "else": { "operation": "boost", "score": -0.22721299529075623 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.011006336659193039 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.11355345696210861 }, "else": { "operation": "boost", "score": -0.26199033856391907 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12025395035743713 }, "else": { "operation": "boost", "score": -0.19220396876335144 } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.058480747044086456 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0072936262004077435 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.13469667732715607 }, "else": { "operation": "boost", "score": 0.18188031017780304 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.04994199424982071 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.03969987854361534 }, "else": { "operation": "boost", "score": 0.11122771352529526 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.12315621227025986 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61.0, "then": { "operation": "boost", "score": 0.01903945952653885 }, "else": { "operation": "boost", "score": 0.3533018231391907 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": -0.4942832589149475 }, "else": { "operation": "boost", "score": -0.004970814101397991 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12396177649497986 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.122235007584095 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.08834719657897949 }, "else": { "operation": "boost", "score": -0.03514654561877251 } } } } } }, "else": { "operation": "boost", "score": -0.09005290269851685 } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7207792401313782, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.5274680852890015 }, "else": { "operation": "boost", "score": -0.06498347967863083 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.4493461549282074 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0863301157951355 }, "else": { "operation": "boost", "score": 0.17300787568092346 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 1.864938735961914 }, "else": { "operation": "boost", "score": 0.0026234148535877466 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09260845184326172 }, "else": { "operation": "boost", "score": -0.17406749725341797 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1182965561747551 }, "else": { "operation": "boost", "score": -0.11416883766651154 } } }, "else": { "operation": "boost", "score": -0.2636973261833191 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.11506112664937973 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07066556066274643 }, "else": { "operation": "boost", "score": -0.08994075655937195 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": -0.15759088099002838 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.10743884742259979 }, "else": { "operation": "boost", "score": -0.024048859253525734 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1590130627155304 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.035983163863420486 }, "else": { "operation": "boost", "score": -0.18901698291301727 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.03764206916093826 }, "else": { "operation": "boost", "score": 0.11842133849859238 } } } } } } } }, "else": { "operation": "boost", "score": -0.00875724758952856 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 282.5, "then": { "operation": "boost", "score": -0.018672650679945946 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 279.5, "then": { "operation": "boost", "score": 0.11179936677217484 }, "else": { "operation": "boost", "score": 0.07704594731330872 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.820609986782074 }, "else": { "operation": "boost", "score": -0.10024746507406235 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.017222750931978226 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.8637441396713257 }, "else": { "operation": "boost", "score": -0.03235962241888046 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.04021335020661354 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.1528625786304474 }, "else": { "operation": "boost", "score": -0.2491654008626938 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.11357545107603073 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09989733248949051 }, "else": { "operation": "boost", "score": 0.06252136826515198 } } } }, "else": { "operation": "boost", "score": 0.031953904777765274 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13226298987865448 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.10700327903032303 }, "else": { "operation": "boost", "score": 0.02484029345214367 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.11304660886526108 }, "else": { "operation": "boost", "score": 0.04061947390437126 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.00726738478988409 }, "else": { "operation": "boost", "score": 0.024970028549432755 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.10115126520395279 }, "else": { "operation": "boost", "score": 0.12791599333286285 } }, "else": { "operation": "boost", "score": -0.0034516144078224897 } } } }, "else": { "operation": "boost", "score": -0.0001821554178604856 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0015335313510149717 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0067800129763782024 }, "else": { "operation": "boost", "score": -0.006142050959169865 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4833333492279053, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0025434517301619053 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1516694277524948 }, "else": { "operation": "boost", "score": 0.040323346853256226 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.0011110324412584305 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.031184367835521698 }, "else": { "operation": "boost", "score": 0.011372246779501438 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.012828816659748554 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012472604401409626 }, "else": { "operation": "boost", "score": -0.030014030635356903 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09608425945043564 }, "else": { "operation": "boost", "score": -0.5691443681716919 } }, "else": { "operation": "boost", "score": 0.14297643303871155 } }, "else": { "operation": "boost", "score": -0.00448828749358654 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.015516201965510845 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09803344309329987 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.17491638660430908 }, "else": { "operation": "boost", "score": -0.37766242027282715 } } } }, "else": { "operation": "boost", "score": 0.0006179400952532887 } } }, "else": { "operation": "boost", "score": -0.14467893540859222 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02302723191678524 }, "else": { "operation": "boost", "score": -0.0013942912919446826 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04446640610694885, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": 0.09974436461925507 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Other", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "boost", "score": -0.08418741822242737 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.13256993889808655 }, "else": { "operation": "boost", "score": 0.02348393015563488 } } }, "else": { "operation": "boost", "score": 0.009540022350847721 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": 0.05720806121826172 }, "else": { "operation": "boost", "score": -0.29061537981033325 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22252747416496277, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.04904879629611969 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.034897707402706146 }, "else": { "operation": "boost", "score": -0.19035956263542175 } } }, "else": { "operation": "boost", "score": -0.13618016242980957 } }, "else": { "operation": "boost", "score": -0.023656781762838364 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.1210516095161438 }, "else": { "operation": "boost", "score": 0.06590726226568222 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03464636206626892 }, "else": { "operation": "boost", "score": -0.04907083138823509 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.09404734522104263 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13689199090003967 }, "else": { "operation": "boost", "score": 0.08507951349020004 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.0023098227102309465 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0312834307551384 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11001362651586533 }, "else": { "operation": "boost", "score": 0.01373088825494051 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08021058142185211 }, "else": { "operation": "boost", "score": 0.06621900200843811 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.27910611033439636 }, "else": { "operation": "boost", "score": 0.009153751656413078 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.01786096766591072 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1003166064620018 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07615115493535995 }, "else": { "operation": "boost", "score": -0.18318387866020203 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12559647858142853 }, "else": { "operation": "boost", "score": 0.02342240698635578 } }, "else": { "operation": "boost", "score": 0.008107904344797134 } }, "else": { "operation": "boost", "score": -0.0016729553462937474 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10601159930229187 }, "else": { "operation": "boost", "score": -0.3023747503757477 } }, "else": { "operation": "boost", "score": -0.27075400948524475 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14584662020206451 }, "else": { "operation": "boost", "score": 0.11738239973783493 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.08689767122268677 }, "else": { "operation": "boost", "score": -0.13957525789737701 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.27322259545326233 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.22249174118041992 }, "else": { "operation": "boost", "score": 0.012266159988939762 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.1865645796060562 }, "else": { "operation": "boost", "score": 0.10296011716127396 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.48822909593582153 }, "else": { "operation": "boost", "score": 0.02660413645207882 } } }, "else": { "operation": "boost", "score": -0.009212293662130833 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -7.288752385647967e-05 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.11568940430879593 }, "else": { "operation": "boost", "score": -0.0025177858769893646 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.2165490984916687 }, "else": { "operation": "boost", "score": -0.017873302102088928 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": -0.3371149003505707 }, "else": { "operation": "boost", "score": 0.032141491770744324 } } } }, "else": { "operation": "boost", "score": -0.004708685912191868 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.011392625980079174 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.025061286985874176 }, "else": { "operation": "boost", "score": -0.08057555556297302 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03699979558587074 }, "else": { "operation": "boost", "score": 0.17777684330940247 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0713869258761406 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06770291179418564 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.08745601028203964 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -1.4751695394515991 }, "else": { "operation": "boost", "score": -0.2776235342025757 } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.31771567463874817 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.06999318301677704 }, "else": { "operation": "boost", "score": -0.020783016458153725 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.03449907526373863 }, "else": { "operation": "boost", "score": -0.052114252001047134 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.6637743711471558 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.9119345545768738 }, "else": { "operation": "boost", "score": 0.0932723805308342 } } }, "else": { "operation": "boost", "score": 0.032920271158218384 } }, "else": { "operation": "boost", "score": 0.002135467017069459 } } }, "else": { "operation": "boost", "score": 0.10381477326154709 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.23692895472049713 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10354278981685638 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.034074001014232635 }, "else": { "operation": "boost", "score": 0.1709892898797989 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.004659230820834637 }, "else": { "operation": "boost", "score": -0.31169945001602173 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.03418433293700218 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.1334517002105713 }, "else": { "operation": "boost", "score": -0.10674639791250229 } }, "else": { "operation": "boost", "score": 0.054717451333999634 } }, "else": { "operation": "boost", "score": 0.008279803209006786 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.02225261740386486 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.1602644920349121 }, "else": { "operation": "boost", "score": -0.04495048150420189 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.08098165690898895 }, "else": { "operation": "boost", "score": -0.00603916822001338 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.2572804391384125 }, "else": { "operation": "boost", "score": 0.30434170365333557 } }, "else": { "operation": "boost", "score": -0.17879435420036316 } } }, "else": { "operation": "boost", "score": -0.005648232996463776 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.14574690163135529 }, "else": { "operation": "boost", "score": 0.008295510895550251 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.11409082263708115 }, "else": { "operation": "boost", "score": -0.0026838532648980618 } } } } } } } }, "else": { "operation": "boost", "score": -0.00039792247116565704 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.14730314910411835 }, "else": { "operation": "boost", "score": -0.024038221687078476 } }, "else": { "operation": "boost", "score": 0.004077967721968889 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.007191415876150131 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.0009088979568332434 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18760.0, "then": { "operation": "boost", "score": 0.001969671342521906 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.1320735365152359 }, "else": { "operation": "boost", "score": -0.1269865185022354 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6325.5, "then": { "operation": "boost", "score": 0.07627541571855545 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.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": 32.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "boost", "score": -0.162383571267128 }, "else": { "operation": "boost", "score": 0.11520954221487045 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11621727794408798 }, "else": { "operation": "boost", "score": -0.14649564027786255 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.046513963490724564 }, "else": { "operation": "boost", "score": -0.1532406508922577 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.18137910962104797 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.009704835712909698 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.10632085055112839 }, "else": { "operation": "boost", "score": -0.08187117427587509 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08353351056575775 }, "else": { "operation": "boost", "score": 0.19743916392326355 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.007350473199039698 }, "else": { "operation": "boost", "score": 0.01643209159374237 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.1545107364654541 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.21379709243774414 }, "else": { "operation": "boost", "score": -0.005323866847902536 } } }, "else": { "operation": "boost", "score": 0.01852632500231266 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.0887003168463707 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.09506898373365402 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.37985387444496155 }, "else": { "operation": "boost", "score": 0.06534843891859055 } }, "else": { "operation": "boost", "score": -0.174307718873024 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.02738378383219242 }, "else": { "operation": "boost", "score": 0.12473277002573013 } }, "else": { "operation": "boost", "score": 0.03369816020131111 } }, "else": { "operation": "boost", "score": 0.05767625942826271 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06637255102396011 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.12617388367652893 }, "else": { "operation": "boost", "score": 0.0572141632437706 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.12514440715312958 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.1618717759847641 }, "else": { "operation": "boost", "score": -0.10234245657920837 } } }, "else": { "operation": "boost", "score": -0.011576078832149506 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11668708920478821 }, "else": { "operation": "boost", "score": -0.025377152487635612 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.06516928970813751 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11797884106636047 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.4022846519947052 }, "else": { "operation": "boost", "score": 0.1344384253025055 } }, "else": { "operation": "boost", "score": 0.1015269085764885 } } } }, "else": { "operation": "boost", "score": 0.14346112310886383 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0004051426949445158 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.30224278569221497 }, "else": { "operation": "boost", "score": -0.19065000116825104 } } }, "else": { "operation": "boost", "score": 0.10813159495592117 } } } } }, "else": { "operation": "boost", "score": 0.1447019726037979 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.05742708593606949 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.03150416910648346 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.22914309799671173 }, "else": { "operation": "boost", "score": -0.495918333530426 } } } }, "else": { "operation": "boost", "score": -0.018082033842802048 } }, "else": { "operation": "boost", "score": 0.012464029714465141 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11192207038402557 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.02778102084994316 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.16969332098960876 }, "else": { "operation": "boost", "score": 0.06776463240385056 } } } }, "else": { "operation": "boost", "score": -0.09582401067018509 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.018622759729623795 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05257324129343033 }, "else": { "operation": "boost", "score": 0.10025772452354431 } }, "else": { "operation": "boost", "score": -0.310007780790329 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": 0.10721100121736526 }, "else": { "operation": "boost", "score": -0.060545533895492554 } }, "else": { "operation": "boost", "score": -0.10507190227508545 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3112029433250427 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2750000059604645, "then": { "operation": "boost", "score": 0.12183929979801178 }, "else": { "operation": "boost", "score": 0.13690167665481567 } }, "else": { "operation": "boost", "score": -0.033079467713832855 } } }, "else": { "operation": "boost", "score": -0.02276836521923542 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02396160550415516 }, "else": { "operation": "boost", "score": -0.07731970399618149 } }, "else": { "operation": "boost", "score": -0.00610053725540638 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.2182898372411728 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.22102059423923492 }, "else": { "operation": "boost", "score": -0.008902976289391518 } } }, "else": { "operation": "boost", "score": -0.18180090188980103 } }, "else": { "operation": "boost", "score": 0.011974548920989037 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.06938845664262772 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01634824648499489 }, "else": { "operation": "boost", "score": -0.9241102933883667 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.09171377867460251 }, "else": { "operation": "boost", "score": -0.00901998020708561 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10435730963945389 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.10106290876865387 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13106904923915863 }, "else": { "operation": "boost", "score": 0.10384111106395721 } }, "else": { "operation": "boost", "score": -0.008262685500085354 } } }, "else": { "operation": "boost", "score": 0.008394908159971237 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276057.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276350.0, "then": { "operation": "boost", "score": 0.006048195064067841 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.15359334647655487 }, "else": { "operation": "boost", "score": 0.0685037299990654 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13903680443763733 }, "else": { "operation": "boost", "score": 0.14888836443424225 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 1.6554880142211914 }, "else": { "operation": "boost", "score": -0.11040276288986206 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "boost", "score": -0.053247928619384766 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 212125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234371.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.34977343678474426 }, "else": { "operation": "boost", "score": -0.05824539065361023 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.046330761164426804 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12054913491010666 }, "else": { "operation": "boost", "score": -0.13308651745319366 } }, "else": { "operation": "boost", "score": 0.024895524606108665 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.050962481647729874 }, "else": { "operation": "boost", "score": -0.07690413296222687 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": -0.37464889883995056 }, "else": { "operation": "boost", "score": -0.16487832367420197 } } } }, "else": { "operation": "boost", "score": 0.020543979480862617 } }, "else": { "operation": "boost", "score": -0.026221467182040215 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.15487496554851532 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.15309591591358185 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.13187500834465027 }, "else": { "operation": "boost", "score": 0.10316061228513718 } } }, "else": { "operation": "boost", "score": -0.14886420965194702 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.05531566962599754 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02793322317302227 }, "else": { "operation": "boost", "score": -0.3185185492038727 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.15426090359687805 }, "else": { "operation": "boost", "score": -0.0001653348299441859 } } } } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 394.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 395.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16650.5, "then": { "operation": "boost", "score": -0.13600538671016693 }, "else": { "operation": "boost", "score": -0.890437126159668 } }, "else": { "operation": "boost", "score": 0.008205443620681763 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.01531969290226698 }, "else": { "operation": "boost", "score": 0.11958757787942886 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 344.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10946132242679596 }, "else": { "operation": "boost", "score": -0.03405805304646492 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 353.5, "then": { "operation": "boost", "score": -0.056589335203170776 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.7637856602668762 }, "else": { "operation": "boost", "score": -0.23541228473186493 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.014190156944096088 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05514898523688316 }, "else": { "operation": "boost", "score": -0.3122004568576813 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.09119356423616409 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06559047847986221 }, "else": { "operation": "boost", "score": -0.25593486428260803 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.04166071489453316 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": -0.1938258856534958 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.050521012395620346 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.11273790150880814 }, "else": { "operation": "boost", "score": 0.06259645521640778 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.02877577766776085 }, "else": { "operation": "boost", "score": 0.02043445222079754 } } }, "else": { "operation": "boost", "score": 0.09544757753610611 } }, "else": { "operation": "boost", "score": -0.04431487247347832 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.04643759876489639 }, "else": { "operation": "boost", "score": 0.09125611931085587 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.023289648815989494 }, "else": { "operation": "boost", "score": -0.2453080415725708 } }, "else": { "operation": "boost", "score": 0.05575910210609436 } }, "else": { "operation": "boost", "score": -0.15376847982406616 } } }, "else": { "operation": "boost", "score": 0.0704190731048584 } }, "else": { "operation": "boost", "score": -0.06015649437904358 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.02383938990533352 }, "else": { "operation": "boost", "score": -0.08820035308599472 } } } }, "else": { "operation": "boost", "score": 0.009918938390910625 } } } }, "else": { "operation": "boost", "score": -0.03282254561781883 } } }, "else": { "operation": "boost", "score": 0.004580333828926086 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.006306375376880169 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005639359354972839 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": 0.11187566816806793 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.10260768979787827 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019720595329999924 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.01841380074620247 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6041666269302368, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13594599068164825 }, "else": { "operation": "boost", "score": -0.006278427317738533 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": -0.03423375263810158 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10947418212890625 }, "else": { "operation": "boost", "score": -0.009338184259831905 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10044620931148529 }, "else": { "operation": "boost", "score": -0.024048687890172005 } } } } }, "else": { "operation": "boost", "score": 0.0027560272719711065 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.05215366929769516 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.03811460733413696 }, "else": { "operation": "boost", "score": 0.00883433036506176 } } }, "else": { "operation": "boost", "score": 0.00020979452528990805 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.06878174841403961 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.008717245422303677 }, "else": { "operation": "boost", "score": 0.10735981166362762 } }, "else": { "operation": "boost", "score": -0.04241050034761429 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.04295452684164047 }, "else": { "operation": "boost", "score": 0.012230987660586834 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.024324947968125343 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.06507062166929245 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.025549283251166344 }, "else": { "operation": "boost", "score": -0.16572889685630798 } }, "else": { "operation": "boost", "score": -0.01307238545268774 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.6411069631576538 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.0937797948718071 }, "else": { "operation": "boost", "score": -0.27998170256614685 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13795116543769836 }, "else": { "operation": "boost", "score": 0.039669305086135864 } }, "else": { "operation": "boost", "score": -0.033778995275497437 } }, "else": { "operation": "boost", "score": -0.14854592084884644 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.12457948178052902 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.038240786641836166 }, "else": { "operation": "boost", "score": 0.10812868922948837 } } }, "else": { "operation": "boost", "score": 0.024442991241812706 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1406758427619934 }, "else": { "operation": "boost", "score": 0.025585094466805458 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.012953672558069229 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.031060298904776573 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.012931782752275467 }, "else": { "operation": "boost", "score": 0.07820523530244827 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01715177297592163 }, "else": { "operation": "boost", "score": 0.09338954091072083 } }, "else": { "operation": "boost", "score": 0.086665578186512 } } }, "else": { "operation": "boost", "score": 0.017461225390434265 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16233766078948975, "then": { "operation": "boost", "score": -0.19707775115966797 }, "else": { "operation": "boost", "score": 0.06594423949718475 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.04553278908133507 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.005601688288152218 }, "else": { "operation": "boost", "score": 0.04894096776843071 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.018661586567759514 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 186.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 195.0, "then": { "operation": "boost", "score": 0.07615648210048676 }, "else": { "operation": "boost", "score": 0.11988359689712524 } }, "else": { "operation": "boost", "score": 0.010984467342495918 } } } } }, "else": { "operation": "boost", "score": 0.0007099146605469286 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.005111553706228733 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.11365781724452972 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3741258978843689, "then": { "operation": "boost", "score": -0.08261110633611679 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.10892336070537567 }, "else": { "operation": "boost", "score": -0.1517750769853592 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.015503969974815845 }, "else": { "operation": "boost", "score": 0.036688707768917084 } }, "else": { "operation": "boost", "score": -0.09992201626300812 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11675456911325455 }, "else": { "operation": "boost", "score": -0.10478118062019348 } }, "else": { "operation": "boost", "score": -0.08438923209905624 } }, "else": { "operation": "boost", "score": 0.1308843493461609 } }, "else": { "operation": "boost", "score": 0.03303971141576767 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.14255599677562714 }, "else": { "operation": "boost", "score": 0.02509445883333683 } } } }, "else": { "operation": "boost", "score": 0.009414917789399624 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.004926701076328754 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25824177265167236, "then": { "operation": "boost", "score": -0.06326846778392792 }, "else": { "operation": "boost", "score": 0.12049593031406403 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04381876066327095 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.20683911442756653 }, "else": { "operation": "boost", "score": -0.0314890518784523 } } } } } } }, "else": { "operation": "boost", "score": -0.016615211963653564 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "boost", "score": 0.01499202474951744 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.05622875317931175 }, "else": { "operation": "boost", "score": 0.02349381521344185 } } } } } } } }, "else": { "operation": "boost", "score": -0.00023406533000525087 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10764269530773163 }, "else": { "operation": "boost", "score": -0.00233064335770905 } }, "else": { "operation": "boost", "score": 0.0002755201421678066 } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10102644562721252 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0068273586221039295 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.022583208978176117 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.22789709270000458 }, "else": { "operation": "boost", "score": -0.46864551305770874 } }, "else": { "operation": "boost", "score": -0.02301814965903759 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.08948317915201187 }, "else": { "operation": "boost", "score": 0.015212073922157288 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.0, "then": { "operation": "boost", "score": 0.055399827659130096 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -1.5305638313293457 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.12436933070421219 }, "else": { "operation": "boost", "score": -0.4965924024581909 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08287204802036285 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14974401891231537 }, "else": { "operation": "boost", "score": -0.10123596340417862 } }, "else": { "operation": "boost", "score": 0.25201791524887085 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.028209509328007698 }, "else": { "operation": "boost", "score": 0.039008911699056625 } } } }, "else": { "operation": "boost", "score": 0.0173647478222847 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10818713903427124, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.03993406146764755 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.06038927659392357 }, "else": { "operation": "boost", "score": 0.1566375494003296 } }, "else": { "operation": "boost", "score": 0.05719251558184624 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.16973024606704712 }, "else": { "operation": "boost", "score": 0.02079875022172928 } }, "else": { "operation": "boost", "score": 0.031262923032045364 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.5490806698799133 }, "else": { "operation": "boost", "score": 0.007671264465898275 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.23657365143299103 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.0761389210820198 }, "else": { "operation": "boost", "score": -0.049837253987789154 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.050935354083776474 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04770829901099205 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11613444983959198 }, "else": { "operation": "boost", "score": 0.1471613049507141 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13258279860019684 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025359109044075012 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08535636961460114 }, "else": { "operation": "boost", "score": 0.1159546747803688 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.05890602245926857 }, "else": { "operation": "boost", "score": 0.13530349731445312 } }, "else": { "operation": "boost", "score": 0.035585250705480576 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.00236877822317183 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1161474958062172 }, "else": { "operation": "boost", "score": 0.05887996405363083 } }, "else": { "operation": "boost", "score": 0.012085122056305408 } } } } }, "else": { "operation": "boost", "score": -0.03573235496878624 } } } }, "else": { "operation": "boost", "score": 0.2820756137371063 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.022364990785717964 }, "else": { "operation": "boost", "score": 0.009845202788710594 } }, "else": { "operation": "boost", "score": -0.02279423363506794 } }, "else": { "operation": "boost", "score": -0.0016479261685162783 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 349.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13942307233810425, "then": { "operation": "boost", "score": 0.10856898128986359 }, "else": { "operation": "boost", "score": 0.05628342181444168 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.5687853693962097 }, "else": { "operation": "boost", "score": -0.2567616403102875 } }, "else": { "operation": "boost", "score": -0.06359393149614334 } } }, "else": { "operation": "boost", "score": 0.017307598143815994 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.015477171167731285 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0773809552192688, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10491056740283966 }, "else": { "operation": "boost", "score": -0.11457612365484238 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.10596663504838943 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2135554552078247 }, "else": { "operation": "boost", "score": 0.1935759037733078 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03846153989434242, "then": { "operation": "boost", "score": -0.10866141319274902 }, "else": { "operation": "boost", "score": 0.34135445952415466 } }, "else": { "operation": "boost", "score": -0.14697310328483582 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "boost", "score": 0.053943078964948654 }, "else": { "operation": "boost", "score": 0.12665051221847534 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": -0.03418722003698349 }, "else": { "operation": "boost", "score": 0.015046852640807629 } } }, "else": { "operation": "boost", "score": -0.0074704429134726524 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.008132504299283028 }, "else": { "operation": "boost", "score": 0.06234940513968468 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.09268968552350998 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.025281723588705063 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": -0.11236933618783951 }, "else": { "operation": "boost", "score": 0.001713335164822638 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.02644231542944908 }, "else": { "operation": "boost", "score": 0.03916395083069801 } }, "else": { "operation": "boost", "score": -0.048218440264463425 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.09170322865247726 }, "else": { "operation": "boost", "score": 0.006869286764413118 } }, "else": { "operation": "boost", "score": 0.045254696160554886 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.004078572615981102 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.08504582941532135 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": 0.02312704548239708 }, "else": { "operation": "boost", "score": 0.087359219789505 } } } }, "else": { "operation": "boost", "score": -0.034144509583711624 } } } }, "else": { "operation": "boost", "score": -0.015478917397558689 } }, "else": { "operation": "boost", "score": -0.017386645078659058 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019665353000164032 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.02411726862192154 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004817671608179808 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.04735303297638893 }, "else": { "operation": "boost", "score": 0.1582372635602951 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.12897692620754242 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.042820077389478683 }, "else": { "operation": "boost", "score": -0.02195751667022705 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01511180866509676 }, "else": { "operation": "boost", "score": -0.01981070078909397 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.018446223810315132 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.11835812777280807 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.0884842723608017 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.09208323061466217 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.12479205429553986 }, "else": { "operation": "boost", "score": 0.1595248132944107 } } }, "else": { "operation": "boost", "score": -0.07111575454473495 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.07459061592817307 }, "else": { "operation": "boost", "score": -0.4125797152519226 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.20324669778347015 }, "else": { "operation": "boost", "score": 0.008885283954441547 } }, "else": { "operation": "boost", "score": -0.07043551653623581 } }, "else": { "operation": "boost", "score": 0.056508053094148636 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12810997664928436 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.0753159373998642 }, "else": { "operation": "boost", "score": -0.21049636602401733 } }, "else": { "operation": "boost", "score": 0.006078374106436968 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009115448221564293 }, "else": { "operation": "boost", "score": -0.14933660626411438 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007243538741022348 }, "else": { "operation": "boost", "score": -0.012132704257965088 } }, "else": { "operation": "boost", "score": 0.0006893305690027773 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.020498398691415787 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.11799807101488113 }, "else": { "operation": "boost", "score": -0.11891920864582062 } } } } } } } } }, "else": { "operation": "boost", "score": 0.008415651507675648 } }, "else": { "operation": "boost", "score": -0.00013553023745771497 } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008628133684396744 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.008687841705977917 }, "else": { "operation": "boost", "score": -0.10477439314126968 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.037749290466308594, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 667.5, "then": { "operation": "boost", "score": -0.025612445548176765 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 622.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.12387009710073471 }, "else": { "operation": "boost", "score": 0.1267353743314743 } }, "else": { "operation": "boost", "score": 0.06677452474832535 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor" ], "then": { "operation": "boost", "score": 0.06130484864115715 }, "else": { "operation": "boost", "score": -0.00016640395915601403 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.00596039230003953 }, "else": { "operation": "boost", "score": -0.057858046144247055 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.08592236787080765 }, "else": { "operation": "boost", "score": -0.02092440240085125 } }, "else": { "operation": "boost", "score": 0.11819697916507721 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.04567953199148178 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005276094656437635 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.07381417602300644 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 142.0, "then": { "operation": "boost", "score": 0.12516556680202484 }, "else": { "operation": "boost", "score": 0.10659964382648468 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.5, "then": { "operation": "boost", "score": 0.07660984247922897 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.13783012330532074 }, "else": { "operation": "boost", "score": 0.17270909249782562 } } }, "else": { "operation": "boost", "score": -0.08288555592298508 } } } }, "else": { "operation": "boost", "score": 0.04917886480689049 } } }, "else": { "operation": "boost", "score": -0.023977363482117653 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.03591422364115715 }, "else": { "operation": "boost", "score": -0.03940271586179733 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.11114784330129623 }, "else": { "operation": "boost", "score": 0.42081257700920105 } }, "else": { "operation": "boost", "score": 0.034156545996665955 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11995866149663925 }, "else": { "operation": "boost", "score": -0.105989009141922 } } } } }, "else": { "operation": "boost", "score": -0.0175428856164217 } } }, "else": { "operation": "boost", "score": 0.02442621812224388 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025535574182868004 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.11812203377485275 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.12533631920814514 }, "else": { "operation": "boost", "score": 0.005517642945051193 } }, "else": { "operation": "boost", "score": -0.1455744057893753 } }, "else": { "operation": "boost", "score": -0.03334587439894676 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.017724711447954178 }, "else": { "operation": "boost", "score": 0.09973997622728348 } } } }, "else": { "operation": "boost", "score": -0.05494866520166397 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2817460298538208, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11592676490545273 }, "else": { "operation": "boost", "score": -0.12575547397136688 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": -0.4311443567276001 }, "else": { "operation": "boost", "score": -0.05453520268201828 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.08672945946455002 }, "else": { "operation": "boost", "score": 0.024914337322115898 } } }, "else": { "operation": "boost", "score": 0.004105531144887209 } }, "else": { "operation": "boost", "score": -0.011535017751157284 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006406731903553009 }, "else": { "operation": "boost", "score": -0.009816483594477177 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.1421830952167511 }, "else": { "operation": "boost", "score": 0.06770546734333038 } }, "else": { "operation": "boost", "score": 0.002862925175577402 } }, "else": { "operation": "boost", "score": 0.0008029927266761661 } } }, "else": { "operation": "boost", "score": 0.21723778545856476 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.007870725356042385 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02155112475156784 }, "else": { "operation": "boost", "score": 0.05540882423520088 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.00527187017723918 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.16036640107631683 }, "else": { "operation": "boost", "score": 0.028608225286006927 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02214215323328972 }, "else": { "operation": "boost", "score": 0.01165751926600933 } } }, "else": { "operation": "boost", "score": 0.003874777816236019 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19603314995765686 }, "else": { "operation": "boost", "score": 0.03814820945262909 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.004123122431337833 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.10301650315523148 }, "else": { "operation": "boost", "score": 0.045679111033678055 } }, "else": { "operation": "boost", "score": -0.10788820683956146 } } }, "else": { "operation": "boost", "score": 0.009703650139272213 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0231174286454916 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.03305704519152641 }, "else": { "operation": "boost", "score": -0.02822585590183735 } }, "else": { "operation": "boost", "score": 0.07282735407352448 } }, "else": { "operation": "boost", "score": -0.11243487149477005 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.39085328578948975 }, "else": { "operation": "boost", "score": -0.0063917976804077625 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6547619104385376, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.061569586396217346 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.08900344371795654 }, "else": { "operation": "boost", "score": 0.07460363954305649 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.10085099190473557 }, "else": { "operation": "boost", "score": 0.033509526401758194 } } }, "else": { "operation": "boost", "score": 0.014565002173185349 } }, "else": { "operation": "boost", "score": -0.07793281227350235 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 312.5, "then": { "operation": "boost", "score": -0.02982790581882 }, "else": { "operation": "boost", "score": -0.0014328755205497146 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.010209036991000175 }, "else": { "operation": "boost", "score": -0.033869966864585876 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "boost", "score": 0.20416218042373657 }, "else": { "operation": "boost", "score": -0.013785510323941708 } }, "else": { "operation": "boost", "score": -0.17040137946605682 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.038486775010824203 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03229739889502525 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10577988624572754 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.7467078566551208 }, "else": { "operation": "boost", "score": 0.03629850596189499 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.127449169754982 }, "else": { "operation": "boost", "score": 0.09794525802135468 } }, "else": { "operation": "boost", "score": -0.024887703359127045 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.09587391465902328 }, "else": { "operation": "boost", "score": 0.5213702321052551 } } }, "else": { "operation": "boost", "score": 0.009722551330924034 } }, "else": { "operation": "boost", "score": -0.15496239066123962 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.2935170829296112 }, "else": { "operation": "boost", "score": -0.14946678280830383 } }, "else": { "operation": "boost", "score": -0.07626499980688095 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.016750480979681015 }, "else": { "operation": "boost", "score": 0.12079473584890366 } }, "else": { "operation": "boost", "score": 0.0682600736618042 } }, "else": { "operation": "boost", "score": -0.12430107593536377 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.01397353783249855 }, "else": { "operation": "boost", "score": 0.05896640568971634 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.023140905424952507 }, "else": { "operation": "boost", "score": -0.08831804245710373 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": -0.001019699382595718 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 267.5, "then": { "operation": "boost", "score": 0.07714936882257462 }, "else": { "operation": "boost", "score": 0.3564110994338989 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 146.5, "then": { "operation": "boost", "score": 0.010980186983942986 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1296083629131317 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.08238273859024048 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.09528201073408127 }, "else": { "operation": "boost", "score": 0.30356279015541077 } } } } } }, "else": { "operation": "boost", "score": -0.00044204553705640137 } } }, "else": { "operation": "boost", "score": -0.00041693137609399855 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.006397797726094723 }, "else": { "operation": "boost", "score": 0.0006207784754224122 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11089348793029785 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.019441744312644005 }, "else": { "operation": "boost", "score": -0.0023185336031019688 } }, "else": { "operation": "boost", "score": -0.04436153918504715 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04024558141827583 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.023072047159075737 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08184181153774261 }, "else": { "operation": "boost", "score": 0.017962459474802017 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.10718254745006561 }, "else": { "operation": "boost", "score": 0.05897108465433121 } }, "else": { "operation": "boost", "score": 0.032324157655239105 } }, "else": { "operation": "boost", "score": 0.0023590305354446173 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.029264070093631744 }, "else": { "operation": "boost", "score": -0.05156402289867401 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06926006823778152 }, "else": { "operation": "boost", "score": 0.024036569520831108 } } }, "else": { "operation": "boost", "score": 0.086362823843956 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.01608213409781456 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.03330317139625549 }, "else": { "operation": "boost", "score": 0.007420097943395376 } } } } }, "else": { "operation": "boost", "score": 0.013288545422255993 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004831764381378889 }, "else": { "operation": "boost", "score": -0.9549548029899597 } }, "else": { "operation": "boost", "score": 0.012376487255096436 } } }, "else": { "operation": "boost", "score": -0.014703444205224514 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11085280030965805 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13091.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.2783159613609314 }, "else": { "operation": "boost", "score": -1.0700196027755737 } }, "else": { "operation": "boost", "score": -0.04793039336800575 } }, "else": { "operation": "boost", "score": 0.03707685321569443 } }, "else": { "operation": "boost", "score": 0.04837749898433685 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.004785196855664253 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.5285942554473877 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.03376861661672592 }, "else": { "operation": "boost", "score": 0.1124483123421669 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.019253332167863846 }, "else": { "operation": "boost", "score": 0.21497860550880432 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "boost", "score": 0.14240363240242004 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.10547050833702087 }, "else": { "operation": "boost", "score": 0.09243466705083847 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 1.5122425556182861 }, "else": { "operation": "boost", "score": -0.11353745311498642 } }, "else": { "operation": "boost", "score": -0.015981368720531464 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.00972256064414978 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.021698979660868645 }, "else": { "operation": "boost", "score": -0.42261528968811035 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.04108542203903198 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.035946767777204514 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05914413183927536 }, "else": { "operation": "boost", "score": -0.011174547486007214 } }, "else": { "operation": "boost", "score": -0.049859918653964996 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.10093294829130173 }, "else": { "operation": "boost", "score": 0.12771882116794586 } }, "else": { "operation": "boost", "score": 0.04506669193506241 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.037440139800310135 }, "else": { "operation": "boost", "score": -0.12235038727521896 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03718452900648117 }, "else": { "operation": "boost", "score": -0.06736090034246445 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.047252681106328964 }, "else": { "operation": "boost", "score": 0.038397010415792465 } }, "else": { "operation": "boost", "score": -0.1052820011973381 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.006277839187532663 }, "else": { "operation": "boost", "score": 0.05216582491993904 } }, "else": { "operation": "boost", "score": -0.05782346799969673 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06299327313899994 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.022727273404598236, "then": { "operation": "boost", "score": -0.05235147476196289 }, "else": { "operation": "boost", "score": 0.05337502434849739 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.09197284281253815 }, "else": { "operation": "boost", "score": -0.12821899354457855 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3303571343421936, "then": { "operation": "boost", "score": -0.10055892169475555 }, "else": { "operation": "boost", "score": 0.14624309539794922 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0658038780093193 }, "else": { "operation": "boost", "score": -0.01734686829149723 } } }, "else": { "operation": "boost", "score": -0.06652910262346268 } } } }, "else": { "operation": "boost", "score": 0.0021664074156433344 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1253.0, "then": { "operation": "boost", "score": 0.13580237329006195 }, "else": { "operation": "boost", "score": 0.015283055603504181 } }, "else": { "operation": "boost", "score": 0.00621398538351059 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0029483886901289225 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.005642486270517111 }, "else": { "operation": "boost", "score": -0.28551414608955383 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.014064404182136059 }, "else": { "operation": "boost", "score": -0.15690653026103973 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.17415906488895416 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2750000059604645, "then": { "operation": "boost", "score": 0.04582159221172333 }, "else": { "operation": "boost", "score": -0.182523712515831 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.12323883920907974 }, "else": { "operation": "boost", "score": -0.04997643083333969 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.001420447719283402 }, "else": { "operation": "boost", "score": 0.023945381864905357 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04662589728832245 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.11817464232444763 }, "else": { "operation": "boost", "score": 0.06619751453399658 } } }, "else": { "operation": "boost", "score": -0.008489387109875679 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.01469219196587801 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.014584622345864773 }, "else": { "operation": "boost", "score": -0.0189290102571249 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.07575489580631256 }, "else": { "operation": "boost", "score": -0.0069032516330480576 } } }, "else": { "operation": "boost", "score": 0.0012423185398802161 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.11081081628799438 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": -0.030511481687426567 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12322952598333359 }, "else": { "operation": "boost", "score": 0.037574127316474915 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0705362856388092 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030225463211536407 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07843880355358124 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.1462949961423874 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.04724752530455589 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09847506135702133 }, "else": { "operation": "boost", "score": 0.1335591971874237 } } }, "else": { "operation": "boost", "score": 0.02930971048772335 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.023513611406087875 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.1453852355480194 }, "else": { "operation": "boost", "score": 0.12185166776180267 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.13129055500030518 }, "else": { "operation": "boost", "score": 0.05124487727880478 } }, "else": { "operation": "boost", "score": -0.009148654527962208 } } }, "else": { "operation": "boost", "score": -0.2411331832408905 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.30143803358078003 }, "else": { "operation": "boost", "score": 0.09159080684185028 } } } } }, "else": { "operation": "boost", "score": 0.006299291737377644 } } } }, "else": { "operation": "boost", "score": -0.002026994712650776 } }, "else": { "operation": "boost", "score": 0.08974724262952805 } } }, "else": { "operation": "boost", "score": -0.05419348552823067 } } } } }, "else": { "operation": "boost", "score": -0.0004026921233162284 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.10630208998918533 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.05585463345050812 }, "else": { "operation": "boost", "score": -0.0500466413795948 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03534277528524399 }, "else": { "operation": "boost", "score": -0.20513255894184113 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.17843547463417053 }, "else": { "operation": "boost", "score": -0.044625937938690186 } }, "else": { "operation": "boost", "score": 0.007185529451817274 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0011781888315454125 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.21574869751930237 }, "else": { "operation": "boost", "score": 0.0301705002784729 } }, "else": { "operation": "boost", "score": 0.13009624183177948 } }, "else": { "operation": "boost", "score": -0.01743835210800171 } } }, "else": { "operation": "boost", "score": 0.002774714957922697 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.04442106932401657 }, "else": { "operation": "boost", "score": 0.011640165001153946 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11465869098901749 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0036586266942322254 }, "else": { "operation": "boost", "score": 0.005189301911741495 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.06290575861930847 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06281501054763794, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.07268206775188446 }, "else": { "operation": "boost", "score": 0.10532720386981964 } }, "else": { "operation": "boost", "score": 0.05891428142786026 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.059246648102998734 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.6048369407653809 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.07714352011680603 }, "else": { "operation": "boost", "score": 0.05082237720489502 } } } }, "else": { "operation": "boost", "score": -0.07825111597776413 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.037519849836826324 }, "else": { "operation": "boost", "score": 0.11998552829027176 } }, "else": { "operation": "boost", "score": 0.03357818350195885 } } }, "else": { "operation": "boost", "score": -0.09335817396640778 } }, "else": { "operation": "boost", "score": 0.03944976255297661 } }, "else": { "operation": "boost", "score": -0.05506644397974014 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "boost", "score": -0.04609369486570358 }, "else": { "operation": "boost", "score": -0.0068013472482562065 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": 0.0020391647703945637 }, "else": { "operation": "boost", "score": 0.0593855157494545 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.0011616817209869623 }, "else": { "operation": "boost", "score": 0.10235033929347992 } }, "else": { "operation": "boost", "score": -0.21536073088645935 } }, "else": { "operation": "boost", "score": -0.12117858976125717 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.05979117006063461 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.0489460714161396 }, "else": { "operation": "boost", "score": 0.057961784303188324 } }, "else": { "operation": "boost", "score": -0.06608108431100845 } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.5131773948669434 }, "else": { "operation": "boost", "score": 0.030741270631551743 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0023337232414633036 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.21578651666641235 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06324842572212219 }, "else": { "operation": "boost", "score": 0.14980411529541016 } } }, "else": { "operation": "boost", "score": -0.10286352783441544 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.020467346534132957 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20416666567325592, "then": { "operation": "boost", "score": 0.04292137548327446 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11149214953184128 }, "else": { "operation": "boost", "score": -0.08518145978450775 } } } }, "else": { "operation": "boost", "score": -0.057169198989868164 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": 0.013759750872850418 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50186.0, "then": { "operation": "boost", "score": -0.23927143216133118 }, "else": { "operation": "boost", "score": -0.007549751549959183 } }, "else": { "operation": "boost", "score": 0.006665167864412069 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.007529229857027531 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.12071315944194794 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.013312102295458317 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.0, "then": { "operation": "boost", "score": -0.10076551884412766 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.17549104988574982 }, "else": { "operation": "boost", "score": 0.07130115479230881 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.3646431565284729 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": -0.11872202157974243 }, "else": { "operation": "boost", "score": 0.046595681458711624 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04756103828549385 }, "else": { "operation": "boost", "score": -0.1395096629858017 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.04007941111922264 }, "else": { "operation": "boost", "score": 0.08293256163597107 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.020354948937892914 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.0922691598534584 }, "else": { "operation": "boost", "score": 0.018941134214401245 } } } } }, "else": { "operation": "boost", "score": -0.11793915927410126 } }, "else": { "operation": "boost", "score": 0.0015395913505926728 } } }, "else": { "operation": "boost", "score": 0.010387888178229332 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.010279630310833454 }, "else": { "operation": "boost", "score": 0.004476940259337425 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.2506735920906067 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009437482804059982 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29625.0, "then": { "operation": "boost", "score": 0.025190774351358414 }, "else": { "operation": "boost", "score": -0.005721133667975664 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.00453121168538928 }, "else": { "operation": "boost", "score": 0.016022823750972748 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.04419367387890816 }, "else": { "operation": "boost", "score": -0.0322943776845932 } } }, "else": { "operation": "boost", "score": -0.010806579142808914 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0015791732585057616 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.20686286687850952 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027036089450120926 }, "else": { "operation": "boost", "score": -0.03302653506398201 } } } }, "else": { "operation": "boost", "score": 0.005082614254206419 } } }, "else": { "operation": "boost", "score": -0.005244175437837839 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0006218644557520747 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.03731757029891014 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.007597741205245256 }, "else": { "operation": "boost", "score": -0.13609786331653595 } }, "else": { "operation": "boost", "score": 0.09703968465328217 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20185261964797974 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82127.0, "then": { "operation": "boost", "score": 0.07293177396059036 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.0009248547139577568 }, "else": { "operation": "boost", "score": -0.047956209629774094 } }, "else": { "operation": "boost", "score": 0.007242890540510416 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41982.0, "then": { "operation": "boost", "score": -0.3458908200263977 }, "else": { "operation": "boost", "score": 0.027697179466485977 } }, "else": { "operation": "boost", "score": -0.05169041082262993 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.012925445102155209 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.031052691861987114 }, "else": { "operation": "boost", "score": -0.015065222047269344 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.017773257568478584 }, "else": { "operation": "boost", "score": -0.19553181529045105 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.008212021552026272 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59716.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94272.5, "then": { "operation": "boost", "score": -0.06566277891397476 }, "else": { "operation": "boost", "score": -0.37371906638145447 } }, "else": { "operation": "boost", "score": 0.007909215986728668 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": -0.14147934317588806 }, "else": { "operation": "boost", "score": 0.112259142100811 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.018097981810569763 }, "else": { "operation": "boost", "score": -0.017573101446032524 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.03686362877488136 }, "else": { "operation": "boost", "score": 0.00996264535933733 } } } } } } }, "else": { "operation": "boost", "score": -0.014828518033027649 } } } }, "else": { "operation": "boost", "score": -0.0003844082239083946 } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 11829.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12183.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.002320606494322419 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32026.0, "then": { "operation": "boost", "score": -0.023171396926045418 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32016.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10812189429998398 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07831986993551254 }, "else": { "operation": "boost", "score": -0.16279387474060059 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30388.0, "then": { "operation": "boost", "score": 0.07234431803226471 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1415412724018097 }, "else": { "operation": "boost", "score": -0.2730500102043152 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "boost", "score": -0.026066891849040985 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18299.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1226547583937645 }, "else": { "operation": "boost", "score": 0.1705499291419983 } }, "else": { "operation": "boost", "score": 0.08174094557762146 } } }, "else": { "operation": "boost", "score": -0.010531439445912838 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13537.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18485.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119453.0, "then": { "operation": "boost", "score": -0.06711427122354507 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27209.0, "then": { "operation": "boost", "score": -2.2194712162017822 }, "else": { "operation": "boost", "score": 0.03911489620804787 } } }, "else": { "operation": "boost", "score": 0.0013451224658638239 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11551924794912338 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19577.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "boost", "score": 0.014013686217367649 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.0958697646856308 }, "else": { "operation": "boost", "score": -0.02288665808737278 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.19046543538570404 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.04152722656726837 }, "else": { "operation": "boost", "score": 0.10407909750938416 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20039.5, "then": { "operation": "boost", "score": -0.2009621262550354 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10033496469259262 }, "else": { "operation": "boost", "score": -0.37798401713371277 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.08375653624534607 }, "else": { "operation": "boost", "score": 0.02616683393716812 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19474.5, "then": { "operation": "boost", "score": -0.1541067361831665 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18613.0, "then": { "operation": "boost", "score": -0.08112822473049164 }, "else": { "operation": "boost", "score": 0.0952613428235054 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.07068586349487305 }, "else": { "operation": "boost", "score": 0.02690250799059868 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.13493573665618896 }, "else": { "operation": "boost", "score": 0.10242985188961029 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.16324040293693542 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16911.5, "then": { "operation": "boost", "score": -0.06550654023885727 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15565.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15956.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "boost", "score": 0.0792670026421547 }, "else": { "operation": "boost", "score": -0.044487226754426956 } }, "else": { "operation": "boost", "score": -0.055531956255435944 } }, "else": { "operation": "boost", "score": 0.09024520963430405 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15358.5, "then": { "operation": "boost", "score": -0.12152508646249771 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14800.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.3225562870502472 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.23280617594718933 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14962.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15252.5, "then": { "operation": "boost", "score": 0.1959780901670456 }, "else": { "operation": "boost", "score": 0.04298701882362366 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.14925844967365265 }, "else": { "operation": "boost", "score": 0.08180598169565201 } } }, "else": { "operation": "boost", "score": 0.14604178071022034 } } } }, "else": { "operation": "boost", "score": -0.03552652895450592 } }, "else": { "operation": "boost", "score": -0.08821194618940353 } }, "else": { "operation": "boost", "score": -0.04796050861477852 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13381.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13424.5, "then": { "operation": "boost", "score": 0.054626379162073135 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04485267028212547 }, "else": { "operation": "boost", "score": 0.11955372244119644 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13130.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.010435453616082668 }, "else": { "operation": "boost", "score": -0.23784422874450684 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12934.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.08764692395925522 }, "else": { "operation": "boost", "score": 0.24445664882659912 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.048152074217796326 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.2151649296283722 }, "else": { "operation": "boost", "score": 0.09916865080595016 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.045043956488370895 }, "else": { "operation": "boost", "score": -0.205636665225029 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12077.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10640458762645721 }, "else": { "operation": "boost", "score": 0.20198966562747955 } }, "else": { "operation": "boost", "score": 0.12357817590236664 } }, "else": { "operation": "boost", "score": -0.10214636474847794 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10990709811449051 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14718671143054962 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.12595565617084503 }, "else": { "operation": "boost", "score": 0.06576003134250641 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.10154706984758377 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2083333432674408, "then": { "operation": "boost", "score": 0.1461959183216095 }, "else": { "operation": "boost", "score": 0.22772225737571716 } } }, "else": { "operation": "boost", "score": 0.07971961051225662 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.10164167732000351 }, "else": { "operation": "boost", "score": 0.29048094153404236 } }, "else": { "operation": "boost", "score": 0.06102193146944046 } } } }, "else": { "operation": "boost", "score": -0.03412257134914398 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10403.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11245.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11712.5, "then": { "operation": "boost", "score": -0.1676694005727768 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11572.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11605.0, "then": { "operation": "boost", "score": 0.022059589624404907 }, "else": { "operation": "boost", "score": 0.1840714067220688 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.10874887555837631 }, "else": { "operation": "boost", "score": -0.13851654529571533 } }, "else": { "operation": "boost", "score": 0.09173871576786041 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10412554442882538 }, "else": { "operation": "boost", "score": 0.14991801977157593 } }, "else": { "operation": "boost", "score": -0.10629986226558685 } }, "else": { "operation": "boost", "score": 0.036217376589775085 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.1126791462302208 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10309034585952759 }, "else": { "operation": "boost", "score": 0.02136373333632946 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11727540194988251 }, "else": { "operation": "boost", "score": -0.007781269960105419 } }, "else": { "operation": "boost", "score": -0.09667528420686722 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": -0.08459067344665527 }, "else": { "operation": "boost", "score": 0.18050822615623474 } } } }, "else": { "operation": "boost", "score": -0.011962766759097576 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.1188974380493164 }, "else": { "operation": "boost", "score": -0.0667431503534317 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10280.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.1900484561920166 }, "else": { "operation": "boost", "score": -0.10666033625602722 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.10428135842084885 }, "else": { "operation": "boost", "score": 0.13214798271656036 } } }, "else": { "operation": "boost", "score": 0.024316852912306786 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10208.5, "then": { "operation": "boost", "score": -0.11283683776855469 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10180.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13786083459854126 }, "else": { "operation": "boost", "score": 0.09677588194608688 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.14800822734832764 }, "else": { "operation": "boost", "score": 0.01708277501165867 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01025488879531622 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06880433112382889 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.13516803085803986 }, "else": { "operation": "boost", "score": 0.10461011528968811 } } }, "else": { "operation": "boost", "score": -0.11246966570615768 } }, "else": { "operation": "boost", "score": 0.026592224836349487 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.016305653378367424 }, "else": { "operation": "boost", "score": -0.03723917156457901 } }, "else": { "operation": "boost", "score": 0.04234345629811287 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.02085857279598713 }, "else": { "operation": "boost", "score": 0.09966189414262772 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.013630050234496593 }, "else": { "operation": "boost", "score": 0.005329979117959738 } }, "else": { "operation": "boost", "score": 0.00014606033801101148 } }, "else": { "operation": "boost", "score": 0.0004778378352057189 } }, "else": { "operation": "boost", "score": -0.000562851142603904 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1450.0, "then": { "operation": "boost", "score": 0.02431313320994377 }, "else": { "operation": "boost", "score": 0.0024874110240489244 } }, "else": { "operation": "boost", "score": 0.0013081288198009133 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11223242431879044 }, "else": { "operation": "boost", "score": 0.13384217023849487 } }, "else": { "operation": "boost", "score": -0.23755531013011932 } }, "else": { "operation": "boost", "score": -0.12831762433052063 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.05192935839295387 }, "else": { "operation": "boost", "score": 0.11679379642009735 } }, "else": { "operation": "boost", "score": -0.15116335451602936 } }, "else": { "operation": "boost", "score": -0.0827774852514267 } }, "else": { "operation": "boost", "score": -0.07546154409646988 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1549959033727646 }, "else": { "operation": "boost", "score": 0.07001253962516785 } }, "else": { "operation": "boost", "score": -0.11244067549705505 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011437127366662025 }, "else": { "operation": "boost", "score": -0.026518087834119797 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.05320943519473076 }, "else": { "operation": "boost", "score": 0.09047935903072357 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15552693605422974 }, "else": { "operation": "boost", "score": -0.10004817694425583 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22693999111652374 }, "else": { "operation": "boost", "score": 0.044177696108818054 } } }, "else": { "operation": "boost", "score": -0.010858495719730854 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.04407310485839844 }, "else": { "operation": "boost", "score": -0.41157230734825134 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01767336204648018 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10091125965118408 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.03234534710645676 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037978075444698334 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.10032417625188828 }, "else": { "operation": "boost", "score": 0.1007954403758049 } } }, "else": { "operation": "boost", "score": 0.07293606549501419 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.19789113104343414 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.005496231839060783 }, "else": { "operation": "boost", "score": 0.07939807325601578 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.11800643056631088 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.06271857768297195 }, "else": { "operation": "boost", "score": 0.029701396822929382 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03241681307554245 }, "else": { "operation": "boost", "score": 0.11148198693990707 } }, "else": { "operation": "boost", "score": -0.025272460654377937 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.08570617437362671 }, "else": { "operation": "boost", "score": 0.05001479387283325 } } } } }, "else": { "operation": "boost", "score": -0.008343439549207687 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.10782890021800995 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.2561272084712982 }, "else": { "operation": "boost", "score": 0.1447373777627945 } }, "else": { "operation": "boost", "score": 0.031706538051366806 } }, "else": { "operation": "boost", "score": 0.11334756016731262 } } }, "else": { "operation": "boost", "score": 0.006368972361087799 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.05150469392538071 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.019984759390354156 }, "else": { "operation": "boost", "score": 0.0941428616642952 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": 0.04953662306070328 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6833333373069763, "then": { "operation": "boost", "score": 0.044816650450229645 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.016250357031822205 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.021504806354641914 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.0, "then": { "operation": "boost", "score": 0.03864709287881851 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12500756978988647 }, "else": { "operation": "boost", "score": 0.09846443682909012 } }, "else": { "operation": "boost", "score": 0.12455827742815018 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.04335731640458107 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12265372276306152 }, "else": { "operation": "boost", "score": 0.09568671882152557 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 235.5, "then": { "operation": "boost", "score": -0.22934620082378387 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.1609855741262436 }, "else": { "operation": "boost", "score": 0.10313331335783005 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.09407931566238403 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.10008877515792847 }, "else": { "operation": "boost", "score": 0.27226150035858154 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.09878014028072357 }, "else": { "operation": "boost", "score": -0.10392060875892639 } } }, "else": { "operation": "boost", "score": 0.06336689740419388 } }, "else": { "operation": "boost", "score": 0.03769427165389061 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10324546694755554 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.1404688060283661 }, "else": { "operation": "boost", "score": 0.014562112279236317 } } }, "else": { "operation": "boost", "score": -0.037871070206165314 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.14348164200782776 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.13995705544948578 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1718827337026596 }, "else": { "operation": "boost", "score": -0.13764692842960358 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.0445953868329525 }, "else": { "operation": "boost", "score": 0.11516381800174713 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.10811993479728699 }, "else": { "operation": "boost", "score": -0.07005397230386734 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.0, "then": { "operation": "boost", "score": 0.20915555953979492 }, "else": { "operation": "boost", "score": -0.012233437970280647 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.051556456834077835 }, "else": { "operation": "boost", "score": -0.0706610307097435 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": -0.10266215354204178 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "boost", "score": 0.11146958917379379 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06048965826630592 }, "else": { "operation": "boost", "score": -0.6110438704490662 } } } }, "else": { "operation": "boost", "score": -0.009605873376131058 } } }, "else": { "operation": "boost", "score": -0.004185959696769714 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.22299246490001678 }, "else": { "operation": "boost", "score": 0.008294661529362202 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01274009421467781 }, "else": { "operation": "boost", "score": -0.012239141389727592 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.12018032371997833 }, "else": { "operation": "boost", "score": 0.026915227994322777 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.13917312026023865 }, "else": { "operation": "boost", "score": -0.08123756945133209 } }, "else": { "operation": "boost", "score": 0.1143384799361229 } }, "else": { "operation": "boost", "score": 0.019557679072022438 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.1844148188829422 }, "else": { "operation": "boost", "score": 0.20996323227882385 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.15632183849811554 }, "else": { "operation": "boost", "score": 0.18459263443946838 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.01270543783903122 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "boost", "score": 0.0933292806148529 }, "else": { "operation": "boost", "score": 0.05499543249607086 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.016242429614067078 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": -0.7652757167816162 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0032784249633550644 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.006241426337510347 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04236863553524017 }, "else": { "operation": "boost", "score": -0.1831478327512741 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.019137252122163773 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3008975088596344 }, "else": { "operation": "boost", "score": -0.08089683949947357 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.049990955740213394 }, "else": { "operation": "boost", "score": -0.05808155611157417 } } } } }, "else": { "operation": "boost", "score": 0.05609293282032013 } } } } } } } } } }, "else": { "operation": "boost", "score": -5.868276275577955e-06 } }, "else": { "operation": "boost", "score": -0.09230780601501465 } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11888.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12127.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008458414115011692 }, "else": { "operation": "boost", "score": -0.5952408909797668 } }, "else": { "operation": "boost", "score": 0.02575584314763546 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.09892572462558746 }, "else": { "operation": "boost", "score": 0.12899631261825562 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11365.5, "then": { "operation": "boost", "score": -0.19039399921894073 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9937.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10005.5, "then": { "operation": "boost", "score": 0.09365364164113998 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1300690621137619 }, "else": { "operation": "boost", "score": 0.12921088933944702 } } }, "else": { "operation": "boost", "score": 0.007025180384516716 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.03815673291683197 }, "else": { "operation": "boost", "score": -0.8939321041107178 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6280.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7673.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8217.5, "then": { "operation": "boost", "score": -0.09959990531206131 }, "else": { "operation": "boost", "score": 0.1598455309867859 } }, "else": { "operation": "boost", "score": 0.18487204611301422 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7382.5, "then": { "operation": "boost", "score": -0.5038909912109375 }, "else": { "operation": "boost", "score": 0.08823347836732864 } } }, "else": { "operation": "boost", "score": -0.012103124521672726 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.06859893351793289 }, "else": { "operation": "boost", "score": -0.09573472291231155 } } }, "else": { "operation": "boost", "score": 0.0014065635623410344 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.01744156703352928 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.15379111468791962 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 295.0, "then": { "operation": "boost", "score": 0.08443696051836014 }, "else": { "operation": "boost", "score": 0.14774161577224731 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12317.5, "then": { "operation": "boost", "score": 0.16024072468280792 }, "else": { "operation": "boost", "score": -0.10004398226737976 } }, "else": { "operation": "boost", "score": 0.03250380977988243 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.14255845546722412 }, "else": { "operation": "boost", "score": 0.12387582659721375 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0687517300248146 }, "else": { "operation": "boost", "score": -0.5824673771858215 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02023589052259922 }, "else": { "operation": "boost", "score": 0.01048292312771082 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.09058074653148651 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1317017823457718 }, "else": { "operation": "boost", "score": 0.09078788757324219 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.007824907079339027 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 243.5, "then": { "operation": "boost", "score": 0.03365885466337204 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.0, "then": { "operation": "boost", "score": 0.012969130650162697 }, "else": { "operation": "boost", "score": 0.13061723113059998 } } }, "else": { "operation": "boost", "score": -0.19509805738925934 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 180.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259.5, "then": { "operation": "boost", "score": 0.015024389140307903 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 210.0, "then": { "operation": "boost", "score": 0.23128582537174225 }, "else": { "operation": "boost", "score": 0.16667868196964264 } } }, "else": { "operation": "boost", "score": 0.005235161166638136 } }, "else": { "operation": "boost", "score": -0.0032353613059967756 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20449.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24563.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02529648132622242 }, "else": { "operation": "boost", "score": -0.2229522466659546 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10725543648004532 }, "else": { "operation": "boost", "score": -0.5239505171775818 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17486.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.15056146681308746 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19986.0, "then": { "operation": "boost", "score": -0.3922637701034546 }, "else": { "operation": "boost", "score": 0.10548528283834457 } } }, "else": { "operation": "boost", "score": -0.02973240613937378 } } } } }, "else": { "operation": "boost", "score": -0.025987917557358742 } }, "else": { "operation": "boost", "score": 0.0020898596849292517 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.11964304745197296 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11745724827051163 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1122.5, "then": { "operation": "boost", "score": 0.091887928545475 }, "else": { "operation": "boost", "score": 0.18905463814735413 } }, "else": { "operation": "boost", "score": -0.16565477848052979 } }, "else": { "operation": "boost", "score": 0.012606154195964336 } }, "else": { "operation": "boost", "score": -5.228519057709491e-06 } }, "else": { "operation": "boost", "score": 0.008727756328880787 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10801827162504196 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90.5, "then": { "operation": "boost", "score": 0.014966331422328949 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88.5, "then": { "operation": "boost", "score": -0.5197571516036987 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.5, "then": { "operation": "boost", "score": 0.12701651453971863 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.5710087418556213 }, "else": { "operation": "boost", "score": -0.023893196135759354 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.12290836870670319 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.15193141996860504 }, "else": { "operation": "boost", "score": 0.0201300997287035 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 713.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2348.0, "then": { "operation": "boost", "score": 0.11860755831003189 }, "else": { "operation": "boost", "score": -0.015613981522619724 } }, "else": { "operation": "boost", "score": -0.06677159667015076 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 311.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 315.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.1130317822098732 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 497.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 584.5, "then": { "operation": "boost", "score": 0.04632841795682907 }, "else": { "operation": "boost", "score": -0.21129877865314484 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 440.5, "then": { "operation": "boost", "score": 0.07528991252183914 }, "else": { "operation": "boost", "score": 0.007944485172629356 } } } }, "else": { "operation": "boost", "score": 0.15866485238075256 } }, "else": { "operation": "boost", "score": -0.01561479177325964 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.03718859702348709 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013091526925563812 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.10518446564674377 }, "else": { "operation": "boost", "score": 0.020490184426307678 } }, "else": { "operation": "boost", "score": 0.010401537641882896 } } }, "else": { "operation": "boost", "score": -0.002476133406162262 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01520582102239132 }, "else": { "operation": "boost", "score": -0.04661082848906517 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.020863166078925133 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.09760754555463791 }, "else": { "operation": "boost", "score": -0.13645699620246887 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10782479494810104 }, "else": { "operation": "boost", "score": 0.0709933489561081 } }, "else": { "operation": "boost", "score": 0.1557874083518982 } }, "else": { "operation": "boost", "score": 0.03843434900045395 } }, "else": { "operation": "boost", "score": -0.011067604646086693 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.0903095006942749 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13047316670417786 }, "else": { "operation": "boost", "score": 0.03708070144057274 } }, "else": { "operation": "boost", "score": -0.05689764395356178 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.5, "then": { "operation": "boost", "score": -0.20016144216060638 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.13512176275253296 }, "else": { "operation": "boost", "score": 0.048518382012844086 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.11087024956941605 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": 0.08014637976884842 }, "else": { "operation": "boost", "score": 0.012332971207797527 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.7042045593261719 }, "else": { "operation": "boost", "score": -0.029785729944705963 } }, "else": { "operation": "boost", "score": 0.043365564197301865 } }, "else": { "operation": "boost", "score": -0.0593760721385479 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "boost", "score": 0.04512321949005127 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.052548885345458984 }, "else": { "operation": "boost", "score": -0.06441076099872589 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.09447026997804642 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08394549041986465 }, "else": { "operation": "boost", "score": -0.05306601524353027 } }, "else": { "operation": "boost", "score": 0.041267815977334976 } }, "else": { "operation": "boost", "score": 0.009273529052734375 } } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.09199301898479462 }, "else": { "operation": "boost", "score": -0.11506873369216919 } }, "else": { "operation": "boost", "score": 0.020177777856588364 } }, "else": { "operation": "boost", "score": 0.002171463333070278 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00023910205345600843 }, "else": { "operation": "boost", "score": -0.0020359845366328955 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.003702468704432249 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.013230588287115097 }, "else": { "operation": "boost", "score": -0.20320695638656616 } }, "else": { "operation": "boost", "score": 0.032940804958343506 } }, "else": { "operation": "boost", "score": 0.0061380756087601185 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.000432012602686882 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.006339645944535732 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19688071310520172 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.07953860610723495 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.10528761893510818 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0355822890996933 }, "else": { "operation": "boost", "score": 0.10150455683469772 } } }, "else": { "operation": "boost", "score": 0.1277584284543991 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.017327930778265 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.0, "then": { "operation": "boost", "score": 0.21737739443778992 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": 0.02457679621875286 }, "else": { "operation": "boost", "score": 0.16853933036327362 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10260973870754242 }, "else": { "operation": "boost", "score": -0.298422634601593 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07563180476427078 }, "else": { "operation": "boost", "score": 0.11935374140739441 } } }, "else": { "operation": "boost", "score": 0.01196671836078167 } }, "else": { "operation": "boost", "score": 0.04844559729099274 } } } } } }, "else": { "operation": "boost", "score": 0.11596296727657318 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.13801369071006775 }, "else": { "operation": "boost", "score": 0.0950603038072586 } }, "else": { "operation": "boost", "score": -0.058494046330451965 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 182.0, "then": { "operation": "boost", "score": 0.1271420270204544 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09850997477769852 }, "else": { "operation": "boost", "score": 0.027021901682019234 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.06356561928987503 }, "else": { "operation": "boost", "score": -0.5306468605995178 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.07885763794183731 }, "else": { "operation": "boost", "score": 0.11279445141553879 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09331149607896805 }, "else": { "operation": "boost", "score": 0.03660789877176285 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.02668176405131817 }, "else": { "operation": "boost", "score": 0.07353518158197403 } }, "else": { "operation": "boost", "score": -0.15384668111801147 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.5, "then": { "operation": "boost", "score": -0.19992491602897644 }, "else": { "operation": "boost", "score": 0.1129177138209343 } }, "else": { "operation": "boost", "score": 0.016430871561169624 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3958333134651184, "then": { "operation": "boost", "score": 0.12637081742286682 }, "else": { "operation": "boost", "score": -0.14150339365005493 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2750000059604645, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014548071660101414 }, "else": { "operation": "boost", "score": 0.10582976043224335 } }, "else": { "operation": "boost", "score": 0.11840711534023285 } } }, "else": { "operation": "boost", "score": -0.020290561020374298 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.049428828060626984 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.0499170757830143 }, "else": { "operation": "boost", "score": -0.24286127090454102 } }, "else": { "operation": "boost", "score": -0.0010961109073832631 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.048336803913116455 }, "else": { "operation": "boost", "score": -0.21932336688041687 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.19522137939929962 }, "else": { "operation": "boost", "score": -0.04530489817261696 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10453271865844727 }, "else": { "operation": "boost", "score": 0.09338504821062088 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.06377960741519928 }, "else": { "operation": "boost", "score": 0.21885930001735687 } }, "else": { "operation": "boost", "score": -0.11013541370630264 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1352727860212326 }, "else": { "operation": "boost", "score": 0.014265090227127075 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08467652648687363 }, "else": { "operation": "boost", "score": -0.06344912201166153 } } }, "else": { "operation": "boost", "score": -0.033365398645401 } } }, "else": { "operation": "boost", "score": 0.01121558714658022 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.16860851645469666 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.022427309304475784 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.1225014179944992 }, "else": { "operation": "boost", "score": -0.009127918630838394 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.14499931037425995 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.019365351647138596 }, "else": { "operation": "boost", "score": 0.08018437772989273 } }, "else": { "operation": "boost", "score": -0.01462502870708704 } } }, "else": { "operation": "boost", "score": 0.08802904933691025 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.006573817227035761 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10880439728498459 }, "else": { "operation": "boost", "score": -0.24455909430980682 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004135529976338148 }, "else": { "operation": "boost", "score": 0.01814415119588375 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0017173168016597629 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.10176557302474976 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.05269790440797806 }, "else": { "operation": "boost", "score": -0.14894790947437286 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.024984678253531456 }, "else": { "operation": "boost", "score": 0.03587481752038002 } } }, "else": { "operation": "boost", "score": -0.029167553409934044 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008755495771765709 }, "else": { "operation": "boost", "score": -0.2363905906677246 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11507681012153625 }, "else": { "operation": "boost", "score": 0.08473473787307739 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.054769374430179596 }, "else": { "operation": "boost", "score": 0.07169224321842194 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.034589651972055435 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.4623119533061981 }, "else": { "operation": "boost", "score": -0.007550915703177452 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.09792331606149673 }, "else": { "operation": "boost", "score": 0.0631115585565567 } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.8330191969871521 }, "else": { "operation": "boost", "score": 0.005732627585530281 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.020315110683441162 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "boost", "score": -0.11312459409236908 }, "else": { "operation": "boost", "score": 0.015183785930275917 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006039576139301062 }, "else": { "operation": "boost", "score": -0.02722844108939171 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.08193577080965042 }, "else": { "operation": "boost", "score": 0.05641449615359306 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.13173794746398926 }, "else": { "operation": "boost", "score": 0.08171898871660233 } } }, "else": { "operation": "boost", "score": -0.015518827363848686 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.03872660547494888 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.13123025000095367 }, "else": { "operation": "boost", "score": 0.19569063186645508 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.015706460922956467 }, "else": { "operation": "boost", "score": -0.01399089302867651 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.10148826241493225 }, "else": { "operation": "boost", "score": -0.005103521514683962 } }, "else": { "operation": "boost", "score": -0.027219150215387344 } } } }, "else": { "operation": "boost", "score": 0.004977033007889986 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.00073273666203022 }, "else": { "operation": "boost", "score": 0.10918352007865906 } }, "else": { "operation": "boost", "score": -0.00626154663041234 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.0005199492443352938 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.16051852703094482 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07097196578979492 }, "else": { "operation": "boost", "score": -0.027448736131191254 } }, "else": { "operation": "boost", "score": -0.16115087270736694 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1450.0, "then": { "operation": "boost", "score": 0.023074399679899216 }, "else": { "operation": "boost", "score": 0.0022686882875859737 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.07292092591524124 }, "else": { "operation": "boost", "score": 0.08767379075288773 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.09841771423816681 }, "else": { "operation": "boost", "score": 0.037571027874946594 } }, "else": { "operation": "boost", "score": 0.00526876375079155 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.03646324947476387 }, "else": { "operation": "boost", "score": 0.12839961051940918 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.028943762183189392 }, "else": { "operation": "boost", "score": 0.11721870303153992 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.2586876451969147 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.08729113638401031 }, "else": { "operation": "boost", "score": 0.1148727610707283 } }, "else": { "operation": "boost", "score": 0.11571932584047318 } } } }, "else": { "operation": "boost", "score": 0.008870680816471577 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.0008617429994046688 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "boost", "score": 0.024627620354294777 }, "else": { "operation": "boost", "score": 0.13805149495601654 } }, "else": { "operation": "boost", "score": 0.006799724884331226 } } } }, "else": { "operation": "boost", "score": -0.020047128200531006 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 648.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1361.0, "then": { "operation": "boost", "score": -0.03618226945400238 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1279.5, "then": { "operation": "boost", "score": -0.6803434491157532 }, "else": { "operation": "boost", "score": -0.19730369746685028 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 396.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 495.5, "then": { "operation": "boost", "score": 0.11068783700466156 }, "else": { "operation": "boost", "score": -0.018877733498811722 } }, "else": { "operation": "boost", "score": 0.1190459132194519 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 357.5, "then": { "operation": "boost", "score": -0.6627768874168396 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.15494877099990845 }, "else": { "operation": "boost", "score": -0.39856618642807007 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.009481096640229225 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": 0.007421695627272129 }, "else": { "operation": "boost", "score": 0.1383848935365677 } }, "else": { "operation": "boost", "score": 0.15480303764343262 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12213046848773956 }, "else": { "operation": "boost", "score": 0.06629760563373566 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04166930168867111 }, "else": { "operation": "boost", "score": -0.03393044322729111 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.02291332744061947 }, "else": { "operation": "boost", "score": 0.1481182724237442 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07086877524852753 }, "else": { "operation": "boost", "score": -0.08217267692089081 } } }, "else": { "operation": "boost", "score": 0.11451483517885208 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.029768606647849083 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08734334260225296 }, "else": { "operation": "boost", "score": -0.08791433274745941 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09419343620538712 }, "else": { "operation": "boost", "score": 0.028269855305552483 } } }, "else": { "operation": "boost", "score": -0.12736444175243378 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12713678181171417 }, "else": { "operation": "boost", "score": 0.016982130706310272 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08918511867523193 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.1000649631023407 }, "else": { "operation": "boost", "score": 0.03627493232488632 } }, "else": { "operation": "boost", "score": 0.00802569929510355 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.1395505666732788 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10576090961694717 }, "else": { "operation": "boost", "score": -0.17985926568508148 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.0765245258808136 }, "else": { "operation": "boost", "score": -0.3245692253112793 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.08796023577451706 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.12301111966371536 }, "else": { "operation": "boost", "score": -0.046503935009241104 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2769940197467804 }, "else": { "operation": "boost", "score": -0.043732233345508575 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03586871922016144 }, "else": { "operation": "boost", "score": -0.21116285026073456 } } }, "else": { "operation": "boost", "score": -0.06898624449968338 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.013787567615509033 }, "else": { "operation": "boost", "score": -0.0956742987036705 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 254.5, "then": { "operation": "boost", "score": 0.07382883876562119 }, "else": { "operation": "boost", "score": 0.14660567045211792 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "boost", "score": -0.014135662466287613 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.21482223272323608 }, "else": { "operation": "boost", "score": 0.16379746794700623 } }, "else": { "operation": "boost", "score": -0.08286270499229431 } }, "else": { "operation": "boost", "score": -0.19582270085811615 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": 0.11072696000337601 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.02085915394127369 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.10088792443275452 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.035581089556217194 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.0, "then": { "operation": "boost", "score": 0.10967177152633667 }, "else": { "operation": "boost", "score": -0.21775545179843903 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1337413787841797 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1567978411912918 }, "else": { "operation": "boost", "score": 0.0974794551730156 } } } } } }, "else": { "operation": "boost", "score": 0.032871026545763016 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": -0.05605876073241234 }, "else": { "operation": "boost", "score": 0.038035307079553604 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.0, "then": { "operation": "boost", "score": -0.2608788311481476 }, "else": { "operation": "boost", "score": 0.08352640271186829 } }, "else": { "operation": "boost", "score": -0.4840855002403259 } } } }, "else": { "operation": "boost", "score": 0.0012842889409512281 } } }, "else": { "operation": "boost", "score": -0.04006645083427429 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10495787858963013 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.12004092335700989 }, "else": { "operation": "boost", "score": 0.042380768805742264 } } }, "else": { "operation": "boost", "score": -0.0012755568604916334 } }, "else": { "operation": "boost", "score": 0.07632278650999069 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.005655668210238218 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07773572951555252 }, "else": { "operation": "boost", "score": -0.22581809759140015 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.17747801542282104 }, "else": { "operation": "boost", "score": 0.15045373141765594 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05523218587040901 }, "else": { "operation": "boost", "score": -0.08229099214076996 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15088605880737305 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10441885143518448 }, "else": { "operation": "boost", "score": 0.002318008104339242 } }, "else": { "operation": "boost", "score": 0.279092013835907 } } } }, "else": { "operation": "boost", "score": -0.007076118607074022 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10635150969028473 }, "else": { "operation": "boost", "score": 0.07409121096134186 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11372093856334686 }, "else": { "operation": "boost", "score": 0.08734279125928879 } } }, "else": { "operation": "boost", "score": 0.025508182123303413 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.029523834586143494 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.028676047921180725 }, "else": { "operation": "boost", "score": 0.09447567164897919 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09055795520544052 }, "else": { "operation": "boost", "score": -0.056728385388851166 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "boost", "score": 0.016720060259103775 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.12274657934904099 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "boost", "score": 0.04711627587676048 }, "else": { "operation": "boost", "score": 0.14376099407672882 } } } }, "else": { "operation": "boost", "score": 0.005860097240656614 } } } } } } } } }, "else": { "operation": "boost", "score": -0.12303991615772247 } } }, "else": { "operation": "boost", "score": -0.00012495233386289328 } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004012473858892918 }, "else": { "operation": "boost", "score": -0.021281328052282333 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.03403864800930023 }, "else": { "operation": "boost", "score": -0.6021947860717773 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05579746514558792, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03432459011673927 }, "else": { "operation": "boost", "score": -0.08019766211509705 } }, "else": { "operation": "boost", "score": -0.12694497406482697 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03532892465591431 }, "else": { "operation": "boost", "score": -0.031114069744944572 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.025548385456204414 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0023001120425760746 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01914958469569683 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": -0.1319388449192047 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.0, "then": { "operation": "boost", "score": -3.190878391265869 }, "else": { "operation": "boost", "score": -0.3393269181251526 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09315747767686844 }, "else": { "operation": "boost", "score": -0.051464952528476715 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.15727311372756958 }, "else": { "operation": "boost", "score": 0.036080941557884216 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.035365089774131775 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.044616300612688065 }, "else": { "operation": "boost", "score": -0.115547776222229 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.033820487558841705 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9642857313156128, "then": { "operation": "boost", "score": 0.11826121807098389 }, "else": { "operation": "boost", "score": -0.012085416354238987 } } } } }, "else": { "operation": "boost", "score": -0.0025730284396559 } }, "else": { "operation": "boost", "score": 0.0808468610048294 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.08621549606323242 }, "else": { "operation": "boost", "score": 0.03189960867166519 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09960882365703583 }, "else": { "operation": "boost", "score": 0.022377945482730865 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.12033271044492722 }, "else": { "operation": "boost", "score": -0.03532039746642113 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11706745624542236 }, "else": { "operation": "boost", "score": -0.1715794950723648 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.008991959504783154 }, "else": { "operation": "boost", "score": -0.009898011572659016 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014595955610275269 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.05491660535335541 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07664073258638382 }, "else": { "operation": "boost", "score": 0.007753151003271341 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.0786065012216568 }, "else": { "operation": "boost", "score": -0.015747906640172005 } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03460643067955971 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0604235902428627 }, "else": { "operation": "boost", "score": -0.1554519683122635 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": 0.14396962523460388 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": 0.39774417877197266 }, "else": { "operation": "boost", "score": 0.1903803050518036 } } }, "else": { "operation": "boost", "score": 0.060525666922330856 } }, "else": { "operation": "boost", "score": -0.04506361111998558 } }, "else": { "operation": "boost", "score": -0.026781344786286354 } }, "else": { "operation": "boost", "score": -0.05275018885731697 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.10884400457143784 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.044394511729478836 }, "else": { "operation": "boost", "score": -0.0462484136223793 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.04770649969577789 }, "else": { "operation": "boost", "score": -0.04469643905758858 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.11375856399536133 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.12646925449371338 }, "else": { "operation": "boost", "score": 0.08055663853883743 } } }, "else": { "operation": "boost", "score": -0.005921563133597374 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.0036059527192264795 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.005923907272517681 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.004879368934780359 }, "else": { "operation": "boost", "score": -0.35272884368896484 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6833333373069763, "then": { "operation": "boost", "score": 0.07494517415761948 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.07856767624616623 }, "else": { "operation": "boost", "score": 0.007709156256169081 } }, "else": { "operation": "boost", "score": -0.19657978415489197 } }, "else": { "operation": "boost", "score": -0.0026246507186442614 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.08748823404312134 }, "else": { "operation": "boost", "score": 0.11755818873643875 } }, "else": { "operation": "boost", "score": -0.042432840913534164 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.0593080036342144 }, "else": { "operation": "boost", "score": 0.03563841059803963 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03649406507611275 }, "else": { "operation": "boost", "score": 0.021840572357177734 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0376690998673439 }, "else": { "operation": "boost", "score": -0.1496574431657791 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16821135580539703 }, "else": { "operation": "boost", "score": 0.1062401831150055 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.004858083091676235 }, "else": { "operation": "boost", "score": -0.07452590763568878 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.019827693700790405 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.017095422372221947 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07234644144773483 }, "else": { "operation": "boost", "score": -0.10106798261404037 } } }, "else": { "operation": "boost", "score": -0.023627379909157753 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004460535477846861 }, "else": { "operation": "boost", "score": -0.014077886939048767 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": 0.01010433305054903 }, "else": { "operation": "boost", "score": 0.0010763411410152912 } } }, "else": { "operation": "boost", "score": -0.2636924982070923 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.07236484438180923 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.08486971259117126 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08105906844139099 }, "else": { "operation": "boost", "score": 0.029370548203587532 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.10154026746749878 }, "else": { "operation": "boost", "score": -0.05725009739398956 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07118688523769379 }, "else": { "operation": "boost", "score": -0.2864881753921509 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01543132308870554 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.004525091499090195 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.01581507734954357 }, "else": { "operation": "boost", "score": 0.14928379654884338 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0827154591679573 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.18488003313541412 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.17008943855762482 }, "else": { "operation": "boost", "score": -0.14443296194076538 } }, "else": { "operation": "boost", "score": -0.08318889886140823 } } } } }, "else": { "operation": "boost", "score": 1.177601734525524e-05 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.4182063341140747 }, "else": { "operation": "boost", "score": -0.07156610488891602 } }, "else": { "operation": "boost", "score": -0.007262249942868948 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.21576383709907532 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.0674905776977539 }, "else": { "operation": "boost", "score": 0.0930914357304573 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.04128637537360191 }, "else": { "operation": "boost", "score": 0.001015470246784389 } } } }, "else": { "operation": "boost", "score": -0.008320899680256844 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.08371656388044357 }, "else": { "operation": "boost", "score": 0.00326783605851233 } }, "else": { "operation": "boost", "score": 0.0007673390791751444 } } }, "else": { "operation": "boost", "score": -0.034243226051330566 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09088104218244553 }, "else": { "operation": "boost", "score": -0.0018896542023867369 } }, "else": { "operation": "boost", "score": 0.0004088838759344071 } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0017496675718575716 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07672549039125443 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.03853778913617134 }, "else": { "operation": "boost", "score": 0.0065057347528636456 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.006118709687143564 }, "else": { "operation": "boost", "score": -0.1416633427143097 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 868.0, "then": { "operation": "boost", "score": 0.1412079632282257 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.03598994016647339 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.034621164202690125 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.16958360373973846 }, "else": { "operation": "boost", "score": 0.10467514395713806 } } } }, "else": { "operation": "boost", "score": 0.007908961735665798 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.0, "then": { "operation": "boost", "score": 0.23487593233585358 }, "else": { "operation": "boost", "score": 0.0707104280591011 } }, "else": { "operation": "boost", "score": -0.12982399761676788 } } } }, "else": { "operation": "boost", "score": 0.00962760578840971 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8999999761581421, "then": { "operation": "boost", "score": 0.1108512431383133 }, "else": { "operation": "boost", "score": -0.20043796300888062 } }, "else": { "operation": "boost", "score": -0.01758730039000511 } } }, "else": { "operation": "boost", "score": -0.07486077398061752 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9444444179534912, "then": { "operation": "boost", "score": -0.02939712628722191 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.09346214681863785 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11632600426673889 }, "else": { "operation": "boost", "score": 0.1406765729188919 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.004571117460727692 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.07300399988889694 }, "else": { "operation": "boost", "score": 0.01162432786077261 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.05203501507639885 }, "else": { "operation": "boost", "score": -0.008152026683092117 } }, "else": { "operation": "boost", "score": 0.08341947197914124 } } } } }, "else": { "operation": "boost", "score": 0.009178970009088516 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.33556801080703735 }, "else": { "operation": "boost", "score": -0.1662372350692749 } } }, "else": { "operation": "boost", "score": 0.0015650630230084062 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.24354028701782227 }, "else": { "operation": "boost", "score": -0.2907702922821045 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.14700408279895782 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004096746910363436 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.09532208740711212 }, "else": { "operation": "boost", "score": 0.11147577315568924 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "boost", "score": 0.09627348184585571 }, "else": { "operation": "boost", "score": -0.0879228487610817 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06020495668053627 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.1518704742193222 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.03675667196512222 }, "else": { "operation": "boost", "score": 0.09797866642475128 } }, "else": { "operation": "boost", "score": 0.0872524082660675 } } } }, "else": { "operation": "boost", "score": -0.06010898947715759 } }, "else": { "operation": "boost", "score": -0.03478241711854935 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.00303442170843482 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": 0.05090876296162605 }, "else": { "operation": "boost", "score": -0.2626609206199646 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.0696600005030632 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": 0.03381642326712608 }, "else": { "operation": "boost", "score": -0.12432394176721573 } }, "else": { "operation": "boost", "score": 0.054382067173719406 } } }, "else": { "operation": "boost", "score": -0.45594385266304016 } }, "else": { "operation": "boost", "score": 0.005985877010971308 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "boost", "score": 0.03910874202847481 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.12900494039058685 }, "else": { "operation": "boost", "score": 0.09417817741632462 } } }, "else": { "operation": "boost", "score": -0.19410340487957 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10315870493650436 }, "else": { "operation": "boost", "score": 0.017633311450481415 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.1378777176141739 }, "else": { "operation": "boost", "score": -0.383034884929657 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.030748669058084488 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": 0.15311163663864136 }, "else": { "operation": "boost", "score": -0.06509532779455185 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.023314937949180603 }, "else": { "operation": "boost", "score": -0.05207241699099541 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10725896805524826 }, "else": { "operation": "boost", "score": 0.01338502112776041 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.03461271524429321 }, "else": { "operation": "boost", "score": 0.07401660829782486 } }, "else": { "operation": "boost", "score": -0.013008114881813526 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.12765032052993774 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1411193311214447 }, "else": { "operation": "boost", "score": -0.1007477343082428 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4833333492279053, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "boost", "score": 0.005828942637890577 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.016186203807592392 }, "else": { "operation": "boost", "score": 0.06644442677497864 } }, "else": { "operation": "boost", "score": -0.09982267767190933 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09422796964645386 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.6258599758148193 }, "else": { "operation": "boost", "score": -0.13766108453273773 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.253724068403244 }, "else": { "operation": "boost", "score": 0.03146176412701607 } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08214855939149857 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.018878119066357613 }, "else": { "operation": "boost", "score": 0.129124715924263 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.028063781559467316 }, "else": { "operation": "boost", "score": -0.002961815567687154 } } }, "else": { "operation": "boost", "score": -0.014164800755679607 } }, "else": { "operation": "boost", "score": -0.0007381345494650304 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11656755208969116 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.026477381587028503 }, "else": { "operation": "boost", "score": -0.00543661555275321 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008554128929972649 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08599353581666946 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.04271992668509483 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19670052826404572 }, "else": { "operation": "boost", "score": 0.01930234208703041 } } } } } }, "else": { "operation": "boost", "score": -0.2074476033449173 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.00917547382414341 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.0022172476164996624 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.17005248367786407 }, "else": { "operation": "boost", "score": -0.04523176699876785 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.23609966039657593 }, "else": { "operation": "boost", "score": -0.18335780501365662 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.005660921335220337 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.07972007244825363 }, "else": { "operation": "boost", "score": -0.18878336250782013 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.12025518715381622 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.0429559089243412 }, "else": { "operation": "boost", "score": -0.2578813433647156 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08655235171318054 }, "else": { "operation": "boost", "score": -0.00675092451274395 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.10625661164522171 }, "else": { "operation": "boost", "score": -0.14891062676906586 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator" ], "then": { "operation": "boost", "score": 0.1371746063232422 }, "else": { "operation": "boost", "score": -0.27455276250839233 } } }, "else": { "operation": "boost", "score": -0.03907783329486847 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2627253830432892 }, "else": { "operation": "boost", "score": 0.07887981832027435 } } } } } } }, "else": { "operation": "boost", "score": -0.03442433848977089 } } } }, "else": { "operation": "boost", "score": -0.0007125415140762925 } } } } }, "else": { "operation": "boost", "score": -0.0003853313100989908 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.006080944091081619 }, "else": { "operation": "boost", "score": 0.0008736902382224798 } }, "else": { "operation": "boost", "score": 0.0005482733831740916 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.0005566305480897427 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.030839983373880386 }, "else": { "operation": "boost", "score": 0.09444493055343628 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0007462198846042156 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.017749935388565063 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": -0.019224276766180992 }, "else": { "operation": "boost", "score": 0.12718376517295837 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62714.5, "then": { "operation": "boost", "score": 0.06822828203439713 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.7727490067481995 }, "else": { "operation": "boost", "score": -0.07611553370952606 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.027056235820055008 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.08811349421739578 }, "else": { "operation": "boost", "score": -1.5804709196090698 } }, "else": { "operation": "boost", "score": -1.0803390741348267 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12774.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28296.5, "then": { "operation": "boost", "score": 0.006121182814240456 }, "else": { "operation": "boost", "score": -0.08550867438316345 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11563.0, "then": { "operation": "boost", "score": 0.12290205806493759 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.002725684316828847 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.28603848814964294 }, "else": { "operation": "boost", "score": 0.02559436485171318 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.18973274528980255 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07307405024766922 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0839160829782486, "then": { "operation": "boost", "score": 0.11705132573843002 }, "else": { "operation": "boost", "score": 0.0639728382229805 } } } } }, "else": { "operation": "boost", "score": 0.015918442979454994 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220295.0, "then": { "operation": "boost", "score": -0.14056625962257385 }, "else": { "operation": "boost", "score": -0.007108989637345076 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4514.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13428.0, "then": { "operation": "boost", "score": 0.0161591786891222 }, "else": { "operation": "boost", "score": 0.06587956845760345 } }, "else": { "operation": "boost", "score": 0.012236077338457108 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.07504977285861969 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0897272601723671 }, "else": { "operation": "boost", "score": 0.033291302621364594 } } }, "else": { "operation": "boost", "score": 0.03836053982377052 } }, "else": { "operation": "boost", "score": -0.012830281630158424 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.017123078927397728 }, "else": { "operation": "boost", "score": -0.018527546897530556 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0051068393513560295 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 383039.5, "then": { "operation": "boost", "score": -0.04809238761663437 }, "else": { "operation": "boost", "score": -0.005069971550256014 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9527.5, "then": { "operation": "boost", "score": -0.0189491156488657 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8754.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8976.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10810165852308273 }, "else": { "operation": "boost", "score": 0.19443324208259583 } }, "else": { "operation": "boost", "score": 0.5219702124595642 } }, "else": { "operation": "boost", "score": 0.010272413492202759 } }, "else": { "operation": "boost", "score": 0.004773812834173441 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 581.0, "then": { "operation": "boost", "score": -0.12146911770105362 }, "else": { "operation": "boost", "score": 0.03372682258486748 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.6466081142425537 }, "else": { "operation": "boost", "score": 0.0973920002579689 } }, "else": { "operation": "boost", "score": 0.07295607775449753 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 80.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.23941954970359802 }, "else": { "operation": "boost", "score": -0.10365785658359528 } }, "else": { "operation": "boost", "score": -0.002773136366158724 } } }, "else": { "operation": "boost", "score": 0.018683496862649918 } }, "else": { "operation": "boost", "score": 0.0011117300018668175 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.047679074108600616 }, "else": { "operation": "boost", "score": 0.06495200842618942 } }, "else": { "operation": "boost", "score": -0.03588121384382248 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1064574271440506 }, "else": { "operation": "boost", "score": 0.06103716045618057 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0713755339384079 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016084972769021988 }, "else": { "operation": "boost", "score": 0.09630819410085678 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.2600895166397095 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.13125687837600708 }, "else": { "operation": "boost", "score": 0.06764135509729385 } }, "else": { "operation": "boost", "score": 0.020754940807819366 } }, "else": { "operation": "boost", "score": -0.0337059386074543 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07791082561016083 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021746618673205376 }, "else": { "operation": "boost", "score": 0.13862670958042145 } }, "else": { "operation": "boost", "score": 0.02030777744948864 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021309807896614075 }, "else": { "operation": "boost", "score": -0.007952232845127583 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.02070043236017227 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 269.5, "then": { "operation": "boost", "score": 0.20592370629310608 }, "else": { "operation": "boost", "score": 0.0481991320848465 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.005525550339370966 }, "else": { "operation": "boost", "score": -0.17323726415634155 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": -0.10326321423053741 }, "else": { "operation": "boost", "score": -0.042994823306798935 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 580.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 669.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.022341767325997353 }, "else": { "operation": "boost", "score": 0.004955622833222151 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 668.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08322571218013763 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.1560979187488556 }, "else": { "operation": "boost", "score": 0.03537347540259361 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 618.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 621.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 654.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 660.5, "then": { "operation": "boost", "score": -0.10047280043363571 }, "else": { "operation": "boost", "score": 0.29479196667671204 } }, "else": { "operation": "boost", "score": -0.0408974289894104 } }, "else": { "operation": "boost", "score": 0.18873882293701172 } }, "else": { "operation": "boost", "score": -0.0186233501881361 } }, "else": { "operation": "boost", "score": 0.029715709388256073 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 535.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05649390444159508 }, "else": { "operation": "boost", "score": -0.13148446381092072 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.002187741454690695 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.030016478151082993 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.049301888793706894 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.11436574161052704 }, "else": { "operation": "boost", "score": -0.5362542271614075 } }, "else": { "operation": "boost", "score": -0.22706158459186554 } } }, "else": { "operation": "boost", "score": -0.014140366576611996 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08749788999557495 }, "else": { "operation": "boost", "score": 0.044945843517780304 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.10530268400907516 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011609993875026703 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 393.5, "then": { "operation": "boost", "score": 0.03377389907836914 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 121.5, "then": { "operation": "boost", "score": -0.02787509746849537 }, "else": { "operation": "boost", "score": 0.005362443160265684 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 390.0, "then": { "operation": "boost", "score": -0.5606075525283813 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.004108667839318514 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.012157432734966278 }, "else": { "operation": "boost", "score": 0.014387411996722221 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.21020197868347168 }, "else": { "operation": "boost", "score": -0.3210557699203491 } }, "else": { "operation": "boost", "score": -0.010529069229960442 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.027179529890418053 }, "else": { "operation": "boost", "score": -0.2615779638290405 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.0634869635105133 }, "else": { "operation": "boost", "score": -0.07761352509260178 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07446866482496262 }, "else": { "operation": "boost", "score": -0.14203451573848724 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.021441087126731873 }, "else": { "operation": "boost", "score": 0.016134001314640045 } } }, "else": { "operation": "boost", "score": -0.1446685492992401 } } } } } } } } } } } } } }, { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0044287145137786865 }, "else": { "operation": "boost", "score": 0.00019040994811803102 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.02125779166817665 }, "else": { "operation": "boost", "score": 0.5686025023460388 } }, "else": { "operation": "boost", "score": 0.01226062886416912 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.007147838827222586 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06239712983369827 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.047261793166399 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.30042755603790283 }, "else": { "operation": "boost", "score": 0.05214018374681473 } }, "else": { "operation": "boost", "score": -0.05201488733291626 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00566534698009491 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.06293074041604996 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": -0.9475957155227661 }, "else": { "operation": "boost", "score": 0.08717963844537735 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0161000806838274 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.282368540763855 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.003216107375919819 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.09266919642686844 }, "else": { "operation": "boost", "score": -0.5508273839950562 } } } } }, "else": { "operation": "boost", "score": -0.04593617841601372 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": 0.011377382092177868 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.14308132231235504 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04276003688573837 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1281125843524933 }, "else": { "operation": "boost", "score": 0.08260753750801086 } }, "else": { "operation": "boost", "score": 0.07065144181251526 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.08813273906707764 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08948171138763428 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12899242341518402 }, "else": { "operation": "boost", "score": 0.06026136502623558 } }, "else": { "operation": "boost", "score": 0.014549687504768372 } } } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026737239211797714 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.004312308970838785 }, "else": { "operation": "boost", "score": -0.0046807024627923965 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3100961446762085, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0037946393713355064 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0018020633142441511 }, "else": { "operation": "boost", "score": -0.06895647197961807 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.005947585683315992 }, "else": { "operation": "boost", "score": 0.020465679466724396 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.029160279780626297 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19619475305080414 }, "else": { "operation": "boost", "score": -0.04981169477105141 } }, "else": { "operation": "boost", "score": 0.12577876448631287 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.2534588575363159 }, "else": { "operation": "boost", "score": 0.035977091640233994 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0013474200386554003 }, "else": { "operation": "boost", "score": -0.20554488897323608 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 860.5, "then": { "operation": "boost", "score": 0.01045424398034811 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12488072365522385 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.12717942893505096 }, "else": { "operation": "boost", "score": -0.0595950186252594 } }, "else": { "operation": "boost", "score": 0.018421003594994545 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.07907278090715408 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.18359963595867157 }, "else": { "operation": "boost", "score": 0.11679843068122864 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.0173481497913599 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.002512378618121147 }, "else": { "operation": "boost", "score": -0.19009092450141907 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.04988927021622658 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14845478534698486 }, "else": { "operation": "boost", "score": -0.05685662850737572 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0609654039144516 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.22354434430599213 }, "else": { "operation": "boost", "score": -0.34226199984550476 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.03947034105658531 }, "else": { "operation": "boost", "score": -0.02481439709663391 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018832022324204445 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02761111408472061 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.10546383261680603 }, "else": { "operation": "boost", "score": 0.061343852430582047 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12682892382144928 }, "else": { "operation": "boost", "score": -0.4465772211551666 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016366146504878998 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.0, "then": { "operation": "boost", "score": -0.1150425523519516 }, "else": { "operation": "boost", "score": -0.28307172656059265 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11046498268842697 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.25352850556373596 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 174.0, "then": { "operation": "boost", "score": -0.016690779477357864 }, "else": { "operation": "boost", "score": -0.5282344222068787 } }, "else": { "operation": "boost", "score": -0.04601944610476494 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": 0.1440214365720749 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03282585367560387 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.015183710493147373 }, "else": { "operation": "boost", "score": 0.12888339161872864 } }, "else": { "operation": "boost", "score": 0.01454906165599823 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.3341684937477112 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.07534157484769821 }, "else": { "operation": "boost", "score": 0.026089869439601898 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.0, "then": { "operation": "boost", "score": -0.4905613660812378 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12508341670036316 }, "else": { "operation": "boost", "score": 0.18310362100601196 } }, "else": { "operation": "boost", "score": 0.06169416382908821 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.6047995090484619 }, "else": { "operation": "boost", "score": 0.002908359281718731 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278.5, "then": { "operation": "boost", "score": -0.2780923843383789 }, "else": { "operation": "boost", "score": 0.02373398095369339 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17692308127880096, "then": { "operation": "boost", "score": -0.10045741498470306 }, "else": { "operation": "boost", "score": -0.3453295826911926 } } } }, "else": { "operation": "boost", "score": -0.047878507524728775 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 150.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 231.5, "then": { "operation": "boost", "score": -0.09538737684488297 }, "else": { "operation": "boost", "score": -1.260669469833374 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04120840132236481 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0723607987165451 }, "else": { "operation": "boost", "score": 0.12992353737354279 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "boost", "score": -0.01975961960852146 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.8514857888221741 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04891767352819443 }, "else": { "operation": "boost", "score": -0.7390273213386536 } } } } }, "else": { "operation": "boost", "score": 0.018997950479388237 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown" ], "then": { "operation": "boost", "score": -0.0021833789069205523 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 816.0, "then": { "operation": "boost", "score": -0.8798559308052063 }, "else": { "operation": "boost", "score": 0.0018066087504848838 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.004163412377238274 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.5, "then": { "operation": "boost", "score": 0.020846592262387276 }, "else": { "operation": "boost", "score": -0.05090338736772537 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02623804472386837 }, "else": { "operation": "boost", "score": -0.11361410468816757 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 675.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19960369169712067 }, "else": { "operation": "boost", "score": 0.0542309544980526 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 632.5, "then": { "operation": "boost", "score": -0.7526670098304749 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 305.0, "then": { "operation": "boost", "score": -0.3352019786834717 }, "else": { "operation": "boost", "score": 0.018030844628810883 } }, "else": { "operation": "boost", "score": -0.06444521248340607 } }, "else": { "operation": "boost", "score": -0.01385472808033228 } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 274.5, "then": { "operation": "boost", "score": 0.03779527172446251 }, "else": { "operation": "boost", "score": 0.0005023187259212136 } } } } } }, "else": { "operation": "boost", "score": -0.0004815727879758924 } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.8480251431465149 }, "else": { "operation": "boost", "score": -0.07420989871025085 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "boost", "score": 0.023974018171429634 }, "else": { "operation": "boost", "score": 0.011825683526694775 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.046849533915519714 }, "else": { "operation": "boost", "score": -0.0900302529335022 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.00041807268280535936 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.008611420169472694 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0018617598107084632 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.05588741600513458 }, "else": { "operation": "boost", "score": 0.007383853662759066 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7207792401313782, "then": { "operation": "boost", "score": -0.03200972452759743 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.620192289352417, "then": { "operation": "boost", "score": -0.14829163253307343 }, "else": { "operation": "boost", "score": 0.09957122057676315 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14466899633407593 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.059043679386377335 }, "else": { "operation": "boost", "score": 0.09983980655670166 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10403776913881302 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.17921297252178192 }, "else": { "operation": "boost", "score": -0.11366179585456848 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.10115519165992737 }, "else": { "operation": "boost", "score": -0.05182953551411629 } }, "else": { "operation": "boost", "score": -0.4210331439971924 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.15623797476291656 }, "else": { "operation": "boost", "score": -0.0715346485376358 } }, "else": { "operation": "boost", "score": -0.1511511206626892 } } } }, "else": { "operation": "boost", "score": 0.004409669898450375 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0070302607491612434 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3741258978843689, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.05088741332292557 }, "else": { "operation": "boost", "score": 0.16785357892513275 } }, "else": { "operation": "boost", "score": 0.02868110127747059 } }, "else": { "operation": "boost", "score": 0.11672241240739822 } }, "else": { "operation": "boost", "score": 0.007601628545671701 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.13845017552375793 }, "else": { "operation": "boost", "score": -0.14127175509929657 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.12111812084913254 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08377528190612793 }, "else": { "operation": "boost", "score": 0.09721844643354416 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.12532754242420197 }, "else": { "operation": "boost", "score": 0.1063784807920456 } }, "else": { "operation": "boost", "score": -0.09309496730566025 } }, "else": { "operation": "boost", "score": 0.13875806331634521 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.10978144407272339 }, "else": { "operation": "boost", "score": 0.0788348987698555 } } } }, "else": { "operation": "boost", "score": -0.007363622076809406 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.006394598633050919 }, "else": { "operation": "boost", "score": 0.07995717227458954 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.20899836719036102 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.00857471115887165 }, "else": { "operation": "boost", "score": 0.1008729338645935 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.25282371044158936 }, "else": { "operation": "boost", "score": 0.0026221247389912605 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.25551971793174744 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.027042482048273087 }, "else": { "operation": "boost", "score": 0.02945656329393387 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.07481749355792999 }, "else": { "operation": "boost", "score": 0.10074569284915924 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.11152252554893494 }, "else": { "operation": "boost", "score": -0.11459991335868835 } }, "else": { "operation": "boost", "score": -0.039006706327199936 } } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19088388979434967 }, "else": { "operation": "boost", "score": -0.02261563576757908 } }, "else": { "operation": "boost", "score": 0.12340857833623886 } }, "else": { "operation": "boost", "score": 0.11550804227590561 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.03689263388514519 }, "else": { "operation": "boost", "score": 0.08737153559923172 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": -0.023509632796049118 }, "else": { "operation": "boost", "score": -0.8918111324310303 } }, "else": { "operation": "boost", "score": 0.041399795562028885 } } }, "else": { "operation": "boost", "score": 0.0063812923617661 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.3297276794910431 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.054554082453250885 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.15008045732975006 }, "else": { "operation": "boost", "score": 0.1267922967672348 } } } }, "else": { "operation": "boost", "score": -0.00411204295232892 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09746614098548889 }, "else": { "operation": "boost", "score": -0.060588520020246506 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.04450180381536484 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.09841308742761612 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.003217885969206691 }, "else": { "operation": "boost", "score": -0.7866132855415344 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.2138472944498062 }, "else": { "operation": "boost", "score": -0.004559963941574097 } } }, "else": { "operation": "boost", "score": -0.44199037551879883 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "boost", "score": -0.09821166098117828 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.0707327350974083 }, "else": { "operation": "boost", "score": -1.7015914916992188 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.07238324731588364 }, "else": { "operation": "boost", "score": -0.01709551177918911 } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.004400012549012899 }, "else": { "operation": "boost", "score": 0.036657217890024185 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05515848845243454 }, "else": { "operation": "boost", "score": -0.022397173568606377 } }, "else": { "operation": "boost", "score": -0.07353000342845917 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05003568157553673 }, "else": { "operation": "boost", "score": -0.05383343622088432 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.06243978068232536 }, "else": { "operation": "boost", "score": 0.011053035967051983 } }, "else": { "operation": "boost", "score": -0.010467610321938992 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.09173119813203812 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.10282421112060547 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.0280914343893528 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.36579757928848267 }, "else": { "operation": "boost", "score": 0.15433956682682037 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.33663415908813477 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.03443703055381775 }, "else": { "operation": "boost", "score": -0.28706130385398865 } }, "else": { "operation": "boost", "score": 0.08678317815065384 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "boost", "score": -0.9446399807929993 }, "else": { "operation": "boost", "score": 0.014987083151936531 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.02213161066174507 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020914671942591667 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09194854646921158 }, "else": { "operation": "boost", "score": -0.040420934557914734 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.016581695526838303 }, "else": { "operation": "boost", "score": 0.029070686548948288 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 20.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": -0.0529729500412941 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.14201897382736206 }, "else": { "operation": "boost", "score": 0.1623028814792633 } }, "else": { "operation": "boost", "score": 0.06596869975328445 } }, "else": { "operation": "boost", "score": 0.033674631267786026 } } }, "else": { "operation": "boost", "score": -0.02376948855817318 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 80.0, "then": { "operation": "boost", "score": -0.32137203216552734 }, "else": { "operation": "boost", "score": -0.06497550010681152 } } }, "else": { "operation": "boost", "score": -0.0021849237382411957 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.10736044496297836 }, "else": { "operation": "boost", "score": -0.016872186213731766 } } } } }, "else": { "operation": "boost", "score": -0.0001645968877710402 } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 101593.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 145961.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.016984935849905014 }, "else": { "operation": "boost", "score": -0.036971963942050934 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "boost", "score": -0.7297602891921997 }, "else": { "operation": "boost", "score": -0.10929598659276962 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114340.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "boost", "score": 0.0139124421402812 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.12664592266082764 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06800809502601624 }, "else": { "operation": "boost", "score": -0.010971518233418465 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 111169.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "boost", "score": 0.10136868059635162 }, "else": { "operation": "boost", "score": 0.02740597352385521 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.09470541030168533 }, "else": { "operation": "boost", "score": 0.02336004376411438 } } }, "else": { "operation": "boost", "score": -0.20436842739582062 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118067.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "boost", "score": -0.010232306085526943 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203324.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.02594994567334652 }, "else": { "operation": "boost", "score": -0.0956331416964531 } }, "else": { "operation": "boost", "score": -0.10023853182792664 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132310.5, "then": { "operation": "boost", "score": -0.06425553560256958 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0928109660744667 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.17260314524173737 }, "else": { "operation": "boost", "score": 0.0947800800204277 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.059650495648384094 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11937430500984192 }, "else": { "operation": "boost", "score": -0.10467062145471573 } } }, "else": { "operation": "boost", "score": 0.035342007875442505 } }, "else": { "operation": "boost", "score": -0.12284400314092636 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 196353.5, "then": { "operation": "boost", "score": -0.20246101915836334 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05171973630785942 }, "else": { "operation": "boost", "score": -0.1531537026166916 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160645.0, "then": { "operation": "boost", "score": -0.164509117603302 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.06601563841104507 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 152619.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.05594499781727791 }, "else": { "operation": "boost", "score": 0.15251678228378296 } }, "else": { "operation": "boost", "score": 0.011548863723874092 } } } }, "else": { "operation": "boost", "score": -0.03732043504714966 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.009968781843781471 }, "else": { "operation": "boost", "score": -0.06217259168624878 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.2892310321331024 }, "else": { "operation": "boost", "score": -0.03028896078467369 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "boost", "score": 0.09122284501791 }, "else": { "operation": "boost", "score": -0.0028369338251650333 } }, "else": { "operation": "boost", "score": 0.10295052081346512 } }, "else": { "operation": "boost", "score": 0.06972058117389679 } }, "else": { "operation": "boost", "score": 0.02624540589749813 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.10527048259973526 }, "else": { "operation": "boost", "score": -0.10270216315984726 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.09634023159742355 }, "else": { "operation": "boost", "score": 0.03278364986181259 } } }, "else": { "operation": "boost", "score": -0.12474633008241653 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.08729731291532516 }, "else": { "operation": "boost", "score": -0.047413263469934464 } }, "else": { "operation": "boost", "score": -0.1638631373643875 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94712.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2408752143383026 }, "else": { "operation": "boost", "score": -0.13809765875339508 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93746.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.009925659745931625 }, "else": { "operation": "boost", "score": -0.31004083156585693 } }, "else": { "operation": "boost", "score": 0.07820145040750504 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16720332205295563 }, "else": { "operation": "boost", "score": 0.08679547905921936 } } }, "else": { "operation": "boost", "score": -0.08987413346767426 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92754.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.30528727173805237 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.17989878356456757 }, "else": { "operation": "boost", "score": -0.13305401802062988 } } }, "else": { "operation": "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": "if_greater", "feature": "NumReferences", "threshold": 61155.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.040190499275922775 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.14261756837368011 }, "else": { "operation": "boost", "score": 0.08291058987379074 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90101.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09441298246383667 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.1410001516342163 }, "else": { "operation": "boost", "score": -0.33129560947418213 } } }, "else": { "operation": "boost", "score": 0.006534229498356581 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73859.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75472.0, "then": { "operation": "boost", "score": -0.0033640838228166103 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74698.5, "then": { "operation": "boost", "score": 0.09933385998010635 }, "else": { "operation": "boost", "score": 0.016405556350946426 } }, "else": { "operation": "boost", "score": 0.017953040078282356 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.020942743867635727 }, "else": { "operation": "boost", "score": -0.13405266404151917 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04904096946120262 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.13794709742069244 }, "else": { "operation": "boost", "score": 0.11233338713645935 } } }, "else": { "operation": "boost", "score": 0.04734392464160919 } }, "else": { "operation": "boost", "score": -0.1212863102555275 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61550.0, "then": { "operation": "boost", "score": 0.00577909592539072 }, "else": { "operation": "boost", "score": -0.06658333539962769 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0662144273519516 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.2930571734905243 }, "else": { "operation": "boost", "score": -0.11908190697431564 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03332686051726341 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.10410212725400925 }, "else": { "operation": "boost", "score": -0.24157564342021942 } }, "else": { "operation": "boost", "score": -0.15129606425762177 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57673.0, "then": { "operation": "boost", "score": 0.05895916000008583 }, "else": { "operation": "boost", "score": -0.49872633814811707 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.06225619092583656 }, "else": { "operation": "boost", "score": 0.11594967544078827 } }, "else": { "operation": "boost", "score": -0.03669889643788338 } } }, "else": { "operation": "boost", "score": 0.04011772200465202 } } }, "else": { "operation": "boost", "score": -0.14845460653305054 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1978609263896942 }, "else": { "operation": "boost", "score": 0.13839086890220642 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": 0.12857066094875336 }, "else": { "operation": "boost", "score": 0.058219972997903824 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09426884353160858 }, "else": { "operation": "boost", "score": -0.12181192636489868 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12695707380771637 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55726.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08890662342309952 }, "else": { "operation": "boost", "score": -0.0051816049963235855 } }, "else": { "operation": "boost", "score": 0.08021238446235657 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.2954293191432953 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.08956685662269592 }, "else": { "operation": "boost", "score": 0.13518837094306946 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.3605172634124756 }, "else": { "operation": "boost", "score": -0.05847952514886856 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51599.0, "then": { "operation": "boost", "score": -0.022670641541481018 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13915467262268066 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08331090211868286 }, "else": { "operation": "boost", "score": -0.21063075959682465 } } } }, "else": { "operation": "boost", "score": -0.08767427504062653 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45617.0, "then": { "operation": "boost", "score": 0.022834520787000656 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.07524415850639343 }, "else": { "operation": "boost", "score": -0.1551995724439621 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09911230951547623 }, "else": { "operation": "boost", "score": -0.09323149919509888 } }, "else": { "operation": "boost", "score": 0.0386219397187233 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "boost", "score": -0.16471844911575317 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44220.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.10169947147369385 }, "else": { "operation": "boost", "score": 0.11359751969575882 } }, "else": { "operation": "boost", "score": -0.04853108152747154 } }, "else": { "operation": "boost", "score": -5.74454061279539e-05 } } } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 737.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1028.0, "then": { "operation": "boost", "score": -0.07324014604091644 }, "else": { "operation": "boost", "score": -1.4482755661010742 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.008806176483631134 }, "else": { "operation": "boost", "score": -0.0935356393456459 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 371.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 387.0, "then": { "operation": "boost", "score": 0.019158847630023956 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1269841343164444, "then": { "operation": "boost", "score": 0.12656040489673615 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.057739175856113434 }, "else": { "operation": "boost", "score": 0.10479813069105148 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06074336916208267 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.1995193064212799 }, "else": { "operation": "boost", "score": -0.038253482431173325 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.05544697493314743 }, "else": { "operation": "boost", "score": 0.11051172763109207 } }, "else": { "operation": "boost", "score": -0.006607314571738243 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.010282697156071663 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.1700061857700348 }, "else": { "operation": "boost", "score": -0.03869837895035744 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13554616272449493 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7386363744735718, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.029774963855743408 }, "else": { "operation": "boost", "score": -0.16787216067314148 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05180668085813522 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.11116103827953339 }, "else": { "operation": "boost", "score": 0.014249339699745178 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06408609449863434 }, "else": { "operation": "boost", "score": 0.01637667790055275 } } } } }, "else": { "operation": "boost", "score": -0.03736458718776703 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.040681350976228714 }, "else": { "operation": "boost", "score": 0.021082943305373192 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.06736931949853897 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.045933619141578674 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.07457973808050156 }, "else": { "operation": "boost", "score": 0.014219882898032665 } } } }, "else": { "operation": "boost", "score": -0.1174779012799263 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.010669343173503876 }, "else": { "operation": "boost", "score": -0.04236571118235588 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.012846979312598705 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.07070329040288925 }, "else": { "operation": "boost", "score": 0.026703940704464912 } } }, "else": { "operation": "boost", "score": 0.0017822090303525329 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13901248574256897 }, "else": { "operation": "boost", "score": 8.37091647554189e-05 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": 0.05651529133319855 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08711259067058563 }, "else": { "operation": "boost", "score": 0.017963862046599388 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19047518074512482 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 32.0, "then": { "operation": "boost", "score": -0.33499011397361755 }, "else": { "operation": "boost", "score": -0.05353802815079689 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.1538870632648468 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.0437094047665596 }, "else": { "operation": "boost", "score": 0.08839388936758041 } }, "else": { "operation": "boost", "score": -0.15297408401966095 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.017330987378954887 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.1823238879442215 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.1257522851228714 }, "else": { "operation": "boost", "score": 0.11809361726045609 } }, "else": { "operation": "boost", "score": -0.004889274947345257 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": -0.12988914549350739 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.32367900013923645 }, "else": { "operation": "boost", "score": -0.07513908296823502 } } }, "else": { "operation": "boost", "score": -0.015458645299077034 } }, "else": { "operation": "boost", "score": -1.2680813074111938 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 125.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 230.0, "then": { "operation": "boost", "score": -0.0432833731174469 }, "else": { "operation": "boost", "score": 0.09849271923303604 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.18496392667293549 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.1941017508506775 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.0, "then": { "operation": "boost", "score": -0.10973667353391647 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.003945768810808659 }, "else": { "operation": "boost", "score": 0.04763262718915939 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.06260286271572113 }, "else": { "operation": "boost", "score": -0.0013195981737226248 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.1462298482656479 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 206.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06992845237255096 }, "else": { "operation": "boost", "score": -0.08736316114664078 } }, "else": { "operation": "boost", "score": 0.005516953766345978 } } } } } } } } }, "else": { "operation": "boost", "score": 0.0009908560896292329 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1806.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1907.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2003.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2047.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2089.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2090.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0028941307682543993 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.017366576939821243 }, "else": { "operation": "boost", "score": -0.010926932096481323 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.18162739276885986 }, "else": { "operation": "boost", "score": 0.08947567641735077 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2074.5, "then": { "operation": "boost", "score": -0.15761154890060425 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.11731890588998795 }, "else": { "operation": "boost", "score": -0.01585487090051174 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "boost", "score": 0.12135050445795059 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2038.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08846154063940048, "then": { "operation": "boost", "score": 0.09706849604845047 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2044.0, "then": { "operation": "boost", "score": 0.2149071842432022 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2040.5, "then": { "operation": "boost", "score": -0.026459552347660065 }, "else": { "operation": "boost", "score": 0.12015338987112045 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1490248292684555 }, "else": { "operation": "boost", "score": -0.17059578001499176 } } }, "else": { "operation": "boost", "score": 0.16561497747898102 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2010.5, "then": { "operation": "boost", "score": 0.028027834370732307 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.11770686507225037 }, "else": { "operation": "boost", "score": 0.11636216938495636 } }, "else": { "operation": "boost", "score": -0.0549236498773098 } }, "else": { "operation": "boost", "score": 0.11423493921756744 } } } }, "else": { "operation": "boost", "score": -0.08519325405359268 } }, "else": { "operation": "boost", "score": 0.1535630226135254 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1988.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1991.5, "then": { "operation": "boost", "score": -0.04058655723929405 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -1.638249397277832 }, "else": { "operation": "boost", "score": -0.23676824569702148 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.13762183487415314 }, "else": { "operation": "boost", "score": -0.013322889804840088 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.20292730629444122 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.13828814029693604 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1827.0, "then": { "operation": "boost", "score": 0.07296479493379593 }, "else": { "operation": "boost", "score": 0.1234966292977333 } } }, "else": { "operation": "boost", "score": 0.07241295278072357 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.049074072390794754 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1825.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1827.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1845.0, "then": { "operation": "boost", "score": 0.04678219556808472 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1841.5, "then": { "operation": "boost", "score": 0.13164298236370087 }, "else": { "operation": "boost", "score": -0.07954077422618866 } } }, "else": { "operation": "boost", "score": 0.0651034340262413 } }, "else": { "operation": "boost", "score": 0.41312453150749207 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.18527939915657043 }, "else": { "operation": "boost", "score": -0.028962397947907448 } } }, "else": { "operation": "boost", "score": -0.050160206854343414 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1812.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1876.0, "then": { "operation": "boost", "score": 0.148194819688797 }, "else": { "operation": "boost", "score": -0.11608214676380157 } }, "else": { "operation": "boost", "score": 0.03229799121618271 } }, "else": { "operation": "boost", "score": -0.03651171922683716 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.18767884373664856 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1810.5, "then": { "operation": "boost", "score": 0.1957664042711258 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2807612717151642 }, "else": { "operation": "boost", "score": -0.027034761384129524 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1788.5, "then": { "operation": "boost", "score": -0.10766327381134033 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1787.5, "then": { "operation": "boost", "score": 0.24600163102149963 }, "else": { "operation": "boost", "score": -0.0002448581508360803 } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0007593914051540196 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.0018530839588493109 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286024.5, "then": { "operation": "boost", "score": 0.11697618663311005 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "boost", "score": -0.046392492949962616 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.057514045387506485 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.1492249071598053 }, "else": { "operation": "boost", "score": 0.32624098658561707 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.061453599482774734 }, "else": { "operation": "boost", "score": -0.5033336877822876 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.07275994122028351 }, "else": { "operation": "boost", "score": 0.01201715599745512 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1016.0, "then": { "operation": "boost", "score": -0.05183624476194382 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 312.0, "then": { "operation": "boost", "score": 0.13800999522209167 }, "else": { "operation": "boost", "score": 0.12187745422124863 } }, "else": { "operation": "boost", "score": -0.12653301656246185 } }, "else": { "operation": "boost", "score": 0.35796937346458435 } }, "else": { "operation": "boost", "score": -0.08539354056119919 } } }, "else": { "operation": "boost", "score": 0.02333320491015911 } }, "else": { "operation": "boost", "score": 0.6897934079170227 } }, "else": { "operation": "boost", "score": 0.043157149106264114 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5316.0, "then": { "operation": "boost", "score": -0.11671200394630432 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4326.0, "then": { "operation": "boost", "score": 0.28388121724128723 }, "else": { "operation": "boost", "score": 0.00678632128983736 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 760.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "boost", "score": -0.10495191067457199 }, "else": { "operation": "boost", "score": 0.034295447170734406 } }, "else": { "operation": "boost", "score": 0.0698467269539833 } }, "else": { "operation": "boost", "score": -0.03142178803682327 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 647.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 679.0, "then": { "operation": "boost", "score": -0.1099928468465805 }, "else": { "operation": "boost", "score": 0.6294713020324707 } }, "else": { "operation": "boost", "score": 0.03916255757212639 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.18934430181980133 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.1125461757183075 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 230.5, "then": { "operation": "boost", "score": 0.11799488216638565 }, "else": { "operation": "boost", "score": -0.10365477204322815 } } } }, "else": { "operation": "boost", "score": 0.2284148782491684 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 597.0, "then": { "operation": "boost", "score": 0.10524336248636246 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 549.5, "then": { "operation": "boost", "score": -0.5144639611244202 }, "else": { "operation": "boost", "score": 0.012117505073547363 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 473.0, "then": { "operation": "boost", "score": -0.058196645230054855 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 454.5, "then": { "operation": "boost", "score": 0.12882889807224274 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 357.5, "then": { "operation": "boost", "score": -0.03857472911477089 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 307.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 321.0, "then": { "operation": "boost", "score": 0.8199554681777954 }, "else": { "operation": "boost", "score": 0.5633231401443481 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.458452045917511 }, "else": { "operation": "boost", "score": 0.038181569427251816 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 325.5, "then": { "operation": "boost", "score": -0.16335473954677582 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 313.0, "then": { "operation": "boost", "score": 0.13784198462963104 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 250.5, "then": { "operation": "boost", "score": -0.13117235898971558 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232.5, "then": { "operation": "boost", "score": 0.21569013595581055 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 196.0, "then": { "operation": "boost", "score": -0.07654865086078644 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191.0, "then": { "operation": "boost", "score": 0.17538519203662872 }, "else": { "operation": "boost", "score": 0.0008865282288752496 } } } }, "else": { "operation": "boost", "score": -0.03755827993154526 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 468.0, "then": { "operation": "boost", "score": 0.14307871460914612 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": -0.016935652121901512 }, "else": { "operation": "boost", "score": 0.11885319650173187 } } } } } } }, "else": { "operation": "boost", "score": -0.04143703728914261 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.11118286103010178 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 414.0, "then": { "operation": "boost", "score": -0.019910655915737152 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 261.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 301.5, "then": { "operation": "boost", "score": 0.19537369906902313 }, "else": { "operation": "boost", "score": -0.11943895369768143 } }, "else": { "operation": "boost", "score": 0.23664309084415436 } }, "else": { "operation": "boost", "score": -0.04243585467338562 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.17527762055397034 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 389.0, "then": { "operation": "boost", "score": 0.12695173919200897 }, "else": { "operation": "boost", "score": -0.10110723972320557 } }, "else": { "operation": "boost", "score": -0.01638510823249817 } } } } }, "else": { "operation": "boost", "score": -0.01540881022810936 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 164.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.19070492684841156 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.1656661033630371 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12076683342456818 }, "else": { "operation": "boost", "score": 0.8300885558128357 } } }, "else": { "operation": "boost", "score": -0.1558343768119812 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 156.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1250341683626175 }, "else": { "operation": "boost", "score": -0.07172369956970215 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 149.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05717616155743599 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 153.5, "then": { "operation": "boost", "score": 0.17955467104911804 }, "else": { "operation": "boost", "score": 0.20531359314918518 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.23496590554714203 }, "else": { "operation": "boost", "score": -0.1281939595937729 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148.5, "then": { "operation": "boost", "score": 0.5494900345802307 }, "else": { "operation": "boost", "score": 0.21922701597213745 } }, "else": { "operation": "boost", "score": -0.05174562707543373 } }, "else": { "operation": "boost", "score": 0.04176461696624756 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.15038427710533142 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 137.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.004427281208336353 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 141.0, "then": { "operation": "boost", "score": -0.10433634370565414 }, "else": { "operation": "boost", "score": 0.1869104504585266 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 135.5, "then": { "operation": "boost", "score": 0.3707387447357178 }, "else": { "operation": "boost", "score": 0.26971495151519775 } }, "else": { "operation": "boost", "score": 0.1622864305973053 } }, "else": { "operation": "boost", "score": 0.009889262728393078 } } } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 410.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 495.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 601.5, "then": { "operation": "boost", "score": 0.018909532576799393 }, "else": { "operation": "boost", "score": 0.11382109671831131 } }, "else": { "operation": "boost", "score": -0.04634993523359299 } }, "else": { "operation": "boost", "score": 0.11340384185314178 } }, "else": { "operation": "boost", "score": 0.03960053250193596 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.006387524772435427 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.01845581643283367 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 231.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.1530153900384903 }, "else": { "operation": "boost", "score": 0.05998386815190315 } }, "else": { "operation": "boost", "score": -0.22440937161445618 } } } } } }, "else": { "operation": "boost", "score": 0.0008546325261704624 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 265.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 294.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.006528304424136877 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 313.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 337.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.12003464996814728 }, "else": { "operation": "boost", "score": 0.029605761170387268 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.1491941213607788 }, "else": { "operation": "boost", "score": 0.0171833299100399 } } }, "else": { "operation": "boost", "score": -0.14122946560382843 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 313.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 316.0, "then": { "operation": "boost", "score": 0.0046508233062922955 }, "else": { "operation": "boost", "score": 0.1226949691772461 } }, "else": { "operation": "boost", "score": -0.18924926221370697 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8349.5, "then": { "operation": "boost", "score": -0.18090219795703888 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0630941241979599 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1356.5, "then": { "operation": "boost", "score": 0.14059916138648987 }, "else": { "operation": "boost", "score": 0.021892299875617027 } }, "else": { "operation": "boost", "score": -0.029260240495204926 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 283.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 285.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.020818883553147316 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 293.5, "then": { "operation": "boost", "score": 0.12520429491996765 }, "else": { "operation": "boost", "score": 0.07475852221250534 } } }, "else": { "operation": "boost", "score": 0.1279437094926834 } }, "else": { "operation": "boost", "score": 0.012345715425908566 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278.5, "then": { "operation": "boost", "score": 0.07887908071279526 }, "else": { "operation": "boost", "score": 0.23695318400859833 } }, "else": { "operation": "boost", "score": 0.04351961612701416 } }, "else": { "operation": "boost", "score": 0.020878342911601067 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259.5, "then": { "operation": "boost", "score": -0.06735623627901077 }, "else": { "operation": "boost", "score": 0.0001316145935561508 } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.003773104166612029 }, "else": { "operation": "boost", "score": 0.0010252677602693439 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1806.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1925.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2003.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2010.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0027671961579471827 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2025.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 549246.0, "then": { "operation": "boost", "score": -0.07962210476398468 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 443558.5, "then": { "operation": "boost", "score": 0.07149479538202286 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27874.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29053.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29460.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32671.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41673.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59248.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71954.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.2155979573726654 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 89371.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90101.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93746.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 127089.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134893.5, "then": { "operation": "boost", "score": -0.008053619414567947 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.032805703580379486 }, "else": { "operation": "boost", "score": 0.12625554203987122 } } }, "else": { "operation": "boost", "score": -0.1848270446062088 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.11409123986959457 }, "else": { "operation": "boost", "score": 0.032725024968385696 } }, "else": { "operation": "boost", "score": 0.10134374350309372 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.06599681079387665 }, "else": { "operation": "boost", "score": -0.0841340571641922 } } } }, "else": { "operation": "boost", "score": -0.15764111280441284 } }, "else": { "operation": "boost", "score": 0.0810222178697586 } }, "else": { "operation": "boost", "score": -0.079233817756176 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74698.5, "then": { "operation": "boost", "score": 0.06615137308835983 }, "else": { "operation": "boost", "score": 0.005705477669835091 } } }, "else": { "operation": "boost", "score": -0.07196379452943802 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57673.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.06703753769397736 }, "else": { "operation": "boost", "score": 0.1288025975227356 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "boost", "score": -0.04018368571996689 }, "else": { "operation": "boost", "score": 0.09269391000270844 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.016059797257184982 }, "else": { "operation": "boost", "score": -0.08953753858804703 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40369.0, "then": { "operation": "boost", "score": 0.08142751455307007 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34634.5, "then": { "operation": "boost", "score": -0.16401799023151398 }, "else": { "operation": "boost", "score": 0.079783134162426 } } }, "else": { "operation": "boost", "score": -0.0698118582367897 } } }, "else": { "operation": "boost", "score": -0.13022685050964355 } }, "else": { "operation": "boost", "score": 0.09147956967353821 } }, "else": { "operation": "boost", "score": -0.35852137207984924 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28839.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28939.5, "then": { "operation": "boost", "score": 0.07924337685108185 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.14543098211288452 }, "else": { "operation": "boost", "score": 0.15050649642944336 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.37220579385757446 }, "else": { "operation": "boost", "score": 0.07852382212877274 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20345.0, "then": { "operation": "boost", "score": -0.0535007119178772 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18769.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19307.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.11849036067724228 }, "else": { "operation": "boost", "score": 0.03924671933054924 } }, "else": { "operation": "boost", "score": 0.0006018199492245913 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "boost", "score": 0.12511113286018372 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18885.0, "then": { "operation": "boost", "score": -0.19428393244743347 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.11092337965965271 }, "else": { "operation": "boost", "score": -0.008456781506538391 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16881.5, "then": { "operation": "boost", "score": -0.12402911484241486 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13235.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13340.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13805.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13877.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13937.0, "then": { "operation": "boost", "score": 0.04631923884153366 }, "else": { "operation": "boost", "score": -0.21631428599357605 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.0318978875875473 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13842.0, "then": { "operation": "boost", "score": 0.18620462715625763 }, "else": { "operation": "boost", "score": 0.10197605192661285 } } }, "else": { "operation": "boost", "score": -0.0484975129365921 } } }, "else": { "operation": "boost", "score": -0.03692743927240372 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.1684817224740982 }, "else": { "operation": "boost", "score": 0.21151237189769745 } }, "else": { "operation": "boost", "score": 0.08069583028554916 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10022.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10133.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17142857611179352, "then": { "operation": "boost", "score": 0.14281758666038513 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.05647691711783409 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "boost", "score": -0.11652787029743195 }, "else": { "operation": "boost", "score": 0.4273112416267395 } } }, "else": { "operation": "boost", "score": 0.001343747484497726 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.11743878573179245 }, "else": { "operation": "boost", "score": 0.006722270976752043 } }, "else": { "operation": "boost", "score": 0.09309312701225281 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7369.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8544.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.16157688200473785 }, "else": { "operation": "boost", "score": -0.0057174889370799065 } }, "else": { "operation": "boost", "score": -0.13374179601669312 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7076.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7145.0, "then": { "operation": "boost", "score": 0.11420419067144394 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.13038960099220276 }, "else": { "operation": "boost", "score": 0.2445160299539566 } } }, "else": { "operation": "boost", "score": 0.04699351638555527 } }, "else": { "operation": "boost", "score": -0.008976337499916553 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4869.0, "then": { "operation": "boost", "score": -0.0556897409260273 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2858.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2924.5, "then": { "operation": "boost", "score": 0.06678233295679092 }, "else": { "operation": "boost", "score": 0.1214165911078453 } }, "else": { "operation": "boost", "score": -0.19063422083854675 } }, "else": { "operation": "boost", "score": -0.08182121068239212 } } } } } } } } }, "else": { "operation": "boost", "score": -0.07150048762559891 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "boost", "score": 0.09230151772499084 }, "else": { "operation": "boost", "score": -0.04187021404504776 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11940301209688187 }, "else": { "operation": "boost", "score": -0.08988811820745468 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11453046649694443 }, "else": { "operation": "boost", "score": 0.08585615456104279 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2009.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13149796426296234 }, "else": { "operation": "boost", "score": 0.019558532163500786 } }, "else": { "operation": "boost", "score": -0.14900417625904083 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11069227755069733 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1673722267150879 }, "else": { "operation": "boost", "score": -0.20504893362522125 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1988.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1991.5, "then": { "operation": "boost", "score": -0.036430563777685165 }, "else": { "operation": "boost", "score": -0.21888850629329681 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1928.0, "then": { "operation": "boost", "score": -0.008903113193809986 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.08143611252307892 }, "else": { "operation": "boost", "score": -0.5593701004981995 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1924.5, "then": { "operation": "boost", "score": 0.2957175374031067 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1816.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1820.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1910.0, "then": { "operation": "boost", "score": -0.18493938446044922 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1895.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1904.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.06050217151641846 }, "else": { "operation": "boost", "score": 0.1467553973197937 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.14528922736644745 }, "else": { "operation": "boost", "score": 0.09301072359085083 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07840003073215485 }, "else": { "operation": "boost", "score": 0.16936609148979187 } }, "else": { "operation": "boost", "score": -0.10037536174058914 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.12902109324932098 }, "else": { "operation": "boost", "score": 0.08012789487838745 } }, "else": { "operation": "boost", "score": 0.0038138222880661488 } } }, "else": { "operation": "boost", "score": 0.1548745185136795 } }, "else": { "operation": "boost", "score": -0.04907439276576042 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.232269287109375 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.05415476858615875 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.26586493849754333 }, "else": { "operation": "boost", "score": 0.10338478535413742 } }, "else": { "operation": "boost", "score": 0.17156994342803955 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1815.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1844.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1858.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1887.5, "then": { "operation": "boost", "score": 0.054717767983675 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0657612755894661 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.15101467072963715 }, "else": { "operation": "boost", "score": 0.022282762452960014 } } } }, "else": { "operation": "boost", "score": -0.10285172611474991 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1841.5, "then": { "operation": "boost", "score": 0.12711429595947266 }, "else": { "operation": "boost", "score": 0.0689583346247673 } } }, "else": { "operation": "boost", "score": -0.07885904610157013 } }, "else": { "operation": "boost", "score": 0.0015668092528358102 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1788.5, "then": { "operation": "boost", "score": -0.10332146286964417 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1787.5, "then": { "operation": "boost", "score": 0.24336527287960052 }, "else": { "operation": "boost", "score": -0.00024759332882240415 } } } } }, { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04599275812506676 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.006007715128362179 }, "else": { "operation": "boost", "score": 0.0005112223443575203 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.04777643457055092 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.02966386266052723 }, "else": { "operation": "boost", "score": 0.007979095913469791 } } }, "else": { "operation": "boost", "score": 0.000303310458548367 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 984.0, "then": { "operation": "boost", "score": 0.01280209794640541 }, "else": { "operation": "boost", "score": 0.057963624596595764 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.012424316257238388 }, "else": { "operation": "boost", "score": 0.10776430368423462 } }, "else": { "operation": "boost", "score": -0.024386078119277954 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": 0.023066870868206024 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.16766169667243958 }, "else": { "operation": "boost", "score": -0.3261910378932953 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02462812140583992 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07215387374162674 }, "else": { "operation": "boost", "score": -0.030283071100711823 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.01655501499772072 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.4718261957168579 }, "else": { "operation": "boost", "score": 0.07556381821632385 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.22239187359809875 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.06143476814031601 }, "else": { "operation": "boost", "score": 0.002421804703772068 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 916.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -1.0134403705596924 }, "else": { "operation": "boost", "score": 0.10016218572854996 } }, "else": { "operation": "boost", "score": 0.042771194130182266 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.22738230228424072 }, "else": { "operation": "boost", "score": 0.22904665768146515 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.07701554894447327 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.7936413884162903 }, "else": { "operation": "boost", "score": -0.18985192477703094 } } }, "else": { "operation": "boost", "score": -0.06951358169317245 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07167138904333115 }, "else": { "operation": "boost", "score": 0.1597069501876831 } }, "else": { "operation": "boost", "score": -0.036615561693906784 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.0, "then": { "operation": "boost", "score": 0.14641037583351135 }, "else": { "operation": "boost", "score": -0.16083171963691711 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.05989497900009155 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.11718116700649261 }, "else": { "operation": "boost", "score": 0.08593539893627167 } } } } }, "else": { "operation": "boost", "score": 0.015866916626691818 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.020199883729219437 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17417152225971222 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.037047725170850754 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": 0.07848884165287018 }, "else": { "operation": "boost", "score": -0.020586425438523293 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06862401962280273 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.2717810273170471 }, "else": { "operation": "boost", "score": 0.10282351076602936 } } }, "else": { "operation": "boost", "score": -0.045197196304798126 } }, "else": { "operation": "boost", "score": -0.3109188675880432 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.06977177411317825 }, "else": { "operation": "boost", "score": -0.03974787890911102 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -1.44333815574646 }, "else": { "operation": "boost", "score": -0.2399439811706543 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.05009569972753525 }, "else": { "operation": "boost", "score": -0.28409436345100403 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.22542992234230042 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.006505084689706564 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.32828810811042786 }, "else": { "operation": "boost", "score": 0.1049361303448677 } }, "else": { "operation": "boost", "score": 0.027178319171071053 } }, "else": { "operation": "boost", "score": -0.033787406980991364 } }, "else": { "operation": "boost", "score": 0.0713278204202652 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0556768961250782 }, "else": { "operation": "boost", "score": 0.00013207846495788544 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0020106055308133364 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 386.5, "then": { "operation": "boost", "score": 0.0211066622287035 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.1375417858362198 }, "else": { "operation": "boost", "score": -1.48714280128479 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 332.5, "then": { "operation": "boost", "score": -0.9933720827102661 }, "else": { "operation": "boost", "score": -0.02592809870839119 } } } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_SymbolOrNewName", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "boost", "score": 0.09866341948509216 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.14728941023349762 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11111557483673096 }, "else": { "operation": "boost", "score": 0.13784751296043396 } } } }, "else": { "operation": "boost", "score": -0.13998964428901672 } }, "else": { "operation": "boost", "score": 0.014089643023908138 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.011469505727291107 }, "else": { "operation": "boost", "score": 0.0815359577536583 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48488.5, "then": { "operation": "boost", "score": -0.09111648797988892 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46801.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47029.0, "then": { "operation": "boost", "score": 0.053502406924963 }, "else": { "operation": "boost", "score": 0.17001117765903473 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09474318474531174 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.361808717250824 }, "else": { "operation": "boost", "score": -0.12981510162353516 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "boost", "score": 0.08511441200971603 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44315.0, "then": { "operation": "boost", "score": -0.22026462852954865 }, "else": { "operation": "boost", "score": 1.3617105878438451e-06 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.03396455571055412 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.026689734309911728 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.04605984315276146 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11887878179550171 }, "else": { "operation": "boost", "score": 0.12296706438064575 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.011156857013702393 }, "else": { "operation": "boost", "score": 0.12640129029750824 } } } } } }, "else": { "operation": "boost", "score": -0.04929042607545853 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11292622983455658 }, "else": { "operation": "boost", "score": 0.029022684320807457 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.0, "then": { "operation": "boost", "score": 0.008418443612754345 }, "else": { "operation": "boost", "score": 0.13964664936065674 } }, "else": { "operation": "boost", "score": 0.008322076871991158 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "boost", "score": 0.032904002815485 }, "else": { "operation": "boost", "score": 0.11154621094465256 } }, "else": { "operation": "boost", "score": 0.039963189512491226 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.07847398519515991 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09605759382247925 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.07082303613424301 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "boost", "score": 0.09330621361732483 }, "else": { "operation": "boost", "score": -0.2902040183544159 } }, "else": { "operation": "boost", "score": -0.05250922590494156 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.18132218718528748 }, "else": { "operation": "boost", "score": 0.0568867102265358 } } }, "else": { "operation": "boost", "score": -0.005952467210590839 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0937180444598198 }, "else": { "operation": "boost", "score": -0.06554994732141495 } }, "else": { "operation": "boost", "score": 0.0664873942732811 } }, "else": { "operation": "boost", "score": -0.02847934328019619 } }, "else": { "operation": "boost", "score": -0.04540759697556496 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.03702801838517189 }, "else": { "operation": "boost", "score": -0.5865939259529114 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5777778029441833, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04132694751024246 }, "else": { "operation": "boost", "score": 0.1305941641330719 } }, "else": { "operation": "boost", "score": 0.05095645412802696 } }, "else": { "operation": "boost", "score": 0.0055434126406908035 } } }, "else": { "operation": "boost", "score": -0.044979408383369446 } } }, "else": { "operation": "boost", "score": -0.00033519809949211776 } } } }, { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04397425055503845 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.07518456131219864 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.04692133516073227 }, "else": { "operation": "boost", "score": -0.013090435415506363 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.023896407335996628 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": -0.1189180389046669 }, "else": { "operation": "boost", "score": 0.061190493404865265 } }, "else": { "operation": "boost", "score": 0.003843048121780157 } } }, "else": { "operation": "boost", "score": 0.0027340499218553305 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.006618548650294542 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.15642321109771729 }, "else": { "operation": "boost", "score": -0.3012303411960602 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.01563025452196598 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.02545907348394394 }, "else": { "operation": "boost", "score": -0.0020491918548941612 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.049448732286691666 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.04691823199391365 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.7770768404006958 }, "else": { "operation": "boost", "score": -0.04017296060919762 } } } }, "else": { "operation": "boost", "score": -0.04201148450374603 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0074885012581944466 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.05013243481516838 }, "else": { "operation": "boost", "score": -0.721447229385376 } }, "else": { "operation": "boost", "score": -0.2451762706041336 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.021578442305326462 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.020011812448501587 }, "else": { "operation": "boost", "score": -0.21254408359527588 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.033170197159051895 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1307416409254074 }, "else": { "operation": "boost", "score": 0.08027567714452744 } }, "else": { "operation": "boost", "score": 0.01494212169200182 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.012724081054329872 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.0061048297211527824 }, "else": { "operation": "boost", "score": 0.08222170919179916 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": 0.0881873145699501 }, "else": { "operation": "boost", "score": 0.13089653849601746 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1947195827960968 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.10010431706905365 }, "else": { "operation": "boost", "score": -0.07675406336784363 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06847217679023743 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.1335214376449585 }, "else": { "operation": "boost", "score": 0.07871860265731812 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "boost", "score": 0.11016755551099777 }, "else": { "operation": "boost", "score": 0.07987064123153687 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0796840712428093 }, "else": { "operation": "boost", "score": 0.09072217345237732 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.10794896632432938 }, "else": { "operation": "boost", "score": 0.046495210379362106 } }, "else": { "operation": "boost", "score": 0.014034069143235683 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12748.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14274.5, "then": { "operation": "boost", "score": 0.001775600016117096 }, "else": { "operation": "boost", "score": -0.10217908769845963 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12655.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09430630505084991 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.09411461651325226 }, "else": { "operation": "boost", "score": 0.14652703702449799 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8217.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11381.0, "then": { "operation": "boost", "score": 0.10195159912109375 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8507.5, "then": { "operation": "boost", "score": -0.10451441258192062 }, "else": { "operation": "boost", "score": 0.11636365950107574 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10832.0, "then": { "operation": "boost", "score": -0.0002984596067108214 }, "else": { "operation": "boost", "score": 0.092991404235363 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6923.5, "then": { "operation": "boost", "score": -0.08393634110689163 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6443.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6713.5, "then": { "operation": "boost", "score": 0.011393357999622822 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6653.5, "then": { "operation": "boost", "score": 0.11181309819221497 }, "else": { "operation": "boost", "score": 0.10283499211072922 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.023895055055618286 }, "else": { "operation": "boost", "score": 0.004690547473728657 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13618846237659454 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.035988159477710724 }, "else": { "operation": "boost", "score": -0.31921088695526123 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.05187670886516571 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.13066907227039337 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17320621013641357 }, "else": { "operation": "boost", "score": 0.10204467177391052 } } } }, "else": { "operation": "boost", "score": 0.04888268932700157 } } }, "else": { "operation": "boost", "score": -0.0018277441849932075 } } } }, "else": { "operation": "boost", "score": 0.00243419804610312 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0038334480486810207 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09166666865348816, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.0017396471230313182 }, "else": { "operation": "boost", "score": 0.1398152858018875 } }, "else": { "operation": "boost", "score": 0.05924580618739128 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.6446207165718079 }, "else": { "operation": "boost", "score": 0.12728773057460785 } }, "else": { "operation": "boost", "score": -0.3100817799568176 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.04788186773657799 }, "else": { "operation": "boost", "score": 0.11076297610998154 } } }, "else": { "operation": "boost", "score": -0.12478908896446228 } }, "else": { "operation": "boost", "score": 0.025060037150979042 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0728989765048027 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.0966048613190651 }, "else": { "operation": "boost", "score": -0.010077067650854588 } } }, "else": { "operation": "boost", "score": 0.03972584381699562 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.06200898066163063 }, "else": { "operation": "boost", "score": -0.05806346610188484 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11570685356855392 }, "else": { "operation": "boost", "score": -0.014573554508388042 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.10635054856538773 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.14336974918842316 }, "else": { "operation": "boost", "score": 0.042177192866802216 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05696406587958336 }, "else": { "operation": "boost", "score": -0.03439467400312424 } } }, "else": { "operation": "boost", "score": -1.1897974014282227 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.023956764489412308 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 489.5, "then": { "operation": "boost", "score": 0.02836933173239231 }, "else": { "operation": "boost", "score": -0.09183064103126526 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07119862735271454 }, "else": { "operation": "boost", "score": -0.23488467931747437 } }, "else": { "operation": "boost", "score": 0.05420830845832825 } } } } } } } }, "else": { "operation": "boost", "score": -0.008128311485052109 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.024519916623830795 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03137564659118652 }, "else": { "operation": "boost", "score": -0.23364819586277008 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020510388538241386 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.05888255313038826 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.00886567123234272 }, "else": { "operation": "boost", "score": 0.20917846262454987 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.05135058984160423 }, "else": { "operation": "boost", "score": -0.12407870590686798 } }, "else": { "operation": "boost", "score": 0.003554390510544181 } } } } } }, "else": { "operation": "boost", "score": 0.011459177359938622 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02878389321267605 }, "else": { "operation": "boost", "score": 0.0008205283083952963 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006663194391876459 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": -0.022370701655745506 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.035724882036447525 }, "else": { "operation": "boost", "score": -0.005206720437854528 } }, "else": { "operation": "boost", "score": 0.006029767449945211 } } } } } } } } }, "else": { "operation": "boost", "score": -0.0007563820108771324 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "boost", "score": 0.007119204383343458 }, "else": { "operation": "boost", "score": 0.00030198320746421814 } } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06684479117393494 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.14280804991722107 }, "else": { "operation": "boost", "score": 0.09990081191062927 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.021610522642731667 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.007821504957973957 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.057157985866069794 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.13751628994941711 }, "else": { "operation": "boost", "score": 0.05007283017039299 } } } } } }, "else": { "operation": "boost", "score": -0.024135036394000053 } }, "else": { "operation": "boost", "score": 0.0043651568703353405 } }, "else": { "operation": "boost", "score": 0.03751222416758537 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.004802399780601263 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0007872446440160275 }, "else": { "operation": "boost", "score": 0.07557956874370575 } }, "else": { "operation": "boost", "score": 0.02988303266465664 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.014876851812005043 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01329794991761446 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08925041556358337 }, "else": { "operation": "boost", "score": 0.003617487847805023 } }, "else": { "operation": "boost", "score": -0.06061296910047531 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "boost", "score": 0.17577588558197021 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.01780671626329422 }, "else": { "operation": "boost", "score": -0.1215130165219307 } }, "else": { "operation": "boost", "score": 0.016586292535066605 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.017944492399692535 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03762345388531685 }, "else": { "operation": "boost", "score": -0.006551600061357021 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010861290618777275 }, "else": { "operation": "boost", "score": -0.018291817978024483 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009372496046125889 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.011054226197302341 }, "else": { "operation": "boost", "score": -0.20586904883384705 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.11182378232479095 }, "else": { "operation": "boost", "score": 0.07733791321516037 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.05301621928811073 }, "else": { "operation": "boost", "score": 0.07014698535203934 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02737496979534626 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.3264893591403961 }, "else": { "operation": "boost", "score": -0.009534258395433426 } } }, "else": { "operation": "boost", "score": 0.08793234825134277 } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.30064788460731506 }, "else": { "operation": "boost", "score": 0.0058585116639733315 } } } } }, "else": { "operation": "boost", "score": 0.0006068733637221158 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0007132327882573009 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -1.6582895517349243 }, "else": { "operation": "boost", "score": 0.004087982699275017 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2234.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26715.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67917.5, "then": { "operation": "boost", "score": 0.033068131655454636 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43912.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55833.5, "then": { "operation": "boost", "score": -0.1520465761423111 }, "else": { "operation": "boost", "score": -0.7514475584030151 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.08489295095205307 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "boost", "score": -0.5763194561004639 }, "else": { "operation": "boost", "score": -0.014468868263065815 } } } } }, "else": { "operation": "boost", "score": 0.04464159160852432 } }, "else": { "operation": "boost", "score": -0.014768716879189014 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.10642971098423004 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.31548306345939636 }, "else": { "operation": "boost", "score": 0.03405733406543732 } } }, "else": { "operation": "boost", "score": -0.14431418478488922 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.3127236068248749 }, "else": { "operation": "boost", "score": -2.900564193725586 } }, "else": { "operation": "boost", "score": -0.045983657240867615 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.023714611306786537 }, "else": { "operation": "boost", "score": 0.006744608748704195 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71608.5, "then": { "operation": "boost", "score": 0.16642402112483978 }, "else": { "operation": "boost", "score": -0.04312409088015556 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.01761723682284355 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12235421687364578 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.16442586481571198 }, "else": { "operation": "boost", "score": 0.08828592300415039 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2409866899251938 }, "else": { "operation": "boost", "score": -0.07291164994239807 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.057303767651319504 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.21612028777599335 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07240620255470276 }, "else": { "operation": "boost", "score": 0.03218064084649086 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.05081828311085701 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.12582649290561676 }, "else": { "operation": "boost", "score": 0.12589634954929352 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 378.5, "then": { "operation": "boost", "score": -0.094612717628479 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 242.0, "then": { "operation": "boost", "score": 0.17214980721473694 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "boost", "score": -0.0024553898256272078 }, "else": { "operation": "boost", "score": 0.12032875418663025 } }, "else": { "operation": "boost", "score": -0.008718143217265606 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.15922768414020538 }, "else": { "operation": "boost", "score": -0.10215220600366592 } }, "else": { "operation": "boost", "score": 0.014876880683004856 } } } }, "else": { "operation": "boost", "score": -0.032036297023296356 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.015183218754827976 }, "else": { "operation": "boost", "score": -0.021177293732762337 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15874698758125305 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.003795584663748741 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": 0.052137505263090134 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.07463154941797256 }, "else": { "operation": "boost", "score": -0.0014066690346226096 } } }, "else": { "operation": "boost", "score": 0.0179961659014225 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.09776391834020615 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012803379446268082 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.09127345681190491 }, "else": { "operation": "boost", "score": 0.0028943114448338747 } }, "else": { "operation": "boost", "score": 0.09590588510036469 } } } } } }, "else": { "operation": "boost", "score": 0.01136066485196352 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0434238463640213 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": -0.1444290578365326 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4305555522441864, "then": { "operation": "boost", "score": 0.12139367312192917 }, "else": { "operation": "boost", "score": -0.06262271851301193 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.009470180608332157 }, "else": { "operation": "boost", "score": -0.017519468441605568 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.041946154087781906 }, "else": { "operation": "boost", "score": -0.19682848453521729 } }, "else": { "operation": "boost", "score": -0.03313996270298958 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.15203127264976501 }, "else": { "operation": "boost", "score": 0.06574659794569016 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.5911545157432556 }, "else": { "operation": "boost", "score": 0.11530578136444092 } }, "else": { "operation": "boost", "score": 0.016425393521785736 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.06390992552042007 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.10157272964715958 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": 0.14169159531593323 }, "else": { "operation": "boost", "score": -0.013085062615573406 } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00955816637724638 }, "else": { "operation": "boost", "score": -0.0033888835459947586 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.045968130230903625 }, "else": { "operation": "boost", "score": -0.019588949158787727 } } }, "else": { "operation": "boost", "score": -0.00036328317946754396 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.14445939660072327 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06524057686328888 }, "else": { "operation": "boost", "score": -0.019121289253234863 } }, "else": { "operation": "boost", "score": -0.1557634472846985 } } } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1069917157292366 }, "else": { "operation": "boost", "score": 0.03926731273531914 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "boost", "score": -0.0022843708284199238 }, "else": { "operation": "boost", "score": 0.0011967628961429 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.11448647826910019 }, "else": { "operation": "boost", "score": -0.029246363788843155 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13299088180065155 }, "else": { "operation": "boost", "score": 0.011629648506641388 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.035454604774713516 }, "else": { "operation": "boost", "score": -0.4375552833080292 } }, "else": { "operation": "boost", "score": 0.008757497183978558 } } }, "else": { "operation": "boost", "score": -0.12987715005874634 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5777778029441833, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.0, "then": { "operation": "boost", "score": 0.13089706003665924 }, "else": { "operation": "boost", "score": 0.17447596788406372 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2666666805744171, "then": { "operation": "boost", "score": 0.15990425646305084 }, "else": { "operation": "boost", "score": 0.11150640994310379 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.19125358760356903 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.38007915019989014 }, "else": { "operation": "boost", "score": 0.10136520862579346 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.05977921560406685 }, "else": { "operation": "boost", "score": 0.21144956350326538 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0773918554186821 }, "else": { "operation": "boost", "score": 0.11266595125198364 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.14682626724243164 }, "else": { "operation": "boost", "score": 0.026366587728261948 } } }, "else": { "operation": "boost", "score": -0.021981194615364075 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.620192289352417, "then": { "operation": "boost", "score": -0.010728883557021618 }, "else": { "operation": "boost", "score": 0.06421516835689545 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5584415793418884, "then": { "operation": "boost", "score": -0.005780932959169149 }, "else": { "operation": "boost", "score": 0.0953674465417862 } }, "else": { "operation": "boost", "score": 0.03040209785103798 } }, "else": { "operation": "boost", "score": -0.0464458167552948 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.02245611883699894 }, "else": { "operation": "boost", "score": -0.14437879621982574 } }, "else": { "operation": "boost", "score": 0.12475544959306717 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.027054326608777046 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "boost", "score": -0.2725050151348114 }, "else": { "operation": "boost", "score": -0.06095843017101288 } } }, "else": { "operation": "boost", "score": -0.20324039459228516 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": 0.015400067903101444 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.0014468147419393063 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.09211015701293945 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.0036330975126475096 }, "else": { "operation": "boost", "score": 0.11065015941858292 } } } }, "else": { "operation": "boost", "score": -0.26284971833229065 } }, "else": { "operation": "boost", "score": -0.03537306562066078 } } }, "else": { "operation": "boost", "score": -0.008107432164251804 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04880952462553978, "then": { "operation": "boost", "score": -0.008163738995790482 }, "else": { "operation": "boost", "score": 0.5805178284645081 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.14621245861053467 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.08047731965780258 }, "else": { "operation": "boost", "score": -0.001445611473172903 } }, "else": { "operation": "boost", "score": 0.13691499829292297 } }, "else": { "operation": "boost", "score": -0.15802273154258728 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.05761341005563736 }, "else": { "operation": "boost", "score": 0.06760963797569275 } }, "else": { "operation": "boost", "score": -0.020798489451408386 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.030307039618492126 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.004614067263901234 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.18745329976081848 }, "else": { "operation": "boost", "score": -0.11004878580570221 } } } }, "else": { "operation": "boost", "score": 0.015272310003638268 } }, "else": { "operation": "boost", "score": -0.08092265576124191 } } }, "else": { "operation": "boost", "score": -0.005672896280884743 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.355042040348053, "then": { "operation": "boost", "score": 0.007063835393637419 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03708791360259056, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29370.0, "then": { "operation": "boost", "score": -0.021663723513484 }, "else": { "operation": "boost", "score": -0.2733103632926941 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27669.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12060758471488953 }, "else": { "operation": "boost", "score": -0.06203049421310425 } }, "else": { "operation": "boost", "score": 0.0004124394617974758 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02928606979548931 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.06491498649120331 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.40306785702705383 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.09634818881750107 }, "else": { "operation": "boost", "score": -0.18953928351402283 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06189338117837906 }, "else": { "operation": "boost", "score": 0.09318123757839203 } }, "else": { "operation": "boost", "score": -0.1001005619764328 } } } }, "else": { "operation": "boost", "score": 0.04480450227856636 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.02285951003432274 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10055302828550339 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06250318884849548 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.34802696108818054 }, "else": { "operation": "boost", "score": 0.062256306409835815 } }, "else": { "operation": "boost", "score": 0.22911736369132996 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.3685491979122162 }, "else": { "operation": "boost", "score": -0.36341145634651184 } } } }, "else": { "operation": "boost", "score": 0.024870464578270912 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004449930042028427 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.02341039478778839 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.014258692041039467 }, "else": { "operation": "boost", "score": 0.12315405905246735 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1944308876991272 }, "else": { "operation": "boost", "score": 0.0922950878739357 } } } }, "else": { "operation": "boost", "score": -0.033788591623306274 } }, "else": { "operation": "boost", "score": 0.016777105629444122 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.03321114182472229 }, "else": { "operation": "boost", "score": 0.14010944962501526 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.015779003500938416 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.13684134185314178 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.5, "then": { "operation": "boost", "score": 0.033329397439956665 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.21186847984790802 }, "else": { "operation": "boost", "score": -0.12993764877319336 } }, "else": { "operation": "boost", "score": -0.10344471782445908 } } }, "else": { "operation": "boost", "score": 0.048806820064783096 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.22445859014987946 }, "else": { "operation": "boost", "score": 0.04931746795773506 } } } }, "else": { "operation": "boost", "score": 0.0001238161203218624 } } } }, "else": { "operation": "boost", "score": -0.12265900522470474 } }, "else": { "operation": "boost", "score": 0.17543141543865204 } }, "else": { "operation": "boost", "score": -0.002863102126866579 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.026983611285686493 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": -0.007304941304028034 }, "else": { "operation": "boost", "score": 0.005102019757032394 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10818713903427124, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.007321357261389494 }, "else": { "operation": "boost", "score": -0.023615030571818352 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.015543129295110703 }, "else": { "operation": "boost", "score": 0.0023974289651960135 } } }, "else": { "operation": "boost", "score": -0.014012845233082771 } }, "else": { "operation": "boost", "score": 0.005987971555441618 } }, "else": { "operation": "boost", "score": -0.013358678668737411 } }, "else": { "operation": "boost", "score": -0.08457301557064056 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006134577561169863 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116663.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005855195689946413 }, "else": { "operation": "boost", "score": -0.08691240847110748 } }, "else": { "operation": "boost", "score": -0.0016161062521860003 } } }, "else": { "operation": "boost", "score": -0.0011404979741200805 } } } }, "else": { "operation": "boost", "score": -0.0003734116326086223 } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03637566417455673, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0016179888043552637 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1889880895614624, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 8.250831888290122e-05 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5258.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24921.5, "then": { "operation": "boost", "score": -0.08151470124721527 }, "else": { "operation": "boost", "score": 0.08445850014686584 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.027318088337779045 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 295.5, "then": { "operation": "boost", "score": -0.044152967631816864 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05618803948163986 }, "else": { "operation": "boost", "score": -0.6022817492485046 } } } } }, "else": { "operation": "boost", "score": 0.03534229099750519 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.005682348273694515 }, "else": { "operation": "boost", "score": -0.04204050451517105 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 197.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 210.0, "then": { "operation": "boost", "score": 0.09746058285236359 }, "else": { "operation": "boost", "score": 0.1184777021408081 } }, "else": { "operation": "boost", "score": 0.009953662753105164 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00946254376322031 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0018932400271296501 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.18850621581077576 }, "else": { "operation": "boost", "score": -0.12159159779548645 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.05790194496512413 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "boost", "score": 0.09069070219993591 }, "else": { "operation": "boost", "score": 0.15388786792755127 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.0, "then": { "operation": "boost", "score": 0.10459090769290924 }, "else": { "operation": "boost", "score": -0.13804088532924652 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07006596028804779 }, "else": { "operation": "boost", "score": 0.12474100291728973 } }, "else": { "operation": "boost", "score": -0.01935555413365364 } } }, "else": { "operation": "boost", "score": -0.038865502923727036 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "boost", "score": 0.002808025572448969 }, "else": { "operation": "boost", "score": -0.012702657841145992 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0463976226747036 }, "else": { "operation": "boost", "score": 0.12087278068065643 } }, "else": { "operation": "boost", "score": 0.046841468662023544 } }, "else": { "operation": "boost", "score": 0.015322484076023102 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.059583358466625214 }, "else": { "operation": "boost", "score": 0.06004077568650246 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.018066082149744034 }, "else": { "operation": "boost", "score": 0.07894652336835861 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0009022139711305499 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "boost", "score": -0.03276953473687172 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1262947916984558 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.050710294395685196 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.05582522600889206 }, "else": { "operation": "boost", "score": -0.032200053334236145 } } } }, "else": { "operation": "boost", "score": -0.010733540169894695 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10041917860507965 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.0, "then": { "operation": "boost", "score": 0.09414809942245483 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07133954763412476 }, "else": { "operation": "boost", "score": 0.07650740444660187 } } }, "else": { "operation": "boost", "score": 0.006609865464270115 } }, "else": { "operation": "boost", "score": -0.03921310976147652 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.00269212294369936 }, "else": { "operation": "boost", "score": -0.015143326483666897 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.094387486577034 }, "else": { "operation": "boost", "score": -0.0687875896692276 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.001993641024455428 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0033308141864836216 }, "else": { "operation": "boost", "score": -0.006924192421138287 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3957124650478363 }, "else": { "operation": "boost", "score": 0.023221777752041817 } }, "else": { "operation": "boost", "score": -0.018438931554555893 } }, "else": { "operation": "boost", "score": -0.0984891727566719 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.11960815638303757 }, "else": { "operation": "boost", "score": -0.01517487596720457 } } } } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.24886710941791534 }, "else": { "operation": "boost", "score": -0.0793084055185318 } }, "else": { "operation": "boost", "score": -0.02506820484995842 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01241969596594572 }, "else": { "operation": "boost", "score": 0.10304757952690125 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.14864088594913483 }, "else": { "operation": "boost", "score": 0.06305105984210968 } } }, "else": { "operation": "boost", "score": 0.0354086197912693 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.0246155746281147 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.10105957835912704 }, "else": { "operation": "boost", "score": 0.13442789018154144 } } } }, "else": { "operation": "boost", "score": -0.02673196978867054 } }, "else": { "operation": "boost", "score": 0.0005805121036246419 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08136346936225891 }, "else": { "operation": "boost", "score": 0.05525490641593933 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0016245378646999598 }, "else": { "operation": "boost", "score": 0.1281968653202057 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.17431141436100006 }, "else": { "operation": "boost", "score": -0.11608116328716278 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10837302356958389 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.04690120741724968 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.06972460448741913 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.001597848953679204 }, "else": { "operation": "boost", "score": -0.5987248420715332 } }, "else": { "operation": "boost", "score": 0.06698117405176163 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.16594599187374115 }, "else": { "operation": "boost", "score": 0.08991383016109467 } }, "else": { "operation": "boost", "score": 0.1285371035337448 } }, "else": { "operation": "boost", "score": 0.05637604370713234 } } }, "else": { "operation": "boost", "score": 0.02057083509862423 } }, "else": { "operation": "boost", "score": -0.009778098203241825 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.07361278682947159 }, "else": { "operation": "boost", "score": 0.01796008087694645 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.01137124840170145 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.07848887890577316 }, "else": { "operation": "boost", "score": 0.0853387862443924 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.06006776541471481 }, "else": { "operation": "boost", "score": 0.2987724244594574 } } }, "else": { "operation": "boost", "score": -0.10947313904762268 } } } }, "else": { "operation": "boost", "score": -0.07395073026418686 } } } } }, "else": { "operation": "boost", "score": -0.010203605517745018 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03335978835821152 }, "else": { "operation": "boost", "score": 0.22252990305423737 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.08707734197378159 }, "else": { "operation": "boost", "score": 0.016532298177480698 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.01013240683823824 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": -0.03304416686296463 }, "else": { "operation": "boost", "score": 0.09407611936330795 } }, "else": { "operation": "boost", "score": -0.12034693360328674 } } } } }, "else": { "operation": "boost", "score": -0.040054503828287125 } }, "else": { "operation": "boost", "score": 0.0018352136248722672 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.05196699500083923 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.012222792953252792 }, "else": { "operation": "boost", "score": 0.05218591168522835 } }, "else": { "operation": "boost", "score": 0.008439654484391212 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0914275199174881 }, "else": { "operation": "boost", "score": -0.06944920867681503 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97784.5, "then": { "operation": "boost", "score": -0.17118039727210999 }, "else": { "operation": "boost", "score": -0.027633022516965866 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.5039520263671875 }, "else": { "operation": "boost", "score": -0.05982746183872223 } } } }, "else": { "operation": "boost", "score": -0.001174329430796206 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1605476588010788 }, "else": { "operation": "boost", "score": -0.03430052474141121 } } }, "else": { "operation": "boost", "score": -0.000359498051693663 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0035696011036634445 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -1.2962172031402588 }, "else": { "operation": "boost", "score": -0.08541135489940643 } }, "else": { "operation": "boost", "score": 0.007819537073373795 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.33259856700897217 }, "else": { "operation": "boost", "score": 0.06143707409501076 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.024884380400180817 }, "else": { "operation": "boost", "score": -0.23875583708286285 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": -0.0030365614220499992 }, "else": { "operation": "boost", "score": -0.056045472621917725 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.13053405284881592 }, "else": { "operation": "boost", "score": -0.10386711359024048 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.009567070752382278 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.020345043390989304 }, "else": { "operation": "boost", "score": 0.042792629450559616 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.0, "then": { "operation": "boost", "score": 0.09370213001966476 }, "else": { "operation": "boost", "score": -0.16638773679733276 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08385462313890457 }, "else": { "operation": "boost", "score": -0.043226778507232666 } }, "else": { "operation": "boost", "score": 0.07790131121873856 } } }, "else": { "operation": "boost", "score": -0.5204131007194519 } }, "else": { "operation": "boost", "score": -0.0107919592410326 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.01908663846552372 }, "else": { "operation": "boost", "score": -0.075924351811409 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1618419885635376 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011309020221233368 }, "else": { "operation": "boost", "score": 0.04979310184717178 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.014027236960828304 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.041197385638952255 }, "else": { "operation": "boost", "score": 0.08548477292060852 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.034632034599781036, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08888959139585495 }, "else": { "operation": "boost", "score": -0.10033004730939865 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": -0.04495767503976822 }, "else": { "operation": "boost", "score": -0.3043850362300873 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.008116927929222584 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04492644593119621 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.02467808872461319 }, "else": { "operation": "boost", "score": 0.00958226341754198 } } } } }, "else": { "operation": "boost", "score": -0.0244259312748909 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83253.0, "then": { "operation": "boost", "score": -0.430829256772995 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": -0.8565914630889893 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": -0.5799321532249451 }, "else": { "operation": "boost", "score": 0.04318653419613838 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.17378166317939758 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.15910644829273224 }, "else": { "operation": "boost", "score": -0.04681200906634331 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 111.0, "then": { "operation": "boost", "score": 0.1428803950548172 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "boost", "score": 0.14654266834259033 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.11529184132814407 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.07837630808353424 }, "else": { "operation": "boost", "score": 0.16393406689167023 } } } } }, "else": { "operation": "boost", "score": -0.008200588636100292 } }, "else": { "operation": "boost", "score": 0.0026373101864010096 } }, "else": { "operation": "boost", "score": 0.05313868448138237 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.0771520659327507 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.08948691934347153 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010711407288908958 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.12102869898080826 }, "else": { "operation": "boost", "score": 0.17345863580703735 } }, "else": { "operation": "boost", "score": -0.10975678265094757 } }, "else": { "operation": "boost", "score": 0.09395194053649902 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.12666063010692596 }, "else": { "operation": "boost", "score": 0.31779709458351135 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05384018272161484 }, "else": { "operation": "boost", "score": -1.913978099822998 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.012927882373332977 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.6268004179000854 }, "else": { "operation": "boost", "score": 0.09628501534461975 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11207707226276398 }, "else": { "operation": "boost", "score": 0.13422469794750214 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.0007257155375555158 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.11997294425964355 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.0, "then": { "operation": "boost", "score": 0.1552269160747528 }, "else": { "operation": "boost", "score": 0.14058281481266022 } }, "else": { "operation": "boost", "score": 0.06373235583305359 } }, "else": { "operation": "boost", "score": 0.10964379459619522 } }, "else": { "operation": "boost", "score": -0.08804876357316971 } } } } } }, "else": { "operation": "boost", "score": -0.009219329804182053 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.09375683963298798 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.09465537220239639 }, "else": { "operation": "boost", "score": 0.14275850355625153 } }, "else": { "operation": "boost", "score": -0.11550026386976242 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06514681875705719 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5727273225784302, "then": { "operation": "boost", "score": -0.06817270815372467 }, "else": { "operation": "boost", "score": 0.07654830068349838 } }, "else": { "operation": "boost", "score": 0.003226478351280093 } }, "else": { "operation": "boost", "score": 0.07204824686050415 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.11667083948850632 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08276484161615372 }, "else": { "operation": "boost", "score": 0.0986800342798233 } }, "else": { "operation": "boost", "score": 0.040071725845336914 } } }, "else": { "operation": "boost", "score": -0.022722385823726654 } }, "else": { "operation": "boost", "score": -0.0023032163735479116 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.024276094511151314 }, "else": { "operation": "boost", "score": 0.008640548214316368 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.04095122963190079 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14503.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.24089457094669342 }, "else": { "operation": "boost", "score": 0.03295198082923889 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.0, "then": { "operation": "boost", "score": 0.3093729019165039 }, "else": { "operation": "boost", "score": 0.09656159579753876 } }, "else": { "operation": "boost", "score": -0.3069174885749817 } }, "else": { "operation": "boost", "score": 0.6406610608100891 } }, "else": { "operation": "boost", "score": 0.02765112929046154 } } } }, "else": { "operation": "boost", "score": -0.013044447638094425 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.00706853112205863 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1416231095790863 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0416666679084301, "then": { "operation": "boost", "score": -0.3919292390346527 }, "else": { "operation": "boost", "score": 0.12985728681087494 } }, "else": { "operation": "boost", "score": 0.03750592842698097 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0009212780860252678 }, "else": { "operation": "boost", "score": -0.054016388952732086 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.035387713462114334 }, "else": { "operation": "boost", "score": 0.059975817799568176 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.08827032148838043 }, "else": { "operation": "boost", "score": 0.06236004829406738 } }, "else": { "operation": "boost", "score": -0.06031467765569687 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.08976440876722336 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03531912341713905 }, "else": { "operation": "boost", "score": 0.07216598093509674 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10564026236534119 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.01305522583425045 }, "else": { "operation": "boost", "score": 0.09536483883857727 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.1157626137137413 }, "else": { "operation": "boost", "score": 0.043134961277246475 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13398505747318268 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08380194753408432 }, "else": { "operation": "boost", "score": -0.0015133520355448127 } } } } } } } } }, "else": { "operation": "boost", "score": -0.00011523839930305257 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06189366802573204 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07734166085720062 }, "else": { "operation": "boost", "score": -0.03719891607761383 } }, "else": { "operation": "boost", "score": 0.006202578078955412 } } }, "else": { "operation": "boost", "score": 0.0006823037983849645 } }, "else": { "operation": "boost", "score": 0.0005063940770924091 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03369399160146713 }, "else": { "operation": "boost", "score": -0.0258359145373106 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266152.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272339.5, "then": { "operation": "boost", "score": 0.011696959845721722 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.05550083890557289 }, "else": { "operation": "boost", "score": 0.09640154987573624 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004253922495990992 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.01199090015143156 }, "else": { "operation": "boost", "score": 0.01541297696530819 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.05889981985092163 }, "else": { "operation": "boost", "score": 0.019352590665221214 } }, "else": { "operation": "boost", "score": 0.016331704333424568 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.1223871260881424 }, "else": { "operation": "boost", "score": 0.022208664566278458 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.030128810554742813 }, "else": { "operation": "boost", "score": -0.14595608413219452 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10229761898517609 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.14747443795204163 }, "else": { "operation": "boost", "score": 0.03295176103711128 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.045851144939661026 }, "else": { "operation": "boost", "score": -0.15365983545780182 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.0751943588256836 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.011632896959781647 }, "else": { "operation": "boost", "score": -0.28422629833221436 } }, "else": { "operation": "boost", "score": 0.07044526934623718 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.05348193645477295 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.07928906381130219 }, "else": { "operation": "boost", "score": 0.03180444613099098 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.04438911750912666 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.05325670912861824 }, "else": { "operation": "boost", "score": 0.11598843336105347 } }, "else": { "operation": "boost", "score": 0.02460320107638836 } } } } } } } }, "else": { "operation": "boost", "score": -0.10407096892595291 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.028139842674136162 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10393135994672775 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": 0.10056915134191513 }, "else": { "operation": "boost", "score": 0.026437899097800255 } } }, "else": { "operation": "boost", "score": -0.10293981432914734 } }, "else": { "operation": "boost", "score": -0.008582857437431812 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.27690747380256653 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.0930040180683136 }, "else": { "operation": "boost", "score": 0.058509424328804016 } }, "else": { "operation": "boost", "score": -0.03357852250337601 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.031934455037117004 }, "else": { "operation": "boost", "score": 0.08252320438623428 } } }, "else": { "operation": "boost", "score": 0.017365187406539917 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.028651287779211998 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.04499569162726402 }, "else": { "operation": "boost", "score": 0.01837405562400818 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.018662571907043457 }, "else": { "operation": "boost", "score": -0.40765243768692017 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.01506116148084402 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.21036529541015625 }, "else": { "operation": "boost", "score": 0.049030084162950516 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.12465889006853104 }, "else": { "operation": "boost", "score": 0.02804373763501644 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.030136993154883385 }, "else": { "operation": "boost", "score": 0.06858716160058975 } }, "else": { "operation": "boost", "score": 0.008461068384349346 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0018999316962435842 }, "else": { "operation": "boost", "score": -0.04829917103052139 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 882.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2471.0, "then": { "operation": "boost", "score": 0.07314497232437134 }, "else": { "operation": "boost", "score": 0.13230985403060913 } }, "else": { "operation": "boost", "score": 0.0662761703133583 } }, "else": { "operation": "boost", "score": -0.03664683923125267 } }, "else": { "operation": "boost", "score": -0.00029928633011877537 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.027416205033659935 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0011916211806237698 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.12558504939079285 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.16218525171279907 }, "else": { "operation": "boost", "score": -0.024508537724614143 } } }, "else": { "operation": "boost", "score": 0.08464700728654861 } } } }, "else": { "operation": "boost", "score": 0.012044123373925686 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03595393896102905 }, "else": { "operation": "boost", "score": -0.06084069237112999 } } }, "else": { "operation": "boost", "score": 0.0026486089918762445 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.09955127537250519 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1673.5, "then": { "operation": "boost", "score": 0.03264014795422554 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.1177181676030159 }, "else": { "operation": "boost", "score": 0.06949946284294128 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11713245511054993 }, "else": { "operation": "boost", "score": 0.0621437169611454 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99.5, "then": { "operation": "boost", "score": 0.035185135900974274 }, "else": { "operation": "boost", "score": 0.12819433212280273 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.015844276174902916 }, "else": { "operation": "boost", "score": -0.43732061982154846 } }, "else": { "operation": "boost", "score": 0.05041612684726715 } }, "else": { "operation": "boost", "score": -0.031934984028339386 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07469067722558975 }, "else": { "operation": "boost", "score": -0.009897220879793167 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.40824535489082336 }, "else": { "operation": "boost", "score": 0.18635743856430054 } }, "else": { "operation": "boost", "score": 0.031670983880758286 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0060295164585113525 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0011045638239011168 }, "else": { "operation": "boost", "score": -0.018447138369083405 } } } } } }, "else": { "operation": "boost", "score": -0.018182042986154556 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 458944.5, "then": { "operation": "boost", "score": 0.07902766764163971 }, "else": { "operation": "boost", "score": 0.0044795754365623 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": -0.07632175832986832 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12798883020877838 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9623.0, "then": { "operation": "boost", "score": -0.01989702321588993 }, "else": { "operation": "boost", "score": 0.03846196085214615 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.27746549248695374 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.1496015191078186 }, "else": { "operation": "boost", "score": 0.27847322821617126 } }, "else": { "operation": "boost", "score": 0.0005293117719702423 } }, "else": { "operation": "boost", "score": -0.0683029517531395 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.004071472212672234 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.33362752199172974 }, "else": { "operation": "boost", "score": 0.026825372129678726 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1540.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.030931947752833366 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "boost", "score": -0.011413118802011013 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.0710921436548233 }, "else": { "operation": "boost", "score": -0.059956930577754974 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 66036.0, "then": { "operation": "boost", "score": -0.1035885140299797 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "boost", "score": 0.08369529992341995 }, "else": { "operation": "boost", "score": 0.1354871690273285 } }, "else": { "operation": "boost", "score": -0.02074679359793663 } }, "else": { "operation": "boost", "score": -0.0018620836781337857 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1537.5, "then": { "operation": "boost", "score": -0.2036678045988083 }, "else": { "operation": "boost", "score": -0.012843016535043716 } } } } }, "else": { "operation": "boost", "score": 0.000763066578656435 } } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 15677.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16126.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16170.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21122.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34205.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 200884.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": -0.058975666761398315 }, "else": { "operation": "boost", "score": 0.05780510604381561 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "boost", "score": -0.15008467435836792 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "boost", "score": 0.02290835976600647 }, "else": { "operation": "boost", "score": -0.05572620406746864 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45940.0, "then": { "operation": "boost", "score": 0.04754034802317619 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.1096353605389595 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.09902752935886383 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06446623802185059 }, "else": { "operation": "boost", "score": 0.13605956733226776 } } }, "else": { "operation": "boost", "score": 0.054442983120679855 } } } }, "else": { "operation": "boost", "score": -0.0498417392373085 } } }, "else": { "operation": "boost", "score": 0.09329540282487869 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.13893073797225952 }, "else": { "operation": "boost", "score": -0.031108509749174118 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20712.0, "then": { "operation": "boost", "score": 0.2496960461139679 }, "else": { "operation": "boost", "score": -0.10081268101930618 } }, "else": { "operation": "boost", "score": 0.10938448458909988 } }, "else": { "operation": "boost", "score": 0.006441863253712654 } } }, "else": { "operation": "boost", "score": 0.021702280268073082 } }, "else": { "operation": "boost", "score": -0.012641041539609432 } }, "else": { "operation": "boost", "score": -0.0570656917989254 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20039.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25976.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 275328.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276350.0, "then": { "operation": "boost", "score": 0.008308450691401958 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.14190147817134857 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.12164130061864853 }, "else": { "operation": "boost", "score": 0.031403545290231705 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22165046632289886 }, "else": { "operation": "boost", "score": -0.10039646923542023 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93657.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105661.0, "then": { "operation": "boost", "score": 0.013013623654842377 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03309399634599686 }, "else": { "operation": "boost", "score": 0.04713093116879463 } } }, "else": { "operation": "boost", "score": 0.006871533580124378 } } }, "else": { "operation": "boost", "score": -0.017571711912751198 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "boost", "score": 0.15458574891090393 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.044737156480550766 }, "else": { "operation": "boost", "score": -0.01654960587620735 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18485.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18526.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24330.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26162.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34707.0, "then": { "operation": "boost", "score": 0.003347428049892187 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33949.0, "then": { "operation": "boost", "score": 0.10155636072158813 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30221.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33451.5, "then": { "operation": "boost", "score": 0.10214705020189285 }, "else": { "operation": "boost", "score": -0.11433859169483185 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28239.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29370.0, "then": { "operation": "boost", "score": 0.08392294496297836 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.2167050689458847 }, "else": { "operation": "boost", "score": 0.10249950736761093 } }, "else": { "operation": "boost", "score": 0.15298707783222198 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29244.0, "then": { "operation": "boost", "score": 0.08252490311861038 }, "else": { "operation": "boost", "score": -0.24466246366500854 } } }, "else": { "operation": "boost", "score": 0.01819685287773609 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32401.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "boost", "score": 0.0027965730987489223 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.07218173146247864 }, "else": { "operation": "boost", "score": 0.16406691074371338 } }, "else": { "operation": "boost", "score": 0.08465773612260818 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32026.0, "then": { "operation": "boost", "score": -0.1377706527709961 }, "else": { "operation": "boost", "score": 0.030664965510368347 } } } } } }, "else": { "operation": "boost", "score": -0.08170419931411743 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.08726903051137924 }, "else": { "operation": "boost", "score": 0.01681874506175518 } }, "else": { "operation": "boost", "score": -0.17999666929244995 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19362.0, "then": { "operation": "boost", "score": -0.0029424570966511965 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19307.0, "then": { "operation": "boost", "score": 0.10851931571960449 }, "else": { "operation": "boost", "score": 0.13251833617687225 } }, "else": { "operation": "boost", "score": -0.021693743765354156 } }, "else": { "operation": "boost", "score": 0.08222652226686478 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22681.0, "then": { "operation": "boost", "score": -0.10683444142341614 }, "else": { "operation": "boost", "score": -0.02416771464049816 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.08190029859542847 }, "else": { "operation": "boost", "score": 0.00661816680803895 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23872.5, "then": { "operation": "boost", "score": 0.09568852186203003 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.09613870084285736 }, "else": { "operation": "boost", "score": 0.17971430718898773 } } }, "else": { "operation": "boost", "score": 0.027847636491060257 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04119860753417015 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20439.5, "then": { "operation": "boost", "score": -0.18505778908729553 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.08245214074850082 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08832205832004547 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.16757172346115112 }, "else": { "operation": "boost", "score": 0.10907907783985138 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10715487599372864 }, "else": { "operation": "boost", "score": -0.040841493755578995 } } }, "else": { "operation": "boost", "score": -0.05215192958712578 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008282183669507504 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "boost", "score": 0.08660727739334106 }, "else": { "operation": "boost", "score": -0.060027897357940674 } } } }, "else": { "operation": "boost", "score": -0.1930340677499771 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15964.5, "then": { "operation": "boost", "score": 0.13317276537418365 }, "else": { "operation": "boost", "score": 0.09342730045318604 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.15051497519016266 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15964.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.018793512135744095 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10101009905338287, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "boost", "score": 0.1628478467464447 }, "else": { "operation": "boost", "score": 0.110450878739357 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11646219342947006 }, "else": { "operation": "boost", "score": 0.11491748690605164 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0648629441857338 }, "else": { "operation": "boost", "score": 0.17944516241550446 } } } } }, "else": { "operation": "boost", "score": -0.01125249918550253 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07631704211235046 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.1941167116165161 }, "else": { "operation": "boost", "score": -0.013706396333873272 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15389.0, "then": { "operation": "boost", "score": -0.12649263441562653 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14372.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14443.0, "then": { "operation": "boost", "score": -0.06469683349132538 }, "else": { "operation": "boost", "score": 0.16446633636951447 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14800.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15158.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15267.5, "then": { "operation": "boost", "score": 0.11339212954044342 }, "else": { "operation": "boost", "score": -0.1117081567645073 } }, "else": { "operation": "boost", "score": 0.08012787252664566 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.0075896866619586945 }, "else": { "operation": "boost", "score": 0.11561501026153564 } }, "else": { "operation": "boost", "score": 0.07992283999919891 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.06907968968153 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.2193271368741989 }, "else": { "operation": "boost", "score": 0.18973037600517273 } } }, "else": { "operation": "boost", "score": -0.46941545605659485 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.12190546840429306 }, "else": { "operation": "boost", "score": -0.16148066520690918 } } } } }, "else": { "operation": "boost", "score": 0.003526093438267708 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14599.5, "then": { "operation": "boost", "score": 0.0722145214676857 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.11508127301931381 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.10438977926969528 }, "else": { "operation": "boost", "score": 0.19095003604888916 } } } }, "else": { "operation": "boost", "score": -0.12057686597108841 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15236.0, "then": { "operation": "boost", "score": -0.08515160530805588 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15033.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.15573012828826904 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08633359521627426 }, "else": { "operation": "boost", "score": 0.1424151510000229 } } }, "else": { "operation": "boost", "score": 0.023336302489042282 } }, "else": { "operation": "boost", "score": -0.008315442129969597 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14187.0, "then": { "operation": "boost", "score": -0.13532164692878723 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14112.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10457184910774231 }, "else": { "operation": "boost", "score": 0.1095048040151596 } }, "else": { "operation": "boost", "score": -7.69677571952343e-05 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.10412155091762543 }, "else": { "operation": "boost", "score": 0.011969049461185932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": -0.2492140233516693 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.08571557700634003 }, "else": { "operation": "boost", "score": -0.08906593918800354 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.06696378439664841 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11697559058666229 }, "else": { "operation": "boost", "score": 0.05267026647925377 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.05799271538853645 }, "else": { "operation": "boost", "score": 0.14457669854164124 } }, "else": { "operation": "boost", "score": 0.09713003039360046 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.02581658773124218 }, "else": { "operation": "boost", "score": 0.12750345468521118 } }, "else": { "operation": "boost", "score": -0.05983280390501022 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.13879606127738953 }, "else": { "operation": "boost", "score": 0.13254953920841217 } }, "else": { "operation": "boost", "score": -0.055634137243032455 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.017171518877148628 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.12931445240974426 }, "else": { "operation": "boost", "score": 0.12720991671085358 } }, "else": { "operation": "boost", "score": -0.10353177785873413 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.013147346675395966 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": -0.17750601470470428 }, "else": { "operation": "boost", "score": 0.11073219776153564 } }, "else": { "operation": "boost", "score": 0.1440533548593521 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": -0.10710521042346954 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10366316139698029 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.6856123805046082 }, "else": { "operation": "boost", "score": 0.010957224294543266 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04988966882228851 }, "else": { "operation": "boost", "score": -0.03533121570944786 } }, "else": { "operation": "boost", "score": 0.03163977339863777 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.13163548707962036 }, "else": { "operation": "boost", "score": -0.030518047511577606 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09543825685977936 }, "else": { "operation": "boost", "score": 0.012562853284180164 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.09237629175186157 }, "else": { "operation": "boost", "score": 0.05526411160826683 } } }, "else": { "operation": "boost", "score": 0.0010294170351698995 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07979682087898254 }, "else": { "operation": "boost", "score": -0.040280234068632126 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06966809183359146 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.02286849543452263 }, "else": { "operation": "boost", "score": 0.018981389701366425 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1825026273727417 }, "else": { "operation": "boost", "score": -0.16993781924247742 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07983478903770447 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.019414009526371956 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.2672592103481293 }, "else": { "operation": "boost", "score": -0.16680264472961426 } }, "else": { "operation": "boost", "score": -0.010754132643342018 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11160359531641006 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.02223992720246315 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.10533341765403748 }, "else": { "operation": "boost", "score": 0.07805066555738449 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.025725366547703743 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.11963541805744171 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.13542933762073517 }, "else": { "operation": "boost", "score": 0.11157302558422089 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.004564330447465181 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.11498810350894928 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.029814640060067177 }, "else": { "operation": "boost", "score": -0.11733856797218323 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.032039035111665726 }, "else": { "operation": "boost", "score": 0.10683972388505936 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.019061224535107613 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.015332215465605259 }, "else": { "operation": "boost", "score": 0.094378761947155 } }, "else": { "operation": "boost", "score": -0.04554837942123413 } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10079740732908249 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.08144917339086533 }, "else": { "operation": "boost", "score": -0.21576841175556183 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.040636174380779266 }, "else": { "operation": "boost", "score": -0.06109688803553581 } }, "else": { "operation": "boost", "score": 0.16946083307266235 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.16067686676979065 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.16592146456241608 }, "else": { "operation": "boost", "score": 0.028020506724715233 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -1.2617284059524536 }, "else": { "operation": "boost", "score": -0.15336763858795166 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.30416548252105713 }, "else": { "operation": "boost", "score": 0.025080444291234016 } }, "else": { "operation": "boost", "score": -0.04283928871154785 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.12320776283740997 }, "else": { "operation": "boost", "score": 0.10171295702457428 } }, "else": { "operation": "boost", "score": -0.020673541352152824 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.09844443947076797 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.23902475833892822 }, "else": { "operation": "boost", "score": 0.07357488572597504 } } }, "else": { "operation": "boost", "score": -0.3658659756183624 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03134883567690849 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09622263163328171 }, "else": { "operation": "boost", "score": 0.08478452265262604 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.26023992896080017 }, "else": { "operation": "boost", "score": -0.0024286045227199793 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.11748211085796356 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.0006375951343216002 }, "else": { "operation": "boost", "score": 0.07440595328807831 } } }, "else": { "operation": "boost", "score": -0.08038520067930222 } } }, "else": { "operation": "boost", "score": -0.03854178637266159 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.21183638274669647 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.12898515164852142 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.1103363186120987 }, "else": { "operation": "boost", "score": -0.0064478530548512936 } }, "else": { "operation": "boost", "score": -0.0008703027851879597 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.14732405543327332 }, "else": { "operation": "boost", "score": 0.08869225531816483 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.07658293098211288 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.15219168365001678 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.8067386746406555 }, "else": { "operation": "boost", "score": -0.0971212387084961 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.17447873950004578 }, "else": { "operation": "boost", "score": -0.020349182188510895 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.07740827649831772 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.14582180976867676 }, "else": { "operation": "boost", "score": 0.22491395473480225 } }, "else": { "operation": "boost", "score": -0.1054949164390564 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.000552432902622968 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.28117677569389343 }, "else": { "operation": "boost", "score": 0.044987037777900696 } } }, "else": { "operation": "boost", "score": -0.13643133640289307 } } } }, "else": { "operation": "boost", "score": 0.0015990616520866752 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.08386269211769104 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.01715882122516632 }, "else": { "operation": "boost", "score": -0.11605405062437057 } }, "else": { "operation": "boost", "score": 0.058787696063518524 } } } } } } } } }, "else": { "operation": "boost", "score": 0.0010348353534936905 } }, "else": { "operation": "boost", "score": -0.00012085591879440472 } }, { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1449158489704132 }, "else": { "operation": "boost", "score": 0.1174992173910141 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.1023002341389656 }, "else": { "operation": "boost", "score": 0.34577444195747375 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": -0.0644126757979393 }, "else": { "operation": "boost", "score": 0.1916436403989792 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.04317072033882141 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05324305221438408 }, "else": { "operation": "boost", "score": -0.26725876331329346 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.292702853679657 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.09583625197410583 }, "else": { "operation": "boost", "score": 0.1137901172041893 } }, "else": { "operation": "boost", "score": -0.027512211352586746 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.0016842068871483207 }, "else": { "operation": "boost", "score": 0.11168976873159409 } }, "else": { "operation": "boost", "score": -0.11500362306833267 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.38597264885902405 }, "else": { "operation": "boost", "score": -0.10851152241230011 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.1651105284690857 }, "else": { "operation": "boost", "score": -0.12318670004606247 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.05943842977285385 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.21274343132972717 }, "else": { "operation": "boost", "score": -0.6700765490531921 } }, "else": { "operation": "boost", "score": -0.08439483493566513 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.11032525449991226 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.060276493430137634 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.10209211707115173 }, "else": { "operation": "boost", "score": 0.2085787057876587 } } }, "else": { "operation": "boost", "score": 0.007206847425550222 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.17613214254379272 }, "else": { "operation": "boost", "score": 0.06472878158092499 } }, "else": { "operation": "boost", "score": 0.032681237906217575 } }, "else": { "operation": "boost", "score": -0.10462729632854462 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0008745655068196356 }, "else": { "operation": "boost", "score": -0.11847374588251114 } } }, "else": { "operation": "boost", "score": -0.11211700737476349 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.005075282882899046 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.14235714077949524 }, "else": { "operation": "boost", "score": 0.03897722437977791 } } }, "else": { "operation": "boost", "score": -0.01860186830163002 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.045837387442588806 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.011619794182479382 }, "else": { "operation": "boost", "score": -0.023177823051810265 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.1325153261423111 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.04598645120859146 }, "else": { "operation": "boost", "score": -0.007403425872325897 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.04463667795062065 }, "else": { "operation": "boost", "score": 0.06470697373151779 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.07570170611143112 }, "else": { "operation": "boost", "score": 0.019418522715568542 } }, "else": { "operation": "boost", "score": 0.024660976603627205 } } } }, "else": { "operation": "boost", "score": 0.013648148626089096 } }, "else": { "operation": "boost", "score": 0.0035410216078162193 } } }, "else": { "operation": "boost", "score": 0.001787587534636259 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.07457376271486282 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.016896545886993408 }, "else": { "operation": "boost", "score": 0.02421683631837368 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13942307233810425, "then": { "operation": "boost", "score": 0.1085054948925972 }, "else": { "operation": "boost", "score": 0.037017542868852615 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.4045681953430176 }, "else": { "operation": "boost", "score": -0.11886722594499588 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.2165651023387909 }, "else": { "operation": "boost", "score": -0.019347146153450012 } }, "else": { "operation": "boost", "score": -0.2412654459476471 } }, "else": { "operation": "boost", "score": 0.01632385328412056 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0773809552192688, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.047235772013664246 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.08248594403266907 }, "else": { "operation": "boost", "score": -0.13137206435203552 } }, "else": { "operation": "boost", "score": 0.08546362072229385 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.0575505755841732 }, "else": { "operation": "boost", "score": 0.06066865846514702 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.1517820954322815 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08875743299722672 }, "else": { "operation": "boost", "score": -0.10891043394804001 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.17737385630607605 }, "else": { "operation": "boost", "score": -0.10332676768302917 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.13246114552021027 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4277.0, "then": { "operation": "boost", "score": -0.18518251180648804 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 470.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1388888955116272, "then": { "operation": "boost", "score": 0.10710134357213974 }, "else": { "operation": "boost", "score": 0.09061522781848907 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.08565762639045715 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.12611782550811768 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 181.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 260.5, "then": { "operation": "boost", "score": 0.028544271364808083 }, "else": { "operation": "boost", "score": -0.20066054165363312 } }, "else": { "operation": "boost", "score": 0.14569386839866638 } }, "else": { "operation": "boost", "score": -0.14166995882987976 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.0032102770637720823 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.0, "then": { "operation": "boost", "score": 0.17496807873249054 }, "else": { "operation": "boost", "score": 0.1193743646144867 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "boost", "score": 0.09045982360839844 }, "else": { "operation": "boost", "score": -0.19308362901210785 } }, "else": { "operation": "boost", "score": 0.0752643272280693 } } }, "else": { "operation": "boost", "score": -0.025213081389665604 } } } } }, "else": { "operation": "boost", "score": 0.0036132840905338526 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.04974352568387985 }, "else": { "operation": "boost", "score": 0.11276467889547348 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.11872652173042297 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11280040442943573 }, "else": { "operation": "boost", "score": 0.24519257247447968 } }, "else": { "operation": "boost", "score": 0.10642364621162415 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.07592976838350296 }, "else": { "operation": "boost", "score": -0.06021460145711899 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04923815280199051 }, "else": { "operation": "boost", "score": -0.14063920080661774 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.11815554648637772 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.14507439732551575 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0773809552192688, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.1505434364080429 }, "else": { "operation": "boost", "score": 0.10345831513404846 } }, "else": { "operation": "boost", "score": -0.25999513268470764 } }, "else": { "operation": "boost", "score": -0.04109102860093117 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.2463977038860321 }, "else": { "operation": "boost", "score": 0.0835973471403122 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.08049901574850082 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": 0.030053265392780304 }, "else": { "operation": "boost", "score": 0.2242230325937271 } } }, "else": { "operation": "boost", "score": -0.11379829049110413 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.01434897817671299 }, "else": { "operation": "boost", "score": -0.12097402662038803 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.04237757995724678 }, "else": { "operation": "boost", "score": -0.007305561099201441 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.007924535311758518 }, "else": { "operation": "boost", "score": 0.038678672164678574 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.06640305370092392 }, "else": { "operation": "boost", "score": -0.00015368203457910568 } } } } } } } }, "else": { "operation": "boost", "score": 0.00612610811367631 } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0011048917658627033 }, "else": { "operation": "boost", "score": -0.12132454663515091 } } }, "else": { "operation": "boost", "score": -7.444595394190401e-05 } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Symbol", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.005737107712775469 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25182.5, "then": { "operation": "boost", "score": -0.15879981219768524 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24136.5, "then": { "operation": "boost", "score": 0.10340968519449234 }, "else": { "operation": "boost", "score": 0.08576512336730957 } } }, "else": { "operation": "boost", "score": 0.011164126917719841 } }, "else": { "operation": "boost", "score": -0.0022497500758618116 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 713.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0008517478127032518 }, "else": { "operation": "boost", "score": -0.02283237688243389 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 703.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 704.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 709.5, "then": { "operation": "boost", "score": 0.14288917183876038 }, "else": { "operation": "boost", "score": -0.05498979985713959 } }, "else": { "operation": "boost", "score": 0.2963414490222931 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 422.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 470.5, "then": { "operation": "boost", "score": 0.1140264943242073 }, "else": { "operation": "boost", "score": 0.3683401942253113 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "boost", "score": -0.06404566019773483 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "boost", "score": 0.1275358945131302 }, "else": { "operation": "boost", "score": 0.0436648465692997 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 665.0, "then": { "operation": "boost", "score": -0.5544900298118591 }, "else": { "operation": "boost", "score": -0.03756100684404373 } } }, "else": { "operation": "boost", "score": 0.0302895437926054 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.10326594859361649 }, "else": { "operation": "boost", "score": 0.1375289410352707 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09381242841482162 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 326.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 381.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.11530226469039917 }, "else": { "operation": "boost", "score": 0.06460288166999817 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 364.5, "then": { "operation": "boost", "score": 0.13291983306407928 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13737672567367554 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.14202260971069336 }, "else": { "operation": "boost", "score": -0.2633465826511383 } } } } }, "else": { "operation": "boost", "score": 0.021927153691649437 } } }, "else": { "operation": "boost", "score": 0.004757261369377375 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 403.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 496.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.10200589150190353 }, "else": { "operation": "boost", "score": 0.1103859543800354 } }, "else": { "operation": "boost", "score": -0.11278107762336731 } }, "else": { "operation": "boost", "score": 0.11668990552425385 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "boost", "score": 0.00792363379150629 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": -0.19396010041236877 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.20392785966396332 }, "else": { "operation": "boost", "score": 0.07279861718416214 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.5, "then": { "operation": "boost", "score": 0.04122689366340637 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.6406691074371338 }, "else": { "operation": "boost", "score": -0.20260092616081238 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": 0.15111680328845978 }, "else": { "operation": "boost", "score": 0.18125957250595093 } }, "else": { "operation": "boost", "score": 0.053130678832530975 } }, "else": { "operation": "boost", "score": -0.10285642743110657 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1269841343164444, "then": { "operation": "boost", "score": 0.11537493020296097 }, "else": { "operation": "boost", "score": -0.17439715564250946 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.3653605878353119 }, "else": { "operation": "boost", "score": 0.018400128930807114 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.02902437560260296 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03310782462358475 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 280.0, "then": { "operation": "boost", "score": 0.19558805227279663 }, "else": { "operation": "boost", "score": -0.16498465836048126 } }, "else": { "operation": "boost", "score": 0.1508549302816391 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 116.0, "then": { "operation": "boost", "score": 0.2939662039279938 }, "else": { "operation": "boost", "score": 0.1078404113650322 } } }, "else": { "operation": "boost", "score": 0.017107179388403893 } }, "else": { "operation": "boost", "score": 0.15324410796165466 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 657.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.047158896923065186 }, "else": { "operation": "boost", "score": -1.4080199003219604 } }, "else": { "operation": "boost", "score": 0.030949043110013008 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 651.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2876319885253906 }, "else": { "operation": "boost", "score": -0.12176434695720673 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 624.5, "then": { "operation": "boost", "score": 0.023080356419086456 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 618.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.11400946229696274 }, "else": { "operation": "boost", "score": 0.3625253140926361 } }, "else": { "operation": "boost", "score": 0.07214350998401642 } }, "else": { "operation": "boost", "score": 0.10833583772182465 } } } } }, "else": { "operation": "boost", "score": -0.009197017177939415 } } } } } } } } } }, "else": { "operation": "boost", "score": -0.005972077138721943 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.10762867331504822 }, "else": { "operation": "boost", "score": 0.10896634310483932 } }, "else": { "operation": "boost", "score": 0.042593590915203094 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.03482880815863609 }, "else": { "operation": "boost", "score": -0.003128657117486 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0154523104429245 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008648641407489777 }, "else": { "operation": "boost", "score": 0.0038975635543465614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.014090278185904026 }, "else": { "operation": "boost", "score": 0.08671071380376816 } }, "else": { "operation": "boost", "score": 0.024508539587259293 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0003901041636709124 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.032546889036893845 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "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.08317417651414871 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.08788464218378067 }, "else": { "operation": "boost", "score": 0.05788338929414749 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.06632306426763535 }, "else": { "operation": "boost", "score": -0.036170948296785355 } }, "else": { "operation": "boost", "score": 0.043342482298612595 } } } }, "else": { "operation": "boost", "score": 0.013019423931837082 } }, "else": { "operation": "boost", "score": 0.016024909913539886 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.002985353348776698 }, "else": { "operation": "boost", "score": 0.06268303096294403 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.0177592895925045 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0012630345299839973 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.016065942123532295 }, "else": { "operation": "boost", "score": 0.0336727537214756 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.3769509792327881 }, "else": { "operation": "boost", "score": -0.0015337354270741343 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.010564353317022324 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.07890944182872772 }, "else": { "operation": "boost", "score": -0.037787456065416336 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.0345376692712307 }, "else": { "operation": "boost", "score": -0.003644523210823536 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0852794200181961 }, "else": { "operation": "boost", "score": 0.02364375814795494 } } } }, "else": { "operation": "boost", "score": -0.024633437395095825 } }, "else": { "operation": "boost", "score": -0.023376494646072388 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.016374342143535614 }, "else": { "operation": "boost", "score": 0.12507317960262299 } }, "else": { "operation": "boost", "score": -0.16707104444503784 } }, "else": { "operation": "boost", "score": -0.05711999163031578 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.007855551317334175 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06529653072357178 }, "else": { "operation": "boost", "score": 0.0135762058198452 } } }, "else": { "operation": "boost", "score": -0.0012438463745638728 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07548469305038452 }, "else": { "operation": "boost", "score": 0.105148084461689 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09771163761615753 }, "else": { "operation": "boost", "score": -0.2594146430492401 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.5216602087020874 }, "else": { "operation": "boost", "score": 0.13525277376174927 } } }, "else": { "operation": "boost", "score": -0.14552322030067444 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.041137587279081345 }, "else": { "operation": "boost", "score": 0.6383157968521118 } }, "else": { "operation": "boost", "score": -0.019406944513320923 } }, "else": { "operation": "boost", "score": 0.020172469317913055 } } } } } } }, "else": { "operation": "boost", "score": -0.0026479351799935102 } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0036198378074914217 }, "else": { "operation": "boost", "score": 0.000986419036053121 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1806.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1907.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0017539974069222808 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.06810459494590759 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2696.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2798.5, "then": { "operation": "boost", "score": 0.02586337737739086 }, "else": { "operation": "boost", "score": 0.12158030271530151 } }, "else": { "operation": "boost", "score": -0.07641494274139404 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 549246.0, "then": { "operation": "boost", "score": -0.1678907871246338 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27874.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29053.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29460.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32511.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41287.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56010.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59248.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74544.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76763.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.21878241002559662 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 89371.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 90101.0, "then": { "operation": "boost", "score": -0.0013633514754474163 }, "else": { "operation": "boost", "score": 0.07768499851226807 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83997.5, "then": { "operation": "boost", "score": -0.19684317708015442 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78428.0, "then": { "operation": "boost", "score": 0.03155224025249481 }, "else": { "operation": "boost", "score": -0.24131928384304047 } } } } }, "else": { "operation": "boost", "score": 0.06279517710208893 } }, "else": { "operation": "boost", "score": -0.06867776066064835 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57673.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.09220459312200546 }, "else": { "operation": "boost", "score": 0.13887354731559753 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.1216035857796669 }, "else": { "operation": "boost", "score": 0.10291720181703568 } }, "else": { "operation": "boost", "score": -0.09989980608224869 } }, "else": { "operation": "boost", "score": 0.09063626825809479 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.011164963245391846 }, "else": { "operation": "boost", "score": -0.08407217264175415 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38518.5, "then": { "operation": "boost", "score": 0.09983105957508087 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34582.0, "then": { "operation": "boost", "score": -0.16018353402614594 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.310783326625824 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33449.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.06892485171556473 }, "else": { "operation": "boost", "score": 0.09961015731096268 } }, "else": { "operation": "boost", "score": 0.04004734754562378 } }, "else": { "operation": "boost", "score": -0.005290532950311899 } } } } } }, "else": { "operation": "boost", "score": -0.13839608430862427 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.07448951154947281 }, "else": { "operation": "boost", "score": 0.11661342531442642 } } }, "else": { "operation": "boost", "score": -0.2919430434703827 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28939.5, "then": { "operation": "boost", "score": 0.08905299752950668 }, "else": { "operation": "boost", "score": 0.15324975550174713 } }, "else": { "operation": "boost", "score": -0.13240079581737518 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.4862916171550751 }, "else": { "operation": "boost", "score": 0.07263519614934921 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12689079344272614 }, "else": { "operation": "boost", "score": 0.11092915385961533 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20345.0, "then": { "operation": "boost", "score": -0.05194682627916336 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19345.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19589.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20039.5, "then": { "operation": "boost", "score": -0.0014483650447800756 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2505825161933899 }, "else": { "operation": "boost", "score": 0.06940280646085739 } } }, "else": { "operation": "boost", "score": -0.19375787675380707 } }, "else": { "operation": "boost", "score": 0.1214219406247139 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16817.5, "then": { "operation": "boost", "score": -0.08418220281600952 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13805.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16793.5, "then": { "operation": "boost", "score": 0.11197265982627869 }, "else": { "operation": "boost", "score": 0.007172781508415937 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.114164337515831 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14962.0, "then": { "operation": "boost", "score": 0.09142516553401947 }, "else": { "operation": "boost", "score": -0.1309400349855423 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14176.0, "then": { "operation": "boost", "score": -0.1588621288537979 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1054634153842926 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14068.0, "then": { "operation": "boost", "score": 0.10765470564365387 }, "else": { "operation": "boost", "score": -0.11217347532510757 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13693.5, "then": { "operation": "boost", "score": -0.33300670981407166 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13235.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13324.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11179501563310623 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13553.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.10017330199480057 }, "else": { "operation": "boost", "score": 0.11192436516284943 } }, "else": { "operation": "boost", "score": -0.07133864611387253 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.16638007760047913 }, "else": { "operation": "boost", "score": 0.1594296395778656 } }, "else": { "operation": "boost", "score": -0.10897865146398544 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5543.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10863.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "boost", "score": -0.013430512510240078 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.10168366134166718 }, "else": { "operation": "boost", "score": 0.19793888926506042 } } }, "else": { "operation": "boost", "score": -0.01583576202392578 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6177.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10478.0, "then": { "operation": "boost", "score": -0.057782549411058426 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10082.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10145.5, "then": { "operation": "boost", "score": 0.007354799658060074 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10111.5, "then": { "operation": "boost", "score": -0.13220572471618652 }, "else": { "operation": "boost", "score": 0.08791010081768036 } }, "else": { "operation": "boost", "score": 0.1139787882566452 } } }, "else": { "operation": "boost", "score": -0.005073870532214642 } } }, "else": { "operation": "boost", "score": -0.11502142250537872 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4407.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4906.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5397.0, "then": { "operation": "boost", "score": 0.07396332174539566 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.7294478416442871 }, "else": { "operation": "boost", "score": -0.04783402010798454 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4496.5, "then": { "operation": "boost", "score": -0.9507569670677185 }, "else": { "operation": "boost", "score": 0.1049342006444931 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4575.5, "then": { "operation": "boost", "score": 0.13816478848457336 }, "else": { "operation": "boost", "score": 0.14058445394039154 } } }, "else": { "operation": "boost", "score": 0.04633854702115059 } } }, "else": { "operation": "boost", "score": 0.0001611550251254812 } } } } } } } } } }, "else": { "operation": "boost", "score": -0.10316995531320572 } } }, "else": { "operation": "boost", "score": -0.05391942337155342 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1912.5, "then": { "operation": "boost", "score": -0.007679438684135675 }, "else": { "operation": "boost", "score": 0.14121337234973907 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1896066516637802 }, "else": { "operation": "boost", "score": 0.024186206981539726 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1910.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1912.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1919.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2031.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2047.5, "then": { "operation": "boost", "score": 0.009342742152512074 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1458333432674408, "then": { "operation": "boost", "score": 0.13143973052501678 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2038.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.08650492876768112 }, "else": { "operation": "boost", "score": 0.14874619245529175 } }, "else": { "operation": "boost", "score": -0.017449136823415756 } } } }, "else": { "operation": "boost", "score": -0.04279699921607971 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1916.5, "then": { "operation": "boost", "score": 0.15689939260482788 }, "else": { "operation": "boost", "score": -0.10890495777130127 } } }, "else": { "operation": "boost", "score": -0.26035088300704956 } }, "else": { "operation": "boost", "score": 0.08736031502485275 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2008.0, "then": { "operation": "boost", "score": -0.09539715945720673 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.2318737953901291 }, "else": { "operation": "boost", "score": 0.1729883849620819 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.19727984070777893 }, "else": { "operation": "boost", "score": 0.0981530249118805 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04341047629714012 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1815.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1845.0, "then": { "operation": "boost", "score": 0.019951194524765015 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1841.5, "then": { "operation": "boost", "score": 0.1226947084069252 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1819.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08404616266489029 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1827.5, "then": { "operation": "boost", "score": 0.029540197923779488 }, "else": { "operation": "boost", "score": 0.2992948591709137 } } }, "else": { "operation": "boost", "score": 0.163064643740654 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1872.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1887.5, "then": { "operation": "boost", "score": 0.06958982348442078 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13288362324237823 }, "else": { "operation": "boost", "score": 0.08441374450922012 } } }, "else": { "operation": "boost", "score": 0.0031670655589550734 } } }, "else": { "operation": "boost", "score": -0.07397418469190598 } }, "else": { "operation": "boost", "score": -0.044861651957035065 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1812.5, "then": { "operation": "boost", "score": 0.009236724115908146 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1810.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.018454860895872116 }, "else": { "operation": "boost", "score": 0.18852946162223816 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.14425432682037354 }, "else": { "operation": "boost", "score": 0.2734017074108124 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1788.5, "then": { "operation": "boost", "score": -0.1004670262336731 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1787.5, "then": { "operation": "boost", "score": 0.17133212089538574 }, "else": { "operation": "boost", "score": -0.00024253195442724973 } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 11829.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12183.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0006156276795081794 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13537.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18769.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19474.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19577.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21689.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24475.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34205.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48070.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55854.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57582.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108163.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.040630489587783813 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06929202377796173 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.08800239861011505 }, "else": { "operation": "boost", "score": -0.035297639667987823 } } } }, "else": { "operation": "boost", "score": -0.14772261679172516 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.03410328924655914 }, "else": { "operation": "boost", "score": 0.10936596244573593 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.0946134403347969 }, "else": { "operation": "boost", "score": 0.03408088907599449 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91011.5, "then": { "operation": "boost", "score": -0.12751677632331848 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59512.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85788.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11574497818946838 }, "else": { "operation": "boost", "score": 0.016895493492484093 } }, "else": { "operation": "boost", "score": -0.04750330373644829 } }, "else": { "operation": "boost", "score": 0.09202045947313309 } } } } }, "else": { "operation": "boost", "score": -0.14304348826408386 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12864944338798523 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0828707292675972 }, "else": { "operation": "boost", "score": 0.1304665058851242 } } } }, "else": { "operation": "boost", "score": -0.1217944473028183 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.022886764258146286 }, "else": { "operation": "boost", "score": 0.1323566883802414 } }, "else": { "operation": "boost", "score": 0.08059763163328171 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "boost", "score": 0.10602591931819916 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09036314487457275 }, "else": { "operation": "boost", "score": 0.1227310448884964 } } }, "else": { "operation": "boost", "score": 0.04188518971204758 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11904682964086533 }, "else": { "operation": "boost", "score": -0.07920675724744797 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33451.5, "then": { "operation": "boost", "score": 0.10188651829957962 }, "else": { "operation": "boost", "score": 0.05901963263750076 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30221.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.09547091275453568 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.13648952543735504 }, "else": { "operation": "boost", "score": -0.013871436938643456 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27669.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.035923901945352554 }, "else": { "operation": "boost", "score": 0.12706251442432404 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.033323902636766434 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.19045336544513702 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.18403393030166626 }, "else": { "operation": "boost", "score": 0.01546520460397005 } } } } }, "else": { "operation": "boost", "score": 0.13380731642246246 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07823356986045837 }, "else": { "operation": "boost", "score": -0.11432745307683945 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0197854395955801 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23527.5, "then": { "operation": "boost", "score": 0.13226276636123657 }, "else": { "operation": "boost", "score": 0.04727589711546898 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23639.5, "then": { "operation": "boost", "score": 0.08922752737998962 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22914.5, "then": { "operation": "boost", "score": -0.05590580403804779 }, "else": { "operation": "boost", "score": 0.06026998162269592 } } } } } }, "else": { "operation": "boost", "score": -0.08500894904136658 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.11202048510313034 }, "else": { "operation": "boost", "score": 0.01274467445909977 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": -0.27314746379852295 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.09637495130300522 }, "else": { "operation": "boost", "score": -0.03857005015015602 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16995620727539062 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.03852362930774689 }, "else": { "operation": "boost", "score": 0.09196925163269043 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20039.5, "then": { "operation": "boost", "score": -0.18930327892303467 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3396815061569214 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.0636298879981041 }, "else": { "operation": "boost", "score": 0.09765913337469101 } } }, "else": { "operation": "boost", "score": 0.012626209296286106 } } } } } }, "else": { "operation": "boost", "score": -0.14573360979557037 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19307.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.0027620841283351183 }, "else": { "operation": "boost", "score": 0.10816754400730133 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.01243122760206461 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.107379250228405 }, "else": { "operation": "boost", "score": 0.14624089002609253 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.18314632773399353 }, "else": { "operation": "boost", "score": 0.031003009527921677 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1447726935148239 }, "else": { "operation": "boost", "score": -0.020762117579579353 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12513.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12536.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12587.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.03620478883385658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12934.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.15250112116336823 }, "else": { "operation": "boost", "score": 0.028716782107949257 } }, "else": { "operation": "boost", "score": 0.02736271359026432 } } }, "else": { "operation": "boost", "score": -0.44049304723739624 } }, "else": { "operation": "boost", "score": 0.15675309300422668 } }, "else": { "operation": "boost", "score": -0.00999701488763094 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08065535128116608 }, "else": { "operation": "boost", "score": -0.22872860729694366 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10644.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11245.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11730.0, "then": { "operation": "boost", "score": -0.15869306027889252 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.10525618493556976 }, "else": { "operation": "boost", "score": 0.12254016846418381 } }, "else": { "operation": "boost", "score": -0.1116589605808258 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11573.5, "then": { "operation": "boost", "score": 0.11522858589887619 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.10146766155958176 }, "else": { "operation": "boost", "score": 0.1360122263431549 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10207793861627579 }, "else": { "operation": "boost", "score": -0.23394566774368286 } } } } }, "else": { "operation": "boost", "score": 0.034612901508808136 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11605.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11948325484991074 }, "else": { "operation": "boost", "score": -0.11737806349992752 } }, "else": { "operation": "boost", "score": 0.09980429708957672 } }, "else": { "operation": "boost", "score": 0.0571204274892807 } } } }, "else": { "operation": "boost", "score": 0.0007847179658710957 } }, "else": { "operation": "boost", "score": -0.06846821308135986 } }, "else": { "operation": "boost", "score": -0.06486909091472626 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10586.5, "then": { "operation": "boost", "score": 0.17429175972938538 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7917.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8445.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.018481815233826637 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.09156593680381775 }, "else": { "operation": "boost", "score": 0.013567850925028324 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8337.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8385.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8416.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.12372121959924698 }, "else": { "operation": "boost", "score": 0.14865365624427795 } }, "else": { "operation": "boost", "score": 0.10086923837661743 } }, "else": { "operation": "boost", "score": 0.19438932836055756 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": -0.1003078892827034 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.2215220183134079 }, "else": { "operation": "boost", "score": -0.10248871147632599 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11713583767414093 }, "else": { "operation": "boost", "score": 0.09607210010290146 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8158.0, "then": { "operation": "boost", "score": -0.0008727031527087092 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7957.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8150.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0902610793709755 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.13035304844379425 }, "else": { "operation": "boost", "score": 0.1582752764225006 } } }, "else": { "operation": "boost", "score": 0.128321573138237 } }, "else": { "operation": "boost", "score": 0.09776128828525543 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7960.0, "then": { "operation": "boost", "score": 0.19943132996559143 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.02101626619696617 }, "else": { "operation": "boost", "score": 0.1276753842830658 } } } }, "else": { "operation": "boost", "score": -0.056698333472013474 } }, "else": { "operation": "boost", "score": -0.003758565057069063 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8416.5, "then": { "operation": "boost", "score": -0.22748856246471405 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.4380287230014801 }, "else": { "operation": "boost", "score": -0.056201204657554626 } }, "else": { "operation": "boost", "score": 0.006778122391551733 } } } } }, "else": { "operation": "boost", "score": -8.121519203996286e-05 } } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0013085210230201483 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1026315838098526, "then": { "operation": "boost", "score": -0.00495831947773695 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11743872612714767 }, "else": { "operation": "boost", "score": -0.19512809813022614 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.0045783366076648235 }, "else": { "operation": "boost", "score": -0.022647840902209282 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.010891723446547985 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9285714626312256, "then": { "operation": "boost", "score": 0.03862724453210831 }, "else": { "operation": "boost", "score": 0.10701294243335724 } }, "else": { "operation": "boost", "score": -0.017233097925782204 } }, "else": { "operation": "boost", "score": 0.009974646382033825 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.027845485135912895 }, "else": { "operation": "boost", "score": -0.029359914362430573 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": -0.024060439318418503 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.20680804550647736 }, "else": { "operation": "boost", "score": -0.11269066482782364 } } } } } }, "else": { "operation": "boost", "score": 0.1487712413072586 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88.0, "then": { "operation": "boost", "score": 0.008503410965204239 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 76.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.12257537990808487 }, "else": { "operation": "boost", "score": 0.0595666840672493 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.21159453690052032 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": -0.011417328380048275 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13017207384109497 }, "else": { "operation": "boost", "score": -0.014370478689670563 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.055715739727020264 }, "else": { "operation": "boost", "score": 0.0847141370177269 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.03667774051427841 }, "else": { "operation": "boost", "score": 0.12997108697891235 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12021069973707199 }, "else": { "operation": "boost", "score": 0.20812183618545532 } }, "else": { "operation": "boost", "score": 0.14336547255516052 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "boost", "score": 0.10650280863046646 }, "else": { "operation": "boost", "score": -0.02856401726603508 } }, "else": { "operation": "boost", "score": 0.139256551861763 } }, "else": { "operation": "boost", "score": 0.008131735026836395 } }, "else": { "operation": "boost", "score": -0.03114437870681286 } }, "else": { "operation": "boost", "score": -0.14095382392406464 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.0, "then": { "operation": "boost", "score": 0.1013699471950531 }, "else": { "operation": "boost", "score": 0.13894611597061157 } } }, "else": { "operation": "boost", "score": 0.00937922578305006 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2931327223777771 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.0, "then": { "operation": "boost", "score": 0.09901975840330124 }, "else": { "operation": "boost", "score": -0.21011514961719513 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 396.0, "then": { "operation": "boost", "score": 0.013202695176005363 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 383.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.004817558452486992 }, "else": { "operation": "boost", "score": -0.26215848326683044 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": -0.010915043763816357 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": 0.18934477865695953 }, "else": { "operation": "boost", "score": -0.24224631488323212 } } }, "else": { "operation": "boost", "score": -0.06200917065143585 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": 0.06463377177715302 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": 0.11332742124795914 }, "else": { "operation": "boost", "score": -0.004547253251075745 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15716373920440674 }, "else": { "operation": "boost", "score": -0.10066086798906326 } }, "else": { "operation": "boost", "score": 0.07998667657375336 } }, "else": { "operation": "boost", "score": 0.01040854025632143 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004208981525152922 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04812847077846527 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.0041258311830461025 }, "else": { "operation": "boost", "score": -0.05108823627233505 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.3433738350868225 }, "else": { "operation": "boost", "score": 0.04736846685409546 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.13284257054328918 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.21902331709861755 }, "else": { "operation": "boost", "score": 0.04088028892874718 } }, "else": { "operation": "boost", "score": 0.0543585829436779 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159.0, "then": { "operation": "boost", "score": 0.15852268040180206 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.050375182181596756 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24.5, "then": { "operation": "boost", "score": -0.1765713095664978 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.03591807186603546 }, "else": { "operation": "boost", "score": 0.19423364102840424 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.025682376697659492 }, "else": { "operation": "boost", "score": -0.428786039352417 } } } } } } }, "else": { "operation": "boost", "score": -0.006742340046912432 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 227.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.12620535492897034 }, "else": { "operation": "boost", "score": 0.09681551158428192 } }, "else": { "operation": "boost", "score": 0.004889004863798618 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "boost", "score": 0.015315339900553226 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.14612190425395966 }, "else": { "operation": "boost", "score": 0.1215500682592392 } }, "else": { "operation": "boost", "score": 0.10781387984752655 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": 0.04624377563595772 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2817460298538208, "then": { "operation": "boost", "score": 0.005101995076984167 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "boost", "score": -0.12774251401424408 }, "else": { "operation": "boost", "score": -0.006793798878788948 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10959983617067337 }, "else": { "operation": "boost", "score": -0.07994464039802551 } }, "else": { "operation": "boost", "score": -0.07451748847961426 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1260291486978531 }, "else": { "operation": "boost", "score": -0.13138704001903534 } }, "else": { "operation": "boost", "score": -0.014080526307225227 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 325.0, "then": { "operation": "boost", "score": 0.10447166860103607 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": -0.010254988446831703 }, "else": { "operation": "boost", "score": -0.276410311460495 } }, "else": { "operation": "boost", "score": 0.011209148913621902 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01117696613073349 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.03261213004589081 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06201232969760895 }, "else": { "operation": "boost", "score": 0.07934162765741348 } }, "else": { "operation": "boost", "score": -0.13305503129959106 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019326256588101387 }, "else": { "operation": "boost", "score": -0.06461445987224579 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.05158375948667526 }, "else": { "operation": "boost", "score": -0.04997266083955765 } }, "else": { "operation": "boost", "score": -0.011335772462189198 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "boost", "score": -0.8320100903511047 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00014146666217129678 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.0009191466378979385 }, "else": { "operation": "boost", "score": -0.19915008544921875 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": -0.04426044970750809 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": -0.08122441172599792 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.12189282476902008 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.009990357793867588 }, "else": { "operation": "boost", "score": 0.12737378478050232 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10965732485055923 }, "else": { "operation": "boost", "score": 0.04792246222496033 } } }, "else": { "operation": "boost", "score": 0.025219637900590897 } } } }, "else": { "operation": "boost", "score": 0.14880667626857758 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.06352661550045013 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.3103807866573334 }, "else": { "operation": "boost", "score": 0.015217396430671215 } } }, "else": { "operation": "boost", "score": -0.00596721051260829 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "boost", "score": 0.01829686388373375 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.030829496681690216 }, "else": { "operation": "boost", "score": -0.0017074269708245993 } } } } } }, "else": { "operation": "boost", "score": -0.01768609695136547 } } } }, "else": { "operation": "boost", "score": -0.00015043704479467124 } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 1735.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1736.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1739.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6708.0, "then": { "operation": "boost", "score": 0.00012328811862971634 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6508.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6604.5, "then": { "operation": "boost", "score": 0.11062289774417877 }, "else": { "operation": "boost", "score": 0.11272071301937103 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11064426600933075 }, "else": { "operation": "boost", "score": 0.06093024089932442 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.10038573294878006 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6592.0, "then": { "operation": "boost", "score": 0.25576451420783997 }, "else": { "operation": "boost", "score": -0.10012417286634445 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6676.0, "then": { "operation": "boost", "score": -0.01992574706673622 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6652.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09166666865348816, "then": { "operation": "boost", "score": 0.15263082087039948 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.1582229882478714 }, "else": { "operation": "boost", "score": 0.1285155862569809 } }, "else": { "operation": "boost", "score": 0.0026428618002682924 } } }, "else": { "operation": "boost", "score": 0.06350115686655045 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.12009607255458832 }, "else": { "operation": "boost", "score": 0.9905678033828735 } }, "else": { "operation": "boost", "score": -0.09373102337121964 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6230.0, "then": { "operation": "boost", "score": -0.05411802604794502 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6103.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6106.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0972222238779068, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.10371968895196915 }, "else": { "operation": "boost", "score": 0.1346864253282547 } }, "else": { "operation": "boost", "score": -0.03205994516611099 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0850372314453125, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.14260882139205933 }, "else": { "operation": "boost", "score": 0.1155787855386734 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.1203993558883667 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.26792091131210327 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1368415504693985 }, "else": { "operation": "boost", "score": -0.10643711686134338 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.3627302348613739 }, "else": { "operation": "boost", "score": -0.10362881422042847 } } } } }, "else": { "operation": "boost", "score": -0.10389361530542374 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1913.5, "then": { "operation": "boost", "score": 0.0646524652838707 }, "else": { "operation": "boost", "score": 0.1509207934141159 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5826.0, "then": { "operation": "boost", "score": -0.047760382294654846 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5763.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5774.5, "then": { "operation": "boost", "score": -0.10175739228725433 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.13586242496967316 }, "else": { "operation": "boost", "score": 0.22371451556682587 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.08224225044250488 }, "else": { "operation": "boost", "score": 0.9052746295928955 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5339.0, "then": { "operation": "boost", "score": -0.03156474232673645 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5294.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.10063910484313965 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.12315382063388824 }, "else": { "operation": "boost", "score": 0.10503843426704407 } }, "else": { "operation": "boost", "score": 0.07882405817508698 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4841.0, "then": { "operation": "boost", "score": -0.46755093336105347 }, "else": { "operation": "boost", "score": -0.07918781787157059 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4100.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.06837083399295807 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.012718046084046364 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5089.0, "then": { "operation": "boost", "score": -0.17996609210968018 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4794.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4841.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.947649359703064 }, "else": { "operation": "boost", "score": 0.08417579531669617 } }, "else": { "operation": "boost", "score": 0.1326487958431244 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4174.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4399.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4409.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4523.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4629.5, "then": { "operation": "boost", "score": 0.06763248890638351 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4601.5, "then": { "operation": "boost", "score": 0.12829342484474182 }, "else": { "operation": "boost", "score": 0.12293767184019089 } } }, "else": { "operation": "boost", "score": 0.09270070493221283 } }, "else": { "operation": "boost", "score": -0.13510867953300476 } }, "else": { "operation": "boost", "score": -0.060408033430576324 } }, "else": { "operation": "boost", "score": 0.15604616701602936 } }, "else": { "operation": "boost", "score": -0.15153071284294128 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.138527974486351 }, "else": { "operation": "boost", "score": 0.10239937901496887 } } } } }, "else": { "operation": "boost", "score": -0.027734726667404175 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4288.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4694.5, "then": { "operation": "boost", "score": -0.03319510072469711 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4556.0, "then": { "operation": "boost", "score": 0.1108761802315712 }, "else": { "operation": "boost", "score": -0.05749588832259178 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4225.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.12426846474409103 }, "else": { "operation": "boost", "score": 0.1457972675561905 } }, "else": { "operation": "boost", "score": 0.19417019188404083 } } } }, "else": { "operation": "boost", "score": 0.14905089139938354 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3952.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.061093371361494064 }, "else": { "operation": "boost", "score": -0.24087324738502502 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3947.5, "then": { "operation": "boost", "score": 0.11323720961809158 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3480.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3552.0, "then": { "operation": "boost", "score": -0.009904558770358562 }, "else": { "operation": "boost", "score": 0.10998837649822235 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15006370842456818 }, "else": { "operation": "boost", "score": 0.11874406784772873 } }, "else": { "operation": "boost", "score": 0.005005742888897657 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2722.5, "then": { "operation": "boost", "score": -0.010739848017692566 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2714.5, "then": { "operation": "boost", "score": 0.2211056500673294 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2190.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2536.5, "then": { "operation": "boost", "score": 0.05332908779382706 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2499.0, "then": { "operation": "boost", "score": 0.11900884658098221 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2323.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.1035681962966919 }, "else": { "operation": "boost", "score": -0.10334575176239014 } }, "else": { "operation": "boost", "score": 0.13981637358665466 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2244.5, "then": { "operation": "boost", "score": 0.12198911607265472 }, "else": { "operation": "boost", "score": 0.14196011424064636 } } }, "else": { "operation": "boost", "score": -0.10102817416191101 } } } }, "else": { "operation": "boost", "score": 0.038910865783691406 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2484.5, "then": { "operation": "boost", "score": -0.03391047194600105 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2363.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2366.5, "then": { "operation": "boost", "score": 0.08261040598154068 }, "else": { "operation": "boost", "score": 0.14572782814502716 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2337.5, "then": { "operation": "boost", "score": -0.1108454018831253 }, "else": { "operation": "boost", "score": 0.07847504317760468 } } } } }, "else": { "operation": "boost", "score": 0.012641890905797482 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.02759283408522606 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2634.0, "then": { "operation": "boost", "score": -0.10852296650409698 }, "else": { "operation": "boost", "score": 0.12726083397865295 } } } } } } } } } } }, "else": { "operation": "boost", "score": -0.037322353571653366 } }, "else": { "operation": "boost", "score": 8.269980025943369e-05 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1762.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "boost", "score": -0.06683828681707382 }, "else": { "operation": "boost", "score": 0.019282560795545578 } }, "else": { "operation": "boost", "score": -0.013467930257320404 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.018417418003082275 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1276366114616394 }, "else": { "operation": "boost", "score": 0.13383498787879944 } }, "else": { "operation": "boost", "score": 0.0003398528788238764 } } }, "else": { "operation": "boost", "score": -0.13681426644325256 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.0995328426361084 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.17991560697555542 }, "else": { "operation": "boost", "score": 0.0028157236520200968 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1749.0, "then": { "operation": "boost", "score": 0.006579865701496601 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.027483217418193817 }, "else": { "operation": "boost", "score": -0.11641919612884521 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.13363032042980194 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.016395092010498047 }, "else": { "operation": "boost", "score": 0.1903800070285797 } }, "else": { "operation": "boost", "score": -0.31455281376838684 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1692.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.13979212939739227 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1722.0, "then": { "operation": "boost", "score": -1.2210355997085571 }, "else": { "operation": "boost", "score": -0.0982460007071495 } }, "else": { "operation": "boost", "score": -0.5101847052574158 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.04748566076159477 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.46288424730300903 }, "else": { "operation": "boost", "score": -0.14104978740215302 } } }, "else": { "operation": "boost", "score": 0.12408814579248428 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.039620209485292435 }, "else": { "operation": "boost", "score": -0.13474318385124207 } } } }, "else": { "operation": "boost", "score": -0.00011076776718255132 } } }, { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.0006235274486243725 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "boost", "score": 0.018084779381752014 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.1246897354722023 }, "else": { "operation": "boost", "score": 0.08738625049591064 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.5, "then": { "operation": "boost", "score": 0.2848409414291382 }, "else": { "operation": "boost", "score": -0.14054016768932343 } }, "else": { "operation": "boost", "score": -0.08169574290513992 } } } }, "else": { "operation": "boost", "score": 0.005488248076289892 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0015640847850590944 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014184869825839996 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0012802921701222658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.09093855321407318 }, "else": { "operation": "boost", "score": 0.045287854969501495 } }, "else": { "operation": "boost", "score": 0.0186917744576931 } }, "else": { "operation": "boost", "score": -0.008814084343612194 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0025486373342573643 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.2601226270198822 }, "else": { "operation": "boost", "score": 0.11659891158342361 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": -0.15079312026500702 }, "else": { "operation": "boost", "score": -0.8938156962394714 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.013856029137969017 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.25764477252960205 }, "else": { "operation": "boost", "score": -0.08368518948554993 } } } } }, "else": { "operation": "boost", "score": 0.005654971580952406 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.10359665751457214 }, "else": { "operation": "boost", "score": 0.014844010584056377 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0855996385216713 }, "else": { "operation": "boost", "score": -0.30032095313072205 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.022366071119904518 }, "else": { "operation": "boost", "score": -0.15035122632980347 } } }, "else": { "operation": "boost", "score": -0.008468158543109894 } }, "else": { "operation": "boost", "score": -0.021916547790169716 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.014040899462997913 }, "else": { "operation": "boost", "score": 0.00010057917825179175 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": -0.007942584343254566 }, "else": { "operation": "boost", "score": -0.04681152105331421 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.014349951408803463 }, "else": { "operation": "boost", "score": -0.41259753704071045 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.0658303052186966 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -1.1137136220932007 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.08150769025087357 }, "else": { "operation": "boost", "score": -0.2642790973186493 } } } } } } } } }, "else": { "operation": "boost", "score": 0.00012213621812406927 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "boost", "score": 0.1375259906053543 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11167633533477783 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.09693747758865356 }, "else": { "operation": "boost", "score": 0.038359202444553375 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10107722878456116 }, "else": { "operation": "boost", "score": 0.07519262284040451 } }, "else": { "operation": "boost", "score": -0.09214441478252411 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.011397041380405426 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.029796335846185684 }, "else": { "operation": "boost", "score": 0.24533304572105408 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04855336993932724 }, "else": { "operation": "boost", "score": -0.05282102897763252 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00547413993626833 }, "else": { "operation": "boost", "score": -0.06581904739141464 } }, "else": { "operation": "boost", "score": 0.0008587961783632636 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.0239335335791111 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0015161177143454552 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.059221722185611725 }, "else": { "operation": "boost", "score": 0.11165471374988556 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.00694099348038435 }, "else": { "operation": "boost", "score": 0.07487130165100098 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0411117859184742 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1071116030216217 }, "else": { "operation": "boost", "score": -0.020033160224556923 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0021393171045929193 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.027066044509410858 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12586145102977753 }, "else": { "operation": "boost", "score": -0.06677839159965515 } }, "else": { "operation": "boost", "score": -0.03270149603486061 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.1714538186788559 }, "else": { "operation": "boost", "score": 0.021456852555274963 } }, "else": { "operation": "boost", "score": -0.0034874831326305866 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.008188139647245407 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": 0.08532016724348068 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.01488092914223671 }, "else": { "operation": "boost", "score": -0.13062702119350433 } }, "else": { "operation": "boost", "score": 0.08403728157281876 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06750784814357758 }, "else": { "operation": "boost", "score": -0.17881989479064941 } }, "else": { "operation": "boost", "score": -0.03580096736550331 } }, "else": { "operation": "boost", "score": -0.004578745923936367 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05575799569487572 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.02512104995548725 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": 0.05880139768123627 }, "else": { "operation": "boost", "score": 0.18190321326255798 } } } }, "else": { "operation": "boost", "score": 0.012001915834844112 } } } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09390370547771454 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.16559509932994843 }, "else": { "operation": "boost", "score": -0.010800772346556187 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16623452305793762 }, "else": { "operation": "boost", "score": 0.09691859781742096 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10330333560705185 }, "else": { "operation": "boost", "score": 0.011512034572660923 } } } }, "else": { "operation": "boost", "score": -0.015989357605576515 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.006824877113103867 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0521966889500618 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": -1.9616578817367554 }, "else": { "operation": "boost", "score": -0.12959615886211395 } } }, "else": { "operation": "boost", "score": 0.0602974109351635 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.1313377171754837 }, "else": { "operation": "boost", "score": 0.34511059522628784 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.13909314572811127 }, "else": { "operation": "boost", "score": 0.060029324144124985 } } }, "else": { "operation": "boost", "score": 0.04476054385304451 } } } }, "else": { "operation": "boost", "score": -0.0033556295093148947 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.009789817966520786 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": -0.11278403550386429 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0042070504277944565 }, "else": { "operation": "boost", "score": 0.02500372752547264 } }, "else": { "operation": "boost", "score": 0.12203548103570938 } }, "else": { "operation": "boost", "score": -0.005062886513769627 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": 0.14264212548732758 }, "else": { "operation": "boost", "score": -0.31586751341819763 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.010028764605522156 }, "else": { "operation": "boost", "score": -0.06245467811822891 } } }, "else": { "operation": "boost", "score": -0.0940265879034996 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.030073290690779686 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.047029487788677216 }, "else": { "operation": "boost", "score": 0.08359416574239731 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.008348691277205944 }, "else": { "operation": "boost", "score": -0.4484379291534424 } } }, "else": { "operation": "boost", "score": -0.006416900083422661 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009091842919588089 }, "else": { "operation": "boost", "score": -0.012315655127167702 } }, "else": { "operation": "boost", "score": 0.03451596200466156 } } } } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.041716594249010086 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05312570929527283 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.01591220684349537 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": 0.0030031870119273663 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.042584698647260666 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22107619047164917 }, "else": { "operation": "boost", "score": 0.0757262110710144 } }, "else": { "operation": "boost", "score": -0.01846211776137352 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.06975522637367249 }, "else": { "operation": "boost", "score": 0.13451321423053741 } }, "else": { "operation": "boost", "score": 0.031981974840164185 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.13780231773853302 }, "else": { "operation": "boost", "score": 0.04267524555325508 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3229166865348816, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1161186546087265 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.044457364827394485 }, "else": { "operation": "boost", "score": 0.09055398404598236 } } }, "else": { "operation": "boost", "score": -0.19276553392410278 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03943074494600296 }, "else": { "operation": "boost", "score": -0.0423135943710804 } } }, "else": { "operation": "boost", "score": -0.02193569950759411 } }, "else": { "operation": "boost", "score": -0.2330666333436966 } }, "else": { "operation": "boost", "score": 0.08540928363800049 } }, "else": { "operation": "boost", "score": -0.17533645033836365 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "boost", "score": 0.031707439571619034 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.07693447917699814 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.026252098381519318 }, "else": { "operation": "boost", "score": 0.10719364881515503 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.03943401947617531 }, "else": { "operation": "boost", "score": 0.12588703632354736 } } } } } }, "else": { "operation": "boost", "score": 0.010290322825312614 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.006128065288066864 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.009011110290884972 }, "else": { "operation": "boost", "score": -0.22701358795166016 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.006453422363847494 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.027739493176341057 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.12304951995611191 }, "else": { "operation": "boost", "score": 0.06678856164216995 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08394119888544083 }, "else": { "operation": "boost", "score": 0.007223767694085836 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.011631263419985771 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08948409557342529 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.11630784720182419 }, "else": { "operation": "boost", "score": 0.09461646527051926 } }, "else": { "operation": "boost", "score": -0.10590849816799164 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.45073845982551575 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0034390916116535664 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.004086512140929699 }, "else": { "operation": "boost", "score": 0.1201171725988388 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.43560606241226196, "then": { "operation": "boost", "score": 0.0825694277882576 }, "else": { "operation": "boost", "score": 0.1270308792591095 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.16230861842632294 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05086611583828926 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4017857313156128, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.10157617181539536 }, "else": { "operation": "boost", "score": -0.14204268157482147 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.12716901302337646 }, "else": { "operation": "boost", "score": 0.07378587126731873 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.10518968850374222 }, "else": { "operation": "boost", "score": 0.08169177174568176 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": -0.06279534101486206 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.08646604418754578 }, "else": { "operation": "boost", "score": 0.12302924692630768 } }, "else": { "operation": "boost", "score": 0.04682553932070732 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.10646111518144608 }, "else": { "operation": "boost", "score": 0.044357091188430786 } }, "else": { "operation": "boost", "score": 0.014319192618131638 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.0659526139497757 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07915341854095459 }, "else": { "operation": "boost", "score": 0.007028700318187475 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.05418337881565094 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.3137863874435425 }, "else": { "operation": "boost", "score": -0.10278372466564178 } }, "else": { "operation": "boost", "score": 0.0073613631539046764 } }, "else": { "operation": "boost", "score": 0.06846142560243607 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1269841343164444, "then": { "operation": "boost", "score": 0.6522120833396912 }, "else": { "operation": "boost", "score": -0.035529881715774536 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.022784795612096786 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -7.69749385653995e-05 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.007629256695508957 }, "else": { "operation": "boost", "score": 0.03164307400584221 } }, "else": { "operation": "boost", "score": -0.000568569463212043 } } }, "else": { "operation": "boost", "score": 9.3999900855124e-05 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.020868362858891487 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10267425328493118 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.24263393878936768 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.11218754947185516 }, "else": { "operation": "boost", "score": 0.7206336259841919 } } } }, "else": { "operation": "boost", "score": 0.07848496735095978 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.4141807556152344 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06534970551729202 }, "else": { "operation": "boost", "score": 0.21705137193202972 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13599.5, "then": { "operation": "boost", "score": 0.08135409653186798 }, "else": { "operation": "boost", "score": -0.27067306637763977 } }, "else": { "operation": "boost", "score": -0.027467096224427223 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04923814535140991 }, "else": { "operation": "boost", "score": -1.0112886428833008 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12748.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63761.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 412896.5, "then": { "operation": "boost", "score": -0.007675651926547289 }, "else": { "operation": "boost", "score": 0.030687058344483376 } }, "else": { "operation": "boost", "score": -0.033183466643095016 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12655.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.064731664955616 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.0, "then": { "operation": "boost", "score": 0.18738430738449097 }, "else": { "operation": "boost", "score": 0.12947750091552734 } }, "else": { "operation": "boost", "score": 0.11310593038797379 } }, "else": { "operation": "boost", "score": 0.10026057064533234 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 803.0, "then": { "operation": "boost", "score": 0.11073093116283417 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1161511242389679 }, "else": { "operation": "boost", "score": -0.012675746344029903 } }, "else": { "operation": "boost", "score": 0.10635156184434891 } }, "else": { "operation": "boost", "score": 0.040790826082229614 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7318.0, "then": { "operation": "boost", "score": 0.04935721307992935 }, "else": { "operation": "boost", "score": 0.0981278344988823 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.06623204052448273 }, "else": { "operation": "boost", "score": 0.06029690429568291 } }, "else": { "operation": "boost", "score": 0.005417935084551573 } }, "else": { "operation": "boost", "score": 0.004940217360854149 } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004259520210325718 }, "else": { "operation": "boost", "score": -0.0028424658812582493 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05662418529391289 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -1.0710848569869995 }, "else": { "operation": "boost", "score": -0.08699189126491547 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.03991975635290146 }, "else": { "operation": "boost", "score": 0.09931419044733047 } }, "else": { "operation": "boost", "score": -0.07154642045497894 } } } } }, "else": { "operation": "boost", "score": -0.0003105397627223283 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "boost", "score": -0.12901118397712708 }, "else": { "operation": "boost", "score": -0.0005618362338282168 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "boost", "score": 0.006915526930242777 }, "else": { "operation": "boost", "score": 0.0003460862790234387 } } } }, "else": { "operation": "boost", "score": -0.09089943021535873 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01333978958427906 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0760764479637146 }, "else": { "operation": "boost", "score": -0.0590139701962471 } }, "else": { "operation": "boost", "score": -0.02217288687825203 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.24900391697883606 }, "else": { "operation": "boost", "score": 0.1124921515583992 } }, "else": { "operation": "boost", "score": -0.07213376462459564 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.13487093150615692 }, "else": { "operation": "boost", "score": 0.04632548615336418 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": -0.16676628589630127 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.030545109882950783 }, "else": { "operation": "boost", "score": 0.07584115862846375 } }, "else": { "operation": "boost", "score": 0.009987925179302692 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6190476417541504, "then": { "operation": "boost", "score": 0.06243975833058357 }, "else": { "operation": "boost", "score": 0.022931858897209167 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.09627501666545868 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.06262243539094925 }, "else": { "operation": "boost", "score": 0.026809746399521828 } }, "else": { "operation": "boost", "score": -0.00014879308582749218 } } } }, "else": { "operation": "boost", "score": 0.02903778851032257 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.16215643286705017 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.05317150056362152 }, "else": { "operation": "boost", "score": 0.004212627653032541 } } }, "else": { "operation": "boost", "score": -0.01880170963704586 } } }, "else": { "operation": "boost", "score": -0.1586807668209076 } }, "else": { "operation": "boost", "score": 0.010759647004306316 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.028517944738268852 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "boost", "score": 0.007029456086456776 }, "else": { "operation": "boost", "score": 0.04845726862549782 } }, "else": { "operation": "boost", "score": -0.005841538775712252 } } }, "else": { "operation": "boost", "score": -0.014221674762666225 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.012261517345905304 }, "else": { "operation": "boost", "score": -0.18928998708724976 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1087176576256752 }, "else": { "operation": "boost", "score": 0.07327045500278473 } }, "else": { "operation": "boost", "score": 0.05917420983314514 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.031650375574827194 }, "else": { "operation": "boost", "score": -0.0060585238970816135 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.11853129416704178 }, "else": { "operation": "boost", "score": 0.04730523005127907 } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.24594800174236298 }, "else": { "operation": "boost", "score": 0.00584126403555274 } } } } }, "else": { "operation": "boost", "score": 0.0006064096814952791 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.0006402921862900257 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.0, "then": { "operation": "boost", "score": -0.17382030189037323 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.037638742476701736 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10635218769311905 }, "else": { "operation": "boost", "score": 0.010782798752188683 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.1297631412744522 }, "else": { "operation": "boost", "score": 0.016771923750638962 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "boost", "score": -0.09350723028182983 }, "else": { "operation": "boost", "score": 0.1397639364004135 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": -0.04724838212132454 }, "else": { "operation": "boost", "score": 0.11798577755689621 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.12967905402183533 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8285714387893677, "then": { "operation": "boost", "score": 0.07712467014789581 }, "else": { "operation": "boost", "score": -0.10228125005960464 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.127532958984375 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.0, "then": { "operation": "boost", "score": -0.20683163404464722 }, "else": { "operation": "boost", "score": -0.11871728301048279 } } } } } }, "else": { "operation": "boost", "score": 0.004780021961778402 } } }, "else": { "operation": "boost", "score": 0.021837513893842697 } }, "else": { "operation": "boost", "score": 0.005821967963129282 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1069.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3926.0, "then": { "operation": "boost", "score": 0.0013428315287455916 }, "else": { "operation": "boost", "score": 0.08930227160453796 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.008198805153369904 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.17305883765220642 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.006289428099989891 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.2096593976020813 }, "else": { "operation": "boost", "score": 0.06044718995690346 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "boost", "score": -0.08814448118209839 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.008850467391312122 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 134.0, "then": { "operation": "boost", "score": -0.34752485156059265 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 103.0, "then": { "operation": "boost", "score": 0.10112950205802917 }, "else": { "operation": "boost", "score": -0.03611159324645996 } } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.44938454031944275 }, "else": { "operation": "boost", "score": -0.005079749505966902 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.08861159533262253 }, "else": { "operation": "boost", "score": -0.0005819007637910545 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": -0.22970545291900635 }, "else": { "operation": "boost", "score": -0.0203646719455719 } }, "else": { "operation": "boost", "score": 0.020597543567419052 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.00698439497500658 }, "else": { "operation": "boost", "score": -0.07215136289596558 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.03178038075566292 }, "else": { "operation": "boost", "score": -0.009641232900321484 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.08360118418931961 }, "else": { "operation": "boost", "score": 0.13468365371227264 } }, "else": { "operation": "boost", "score": 0.028621409088373184 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": 0.0658484473824501 }, "else": { "operation": "boost", "score": -0.002247788244858384 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.03392729535698891 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5889.5, "then": { "operation": "boost", "score": -0.04272134229540825 }, "else": { "operation": "boost", "score": 0.1127319484949112 } } }, "else": { "operation": "boost", "score": 0.012602034024894238 } }, "else": { "operation": "boost", "score": 0.0021028893534094095 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.029411764815449715, "then": { "operation": "boost", "score": -0.0028923412319272757 }, "else": { "operation": "boost", "score": 0.013613100163638592 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.004240578040480614 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.014339649118483067 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.007614071946591139 }, "else": { "operation": "boost", "score": 0.00881929136812687 } } } } } }, "else": { "operation": "boost", "score": -0.023742806166410446 } } } } }, "else": { "operation": "boost", "score": -0.00347530422732234 } }, "else": { "operation": "boost", "score": -0.00542040541768074 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0038442297372967005 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.006299011874943972 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10085643082857132 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.04335467517375946 }, "else": { "operation": "boost", "score": -0.15239304304122925 } }, "else": { "operation": "boost", "score": -0.024575117975473404 } } } }, "else": { "operation": "boost", "score": 0.02713767997920513 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.128583624958992 }, "else": { "operation": "boost", "score": -0.008139806799590588 } }, "else": { "operation": "boost", "score": 0.04244643449783325 } }, "else": { "operation": "boost", "score": -0.009161504916846752 } }, "else": { "operation": "boost", "score": 0.003007500898092985 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10863.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17887.5, "then": { "operation": "boost", "score": -0.1027209609746933 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15370.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.13032813370227814 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.13221649825572968 }, "else": { "operation": "boost", "score": 0.13522617518901825 } } }, "else": { "operation": "boost", "score": -0.11165100336074829 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12431.0, "then": { "operation": "boost", "score": -0.11539562046527863 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11532.5, "then": { "operation": "boost", "score": 0.13134680688381195 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.17979411780834198 }, "else": { "operation": "boost", "score": -0.12618644535541534 } } } } } }, "else": { "operation": "boost", "score": -0.013381152413785458 } } } } }, "else": { "operation": "boost", "score": -0.00033020341652445495 } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.14122337102890015 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06866231560707092 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.24213221669197083 }, "else": { "operation": "boost", "score": 0.019235245883464813 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.05731617659330368 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.05921519920229912 }, "else": { "operation": "boost", "score": 0.0053690648637712 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.049443136900663376 }, "else": { "operation": "boost", "score": -0.001728787086904049 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.06016599014401436 }, "else": { "operation": "boost", "score": 0.00735178217291832 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.010770363733172417 }, "else": { "operation": "boost", "score": 0.006845247931778431 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.01191246323287487 }, "else": { "operation": "boost", "score": -0.009662264958024025 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5902777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.048695698380470276 }, "else": { "operation": "boost", "score": 0.12792766094207764 } }, "else": { "operation": "boost", "score": 0.004613263066858053 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.27619048953056335, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38181817531585693, "then": { "operation": "boost", "score": -0.11934083700180054 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.09475798159837723 }, "else": { "operation": "boost", "score": -0.026563070714473724 } } }, "else": { "operation": "boost", "score": -0.21393027901649475 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.06035498529672623 }, "else": { "operation": "boost", "score": -0.027996741235256195 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08704271167516708 }, "else": { "operation": "boost", "score": -0.008299360983073711 } } }, "else": { "operation": "boost", "score": -0.047167517244815826 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0004336679703556001 }, "else": { "operation": "boost", "score": 0.10607238858938217 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.04620152339339256 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": -0.09569961577653885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.12600840628147125 }, "else": { "operation": "boost", "score": -0.15422675013542175 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.17794419825077057 }, "else": { "operation": "boost", "score": 0.05721056088805199 } }, "else": { "operation": "boost", "score": -0.09700004011392593 } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0375942625105381 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.11777611821889877 }, "else": { "operation": "boost", "score": 0.03442057967185974 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.1305059790611267 }, "else": { "operation": "boost", "score": -0.1432504951953888 } }, "else": { "operation": "boost", "score": 0.019978290423750877 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.08071714639663696 }, "else": { "operation": "boost", "score": -0.10256323963403702 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.07657654583454132 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11839602142572403 }, "else": { "operation": "boost", "score": 0.1017267182469368 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 378.5, "then": { "operation": "boost", "score": -0.08872105181217194 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 242.0, "then": { "operation": "boost", "score": 0.1710006594657898 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1607009321451187 }, "else": { "operation": "boost", "score": 0.0608319416642189 } } } }, "else": { "operation": "boost", "score": 0.014105632901191711 } } }, "else": { "operation": "boost", "score": -0.036470819264650345 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008412652648985386 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.0179850272834301 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.0020349284168332815 }, "else": { "operation": "boost", "score": 0.01396418921649456 } } }, "else": { "operation": "boost", "score": 0.0029026144184172153 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04303227737545967 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.03182249143719673 }, "else": { "operation": "boost", "score": -0.18607909977436066 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.14680156111717224 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1107073575258255 }, "else": { "operation": "boost", "score": -0.32276251912117004 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.5433186292648315 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6190476417541504, "then": { "operation": "boost", "score": 0.12027788907289505 }, "else": { "operation": "boost", "score": 0.04847332462668419 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.028812166303396225 }, "else": { "operation": "boost", "score": 0.0968761295080185 } }, "else": { "operation": "boost", "score": -0.03965676948428154 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.025616999715566635 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": -0.15293173491954803 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.05154518783092499 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1805531084537506 }, "else": { "operation": "boost", "score": 0.09463092684745789 } } }, "else": { "operation": "boost", "score": -0.026384197175502777 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.006968471221625805 }, "else": { "operation": "boost", "score": 0.11610047519207001 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.16294749081134796 }, "else": { "operation": "boost", "score": 0.003331075655296445 } }, "else": { "operation": "boost", "score": -0.23983146250247955 } } }, "else": { "operation": "boost", "score": 0.13284431397914886 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.0008885439019650221 }, "else": { "operation": "boost", "score": 0.3133951425552368 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01977641135454178 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07074019312858582 }, "else": { "operation": "boost", "score": -0.11096924543380737 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": 0.15173588693141937 }, "else": { "operation": "boost", "score": -0.3145747482776642 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08137832581996918 }, "else": { "operation": "boost", "score": 0.1702299565076828 } } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017296496778726578 }, "else": { "operation": "boost", "score": 0.06930581480264664 } }, "else": { "operation": "boost", "score": -0.001490830210968852 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 0.02910751663148403 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0607316717505455, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.6670101284980774 }, "else": { "operation": "boost", "score": 0.031051507219672203 } }, "else": { "operation": "boost", "score": 0.24003562331199646 } }, "else": { "operation": "boost", "score": 0.06804630905389786 } }, "else": { "operation": "boost", "score": 0.06660228967666626 } } }, "else": { "operation": "boost", "score": -0.0007405687938444316 } }, "else": { "operation": "boost", "score": -0.1013248935341835 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08412367850542068 }, "else": { "operation": "boost", "score": -0.0929211750626564 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.006503264419734478 }, "else": { "operation": "boost", "score": 0.08140189945697784 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.029292931780219078 }, "else": { "operation": "boost", "score": -0.5430244207382202 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.029560478404164314 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "boost", "score": 0.016423417255282402 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.09883609414100647 }, "else": { "operation": "boost", "score": -0.008407507091760635 } }, "else": { "operation": "boost", "score": 0.07094305008649826 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "boost", "score": 0.06885360181331635 }, "else": { "operation": "boost", "score": -0.002242338377982378 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": 0.01939292997121811 }, "else": { "operation": "boost", "score": 0.10452122241258621 } }, "else": { "operation": "boost", "score": -0.010670403949916363 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10720852762460709 }, "else": { "operation": "boost", "score": -0.10106255859136581 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": -0.4001947045326233 }, "else": { "operation": "boost", "score": -0.06302788853645325 } }, "else": { "operation": "boost", "score": -0.01555691473186016 } } } } } }, "else": { "operation": "boost", "score": -0.006401639897376299 } } } }, "else": { "operation": "boost", "score": -0.01695038564503193 } }, "else": { "operation": "boost", "score": -0.0003310550528112799 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04863428324460983 }, "else": { "operation": "boost", "score": -0.05825084447860718 } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.3610004484653473 }, "else": { "operation": "boost", "score": -0.06960459798574448 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.045240577310323715 }, "else": { "operation": "boost", "score": 0.01905595324933529 } }, "else": { "operation": "boost", "score": 0.01478190440684557 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.05186716839671135 }, "else": { "operation": "boost", "score": -0.08574992418289185 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0007541659288108349 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.19498702883720398 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.0022035769652575254 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.17067183554172516 }, "else": { "operation": "boost", "score": -0.020332539454102516 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.8568675518035889 }, "else": { "operation": "boost", "score": -0.048641398549079895 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.02308301068842411 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "boost", "score": -0.1523962914943695 }, "else": { "operation": "boost", "score": -0.7621148824691772 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.03173946961760521 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "boost", "score": -0.16742241382598877 }, "else": { "operation": "boost", "score": 0.0932743102312088 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2193.0, "then": { "operation": "boost", "score": -0.5864349603652954 }, "else": { "operation": "boost", "score": 0.0244560819119215 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.006042244378477335 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05195540562272072 }, "else": { "operation": "boost", "score": -0.07536085695028305 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0038183829747140408 }, "else": { "operation": "boost", "score": 0.011010621674358845 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019699091091752052 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03387642651796341 }, "else": { "operation": "boost", "score": -0.005324922036379576 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.018517140299081802 }, "else": { "operation": "boost", "score": -0.01585778407752514 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.018470043316483498 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.17789269983768463 }, "else": { "operation": "boost", "score": -0.5141041874885559 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.11536779254674911 }, "else": { "operation": "boost", "score": 0.11228173971176147 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.1679169088602066 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.0, "then": { "operation": "boost", "score": 2.085143804550171 }, "else": { "operation": "boost", "score": -0.215487539768219 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0022437286097556353 }, "else": { "operation": "boost", "score": 0.2133762538433075 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.31569933891296387 }, "else": { "operation": "boost", "score": 0.012196850031614304 } } }, "else": { "operation": "boost", "score": 0.035311006009578705 } } }, "else": { "operation": "boost", "score": 0.0017088082386180758 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.008186894468963146 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.22455960512161255 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.08000044524669647 }, "else": { "operation": "boost", "score": -0.08400948345661163 } } }, "else": { "operation": "boost", "score": -0.022646315395832062 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.13781432807445526 }, "else": { "operation": "boost", "score": -0.1972404569387436 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.021143361926078796 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.15518823266029358 }, "else": { "operation": "boost", "score": 0.1255931407213211 } }, "else": { "operation": "boost", "score": -0.022619882598519325 } } }, "else": { "operation": "boost", "score": 0.006088665686547756 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.07972359657287598 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.000993890454992652 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.03984522446990013 }, "else": { "operation": "boost", "score": -0.11149302870035172 } }, "else": { "operation": "boost", "score": -0.10529980063438416 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.09790155291557312 }, "else": { "operation": "boost", "score": -0.12634973227977753 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11894316226243973 }, "else": { "operation": "boost", "score": 0.20550866425037384 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.6397669315338135 }, "else": { "operation": "boost", "score": 0.03664487600326538 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0357222743332386 }, "else": { "operation": "boost", "score": -0.13571949303150177 } } } } }, "else": { "operation": "boost", "score": -0.06019172817468643 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1435985118150711 }, "else": { "operation": "boost", "score": 0.09525004774332047 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01769859716296196 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.1391877830028534 }, "else": { "operation": "boost", "score": -1.065373182296753 } } }, "else": { "operation": "boost", "score": 0.012208488769829273 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.17236238718032837 }, "else": { "operation": "boost", "score": -0.030373718589544296 } }, "else": { "operation": "boost", "score": 0.11994339525699615 } }, "else": { "operation": "boost", "score": 0.11348898708820343 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.025117134675383568 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.5625308752059937 }, "else": { "operation": "boost", "score": -0.19306132197380066 } } }, "else": { "operation": "boost", "score": 0.04732731729745865 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.08714766800403595 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.10474996268749237 }, "else": { "operation": "boost", "score": -0.15862329304218292 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": 0.12789659202098846 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": -2.2526040077209473 }, "else": { "operation": "boost", "score": 0.03464505076408386 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.06564965844154358 }, "else": { "operation": "boost", "score": -0.0493890680372715 } } }, "else": { "operation": "boost", "score": -0.019192645326256752 } } } }, "else": { "operation": "boost", "score": -0.0017105145379900932 } } }, "else": { "operation": "boost", "score": -0.008591155521571636 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 325.0, "then": { "operation": "boost", "score": 0.10191763937473297 }, "else": { "operation": "boost", "score": 0.007807421498000622 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": -0.11009787768125534 }, "else": { "operation": "boost", "score": -0.011263714171946049 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.05318979173898697 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.9166666269302368, "then": { "operation": "boost", "score": -0.11964184790849686 }, "else": { "operation": "boost", "score": 0.0344131663441658 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.04964796453714371 }, "else": { "operation": "boost", "score": 0.13178148865699768 } }, "else": { "operation": "boost", "score": -0.11983273923397064 } }, "else": { "operation": "boost", "score": 0.011920970864593983 } }, "else": { "operation": "boost", "score": 0.011403867974877357 } } }, "else": { "operation": "boost", "score": -0.022251373156905174 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.015373732894659042 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 8.0, "then": { "operation": "boost", "score": -0.11524420976638794 }, "else": { "operation": "boost", "score": 0.033531997352838516 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "boost", "score": -0.7600228190422058 }, "else": { "operation": "boost", "score": -0.10165601968765259 } }, "else": { "operation": "boost", "score": -0.03495439514517784 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.14455507695674896 }, "else": { "operation": "boost", "score": 0.11000493913888931 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.01460171490907669 }, "else": { "operation": "boost", "score": 0.1046830415725708 } } }, "else": { "operation": "boost", "score": 0.018424903973937035 } }, "else": { "operation": "boost", "score": 0.0016359920846298337 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0067720008082687855 }, "else": { "operation": "boost", "score": -0.054735779762268066 } } }, "else": { "operation": "boost", "score": -0.0009782543638721108 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.10370026528835297 }, "else": { "operation": "boost", "score": -0.013941665180027485 } } } } }, "else": { "operation": "boost", "score": -0.00015643158985767514 } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03637566417455673, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0010722011793404818 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.109202541410923 }, "else": { "operation": "boost", "score": 0.010355936363339424 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.027908507734537125 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.06720230728387833 }, "else": { "operation": "boost", "score": -0.7703006267547607 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "boost", "score": 0.07205747067928314 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.12568072974681854 }, "else": { "operation": "boost", "score": 0.09955912828445435 } }, "else": { "operation": "boost", "score": 0.08616844564676285 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.28564366698265076 }, "else": { "operation": "boost", "score": 0.05544666200876236 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.039958540350198746 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82455.5, "then": { "operation": "boost", "score": 0.03313414379954338 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32879.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.4432595670223236 }, "else": { "operation": "boost", "score": -0.06961333006620407 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.05736614018678665 }, "else": { "operation": "boost", "score": -0.12868578732013702 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5659.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.1595577895641327 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.11879199743270874 }, "else": { "operation": "boost", "score": -0.12784773111343384 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4916.0, "then": { "operation": "boost", "score": -0.7370010018348694 }, "else": { "operation": "boost", "score": -0.11933595687150955 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.12500593066215515 }, "else": { "operation": "boost", "score": 0.13566522300243378 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68.0, "then": { "operation": "boost", "score": 0.0991358608007431 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.019419290125370026 }, "else": { "operation": "boost", "score": 0.11378739774227142 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "boost", "score": -0.004516097716987133 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11203529685735703 }, "else": { "operation": "boost", "score": 0.11315039545297623 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.12523780763149261 }, "else": { "operation": "boost", "score": 0.0941460132598877 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.0, "then": { "operation": "boost", "score": 0.02442270889878273 }, "else": { "operation": "boost", "score": -0.4288650155067444 } }, "else": { "operation": "boost", "score": 0.10319150239229202 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.3047841191291809 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.25460588932037354 }, "else": { "operation": "boost", "score": 0.1624363362789154 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 271.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": -0.09901779890060425 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 348.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1625.0, "then": { "operation": "boost", "score": -0.009181240573525429 }, "else": { "operation": "boost", "score": 0.11288133263587952 } }, "else": { "operation": "boost", "score": 0.13983742892742157 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.028961731120944023 }, "else": { "operation": "boost", "score": -0.23461532592773438 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.032510530203580856 }, "else": { "operation": "boost", "score": -0.23825404047966003 } } }, "else": { "operation": "boost", "score": -0.06356745958328247 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.19938182830810547 }, "else": { "operation": "boost", "score": 0.05775947496294975 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.17203447222709656 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.07060011476278305 }, "else": { "operation": "boost", "score": 0.06608245521783829 } }, "else": { "operation": "boost", "score": -0.31499502062797546 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0802028626203537 }, "else": { "operation": "boost", "score": 0.08368996530771255 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96.5, "then": { "operation": "boost", "score": -0.3051929175853729 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "boost", "score": 0.08433090150356293 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "boost", "score": -0.30030444264411926 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08257577568292618 }, "else": { "operation": "boost", "score": -0.16264985501766205 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.057085201144218445 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08373535424470901 }, "else": { "operation": "boost", "score": -0.1336865872144699 } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3969.0, "then": { "operation": "boost", "score": 0.07570970058441162 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10574988275766373 }, "else": { "operation": "boost", "score": -0.3664775490760803 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.19370301067829132 }, "else": { "operation": "boost", "score": 0.1151425763964653 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.005662471987307072 }, "else": { "operation": "boost", "score": -0.7194625735282898 } } } }, "else": { "operation": "boost", "score": 0.013001542538404465 } }, "else": { "operation": "boost", "score": -0.24959354102611542 } }, "else": { "operation": "boost", "score": 0.08331488817930222 } }, "else": { "operation": "boost", "score": 0.03402448073029518 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.45475533604621887 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.06776534765958786 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.16157636046409607 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.23130545020103455 }, "else": { "operation": "boost", "score": 0.0981127992272377 } } } }, "else": { "operation": "boost", "score": -0.09359677881002426 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10769926011562347 }, "else": { "operation": "boost", "score": -0.7934179902076721 } } }, "else": { "operation": "boost", "score": 0.00701347179710865 } } }, "else": { "operation": "boost", "score": -0.005825493950396776 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.06566081196069717 }, "else": { "operation": "boost", "score": 0.12236205488443375 } }, "else": { "operation": "boost", "score": 0.021438930183649063 } }, "else": { "operation": "boost", "score": 0.007352425251156092 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "boost", "score": 0.12722785770893097 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.012550457380712032 }, "else": { "operation": "boost", "score": -0.7692952156066895 } } }, "else": { "operation": "boost", "score": 0.014104786328971386 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 275598.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 458944.5, "then": { "operation": "boost", "score": -0.027762748301029205 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.062463901937007904 }, "else": { "operation": "boost", "score": 0.11257898807525635 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220295.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2666666805744171, "then": { "operation": "boost", "score": 0.13035835325717926 }, "else": { "operation": "boost", "score": -0.2774823009967804 } }, "else": { "operation": "boost", "score": -0.009962293319404125 } } } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.032219935208559036 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.01083978358656168 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.023719534277915955 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": 0.11487483978271484 }, "else": { "operation": "boost", "score": -0.13356436789035797 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09502469003200531 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06691808253526688 }, "else": { "operation": "boost", "score": 0.014961973764002323 } }, "else": { "operation": "boost", "score": 0.072830930352211 } } }, "else": { "operation": "boost", "score": 0.014261558651924133 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.20140354335308075 }, "else": { "operation": "boost", "score": 0.03324282541871071 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.13678909838199615 }, "else": { "operation": "boost", "score": 0.00940156914293766 } } } }, "else": { "operation": "boost", "score": -0.8708022832870483 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.14826929569244385 }, "else": { "operation": "boost", "score": 0.01475533377379179 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.01702365279197693 }, "else": { "operation": "boost", "score": -0.0036100978031754494 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06221186742186546 }, "else": { "operation": "boost", "score": 0.0222668144851923 } } } }, "else": { "operation": "boost", "score": 0.10813067108392715 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "boost", "score": 0.006738922093063593 }, "else": { "operation": "boost", "score": 0.10512302070856094 } }, "else": { "operation": "boost", "score": -0.0016710031777620316 } } }, "else": { "operation": "boost", "score": -0.002796327928081155 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.1565963327884674 }, "else": { "operation": "boost", "score": -0.03055974282324314 } } }, "else": { "operation": "boost", "score": -0.00035413887235336006 } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.001743600587360561 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.00040012854151427746 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.5, "then": { "operation": "boost", "score": 0.11404836922883987 }, "else": { "operation": "boost", "score": -0.10004192590713501 } }, "else": { "operation": "boost", "score": 0.005486816167831421 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.5, "then": { "operation": "boost", "score": -0.0026329203974455595 }, "else": { "operation": "boost", "score": -0.0237779151648283 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0972222238779068, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.11369969695806503 }, "else": { "operation": "boost", "score": -0.0806017592549324 } }, "else": { "operation": "boost", "score": 0.08895602077245712 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.16362237930297852 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.02099432982504368 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.2969926595687866 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11409083008766174 }, "else": { "operation": "boost", "score": 0.032875023782253265 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04024846851825714 }, "else": { "operation": "boost", "score": 0.11329200863838196 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09499821811914444 }, "else": { "operation": "boost", "score": -0.07440132647752762 } } }, "else": { "operation": "boost", "score": -0.01607595942914486 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1240268349647522 }, "else": { "operation": "boost", "score": -0.16759055852890015 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07257521897554398 }, "else": { "operation": "boost", "score": -0.02465050294995308 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14548014104366302 }, "else": { "operation": "boost", "score": 0.1018873006105423 } } }, "else": { "operation": "boost", "score": 0.020167091861367226 } }, "else": { "operation": "boost", "score": 0.004356069955974817 } } } }, "else": { "operation": "boost", "score": 0.013800320215523243 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.11803765594959259 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.05524570867419243 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.09953916072845459 }, "else": { "operation": "boost", "score": 0.3079167902469635 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.011178099550306797 }, "else": { "operation": "boost", "score": 0.12356936931610107 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.1114116758108139 }, "else": { "operation": "boost", "score": -0.045126158744096756 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07560541480779648 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3452380895614624, "then": { "operation": "boost", "score": 0.06046309694647789 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.12297340482473373 }, "else": { "operation": "boost", "score": 0.1278836727142334 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15692394971847534 }, "else": { "operation": "boost", "score": 0.013486754149198532 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.10386651754379272 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.03434880077838898 }, "else": { "operation": "boost", "score": -0.08113288879394531 } } } } } }, "else": { "operation": "boost", "score": -0.010697540827095509 } }, "else": { "operation": "boost", "score": 0.0030818909872323275 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09796150028705597 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11249999701976776, "then": { "operation": "boost", "score": 0.07298754155635834 }, "else": { "operation": "boost", "score": 0.12290910631418228 } }, "else": { "operation": "boost", "score": -0.07622656226158142 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.03192492201924324 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.09499246627092361 }, "else": { "operation": "boost", "score": -0.14908438920974731 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.039230771362781525, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Type" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "boost", "score": 0.049461886286735535 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_PreprocessorExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.0022833591792732477 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.006149402819573879 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.021018482744693756 }, "else": { "operation": "boost", "score": -0.1815851926803589 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.14911498129367828 }, "else": { "operation": "boost", "score": -0.02601313404738903 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006764498073607683 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.026858873665332794 }, "else": { "operation": "boost", "score": -0.030840333551168442 } }, "else": { "operation": "boost", "score": 0.036577653139829636 } }, "else": { "operation": "boost", "score": -0.019347483292222023 } }, "else": { "operation": "boost", "score": 0.03932476416230202 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03852396458387375 }, "else": { "operation": "boost", "score": 0.09138932824134827 } } }, "else": { "operation": "boost", "score": 0.07003697752952576 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.023279543966054916 }, "else": { "operation": "boost", "score": -0.09843596816062927 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.035964660346508026 }, "else": { "operation": "boost", "score": 0.010486018843948841 } } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15614719688892365 }, "else": { "operation": "boost", "score": 0.01078835129737854 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1558704376220703, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.00787798035889864 }, "else": { "operation": "boost", "score": -0.001036793808452785 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": -0.0017211450031027198 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.1315823495388031 }, "else": { "operation": "boost", "score": -0.18372343480587006 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.27215465903282166 }, "else": { "operation": "boost", "score": -0.06862006336450577 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.09661403298377991 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.03275167569518089 }, "else": { "operation": "boost", "score": 0.10240981727838516 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.23621562123298645 }, "else": { "operation": "boost", "score": -0.01224904228001833 } } } }, "else": { "operation": "boost", "score": 0.01856665126979351 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010584604926407337 }, "else": { "operation": "boost", "score": 0.002660900354385376 } }, "else": { "operation": "boost", "score": -0.0015701205702498555 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.011316635645925999 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.09898827224969864 }, "else": { "operation": "boost", "score": 0.03142077848315239 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "boost", "score": 0.0033885869197547436 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.07841872423887253 }, "else": { "operation": "boost", "score": 0.04298624023795128 } } }, "else": { "operation": "boost", "score": -0.03608047589659691 } } }, "else": { "operation": "boost", "score": -0.01810193806886673 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010288363322615623 }, "else": { "operation": "boost", "score": -0.012733865529298782 } } }, "else": { "operation": "boost", "score": 0.005697482731193304 } }, "else": { "operation": "boost", "score": -0.024293839931488037 } } }, "else": { "operation": "boost", "score": 0.14974918961524963 } }, "else": { "operation": "boost", "score": -0.00024055314133875072 } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030666593462228775 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1391420215368271 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.06929594278335571 }, "else": { "operation": "boost", "score": 0.04996083676815033 } }, "else": { "operation": "boost", "score": 0.04607656970620155 } } }, "else": { "operation": "boost", "score": 0.009555956348776817 } }, "else": { "operation": "boost", "score": 0.01061207614839077 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.02569383569061756 }, "else": { "operation": "boost", "score": -0.0224851593375206 } }, "else": { "operation": "boost", "score": 0.021841252222657204 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0004713085072580725 }, "else": { "operation": "boost", "score": 0.052588582038879395 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00017763057257980108 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.009036761708557606 }, "else": { "operation": "boost", "score": 0.029996130615472794 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.3243067264556885 }, "else": { "operation": "boost", "score": -0.0019024793291464448 } } } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004406399559229612 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.011595351621508598 }, "else": { "operation": "boost", "score": -0.001273528323508799 } } } }, "else": { "operation": "boost", "score": -0.0023607518523931503 } } } } } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1291343867778778 }, "else": { "operation": "boost", "score": 0.06300811469554901 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": 0.17939706146717072 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11193715780973434 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.20433934032917023 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.29618531465530396 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.10256435722112656 }, "else": { "operation": "boost", "score": 0.18087142705917358 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.012529445812106133 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 2.300654172897339 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.19921882450580597 }, "else": { "operation": "boost", "score": 0.18668989837169647 } } } }, "else": { "operation": "boost", "score": -0.05888419598340988 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.13821496069431305 }, "else": { "operation": "boost", "score": 0.059458017349243164 } }, "else": { "operation": "boost", "score": -0.4083215892314911 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.06350846588611603 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.021493475884199142 }, "else": { "operation": "boost", "score": 0.12623731791973114 } }, "else": { "operation": "boost", "score": -0.0461236834526062 } }, "else": { "operation": "boost", "score": -0.07195708155632019 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.19748014211654663 }, "else": { "operation": "boost", "score": 0.1637095808982849 } }, "else": { "operation": "boost", "score": 0.040919892489910126 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.09581983089447021 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.20520617067813873 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.11489581316709518 }, "else": { "operation": "boost", "score": 0.134088933467865 } }, "else": { "operation": "boost", "score": -0.23839642107486725 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.06353235244750977 }, "else": { "operation": "boost", "score": -0.49239131808280945 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.07578974217176437 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.0010361244203522801 }, "else": { "operation": "boost", "score": 0.2014501839876175 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.09817677736282349 }, "else": { "operation": "boost", "score": 0.19139109551906586 } }, "else": { "operation": "boost", "score": 0.06972930580377579 } }, "else": { "operation": "boost", "score": 0.12969347834587097 } } } }, "else": { "operation": "boost", "score": 0.03258739039301872 } }, "else": { "operation": "boost", "score": -0.3189833462238312 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15387585759162903 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.06887877732515335 }, "else": { "operation": "boost", "score": -0.0014465772546827793 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.07016344368457794 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.002436999697238207 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.3881589472293854 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -4.674543380737305 }, "else": { "operation": "boost", "score": 0.016870856285095215 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.06192624196410179 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12635710835456848 }, "else": { "operation": "boost", "score": 0.09580536931753159 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": -0.3360721468925476 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.005685066804289818 }, "else": { "operation": "boost", "score": -0.030562300235033035 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "boost", "score": 0.12009009718894958 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36980.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.05504960939288139 }, "else": { "operation": "boost", "score": -0.03017379343509674 } }, "else": { "operation": "boost", "score": -0.05408273637294769 } }, "else": { "operation": "boost", "score": 0.005334124434739351 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11268599331378937 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": -0.1415904462337494 }, "else": { "operation": "boost", "score": -0.0011606644839048386 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "boost", "score": -0.21518473327159882 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.013766392134130001 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.0925246998667717 }, "else": { "operation": "boost", "score": 0.12264148145914078 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09085650742053986 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.3254176676273346 }, "else": { "operation": "boost", "score": -0.017985768616199493 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38181817531585693, "then": { "operation": "boost", "score": 0.05470235273241997 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.6654525399208069 }, "else": { "operation": "boost", "score": -0.08088700473308563 } }, "else": { "operation": "boost", "score": -0.13477212190628052 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": 0.051085274666547775 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.0234243031591177 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 172.5, "then": { "operation": "boost", "score": 0.12071242928504944 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.02582913637161255 }, "else": { "operation": "boost", "score": 0.04641666263341904 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.003892738837748766 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.0856826975941658 }, "else": { "operation": "boost", "score": -0.08049960434436798 } }, "else": { "operation": "boost", "score": 0.03586186468601227 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.1479843705892563 }, "else": { "operation": "boost", "score": -0.008545505814254284 } }, "else": { "operation": "boost", "score": 0.03818855807185173 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.15773777663707733 }, "else": { "operation": "boost", "score": -0.012298418208956718 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78.5, "then": { "operation": "boost", "score": -0.00570278475061059 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.059738051146268845 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71.5, "then": { "operation": "boost", "score": -0.460662841796875 }, "else": { "operation": "boost", "score": -1.089254379272461 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.5, "then": { "operation": "boost", "score": 0.022798001766204834 }, "else": { "operation": "boost", "score": -0.19306187331676483 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1944444477558136, "then": { "operation": "boost", "score": 0.09169796854257584 }, "else": { "operation": "boost", "score": -0.2841401994228363 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.16357344388961792 }, "else": { "operation": "boost", "score": 0.08164482563734055 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.13492803275585175 }, "else": { "operation": "boost", "score": -0.13582852482795715 } }, "else": { "operation": "boost", "score": 0.12426618486642838 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "boost", "score": 0.09297651797533035 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": -0.26782357692718506 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.10418243706226349 }, "else": { "operation": "boost", "score": -0.1841191202402115 } }, "else": { "operation": "boost", "score": 0.004712248221039772 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14642222225666046 }, "else": { "operation": "boost", "score": -0.016526218503713608 } }, "else": { "operation": "boost", "score": -0.06628250330686569 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.10450492054224014 }, "else": { "operation": "boost", "score": 0.11204418540000916 } }, "else": { "operation": "boost", "score": -0.037011098116636276 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.7681601643562317 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.014747509732842445 }, "else": { "operation": "boost", "score": -0.2598820924758911 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.009900417178869247 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.08556336909532547 }, "else": { "operation": "boost", "score": 0.016324980184435844 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.023801308125257492 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": -0.48719194531440735 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1828109622001648 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.3937397301197052 }, "else": { "operation": "boost", "score": 0.14647860825061798 } } }, "else": { "operation": "boost", "score": -0.14223134517669678 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": -0.2005445808172226 }, "else": { "operation": "boost", "score": -0.12431816011667252 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06256032735109329 }, "else": { "operation": "boost", "score": -0.09744632244110107 } } } } } } } } } } } } } }, "else": { "operation": "boost", "score": -0.00011282770719844848 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2401.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2435.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2759.0, "then": { "operation": "boost", "score": 0.018205825239419937 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2533.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2678.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2724.0, "then": { "operation": "boost", "score": 0.18424706161022186 }, "else": { "operation": "boost", "score": -0.11449357122182846 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2632.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.033542729914188385 }, "else": { "operation": "boost", "score": 0.11453805863857269 } }, "else": { "operation": "boost", "score": 0.09417887777090073 } } }, "else": { "operation": "boost", "score": -0.05308517813682556 } } }, "else": { "operation": "boost", "score": 0.10872606933116913 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2188.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2248.5, "then": { "operation": "boost", "score": -0.06981304287910461 }, "else": { "operation": "boost", "score": -0.31384536623954773 } }, "else": { "operation": "boost", "score": 0.0027252701111137867 } } }, "else": { "operation": "boost", "score": 0.0007822386105544865 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1806.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1812.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1925.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2003.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2010.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4992.0, "then": { "operation": "boost", "score": 0.001385536277666688 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4982.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.08938620984554291 }, "else": { "operation": "boost", "score": 0.16577160358428955 } }, "else": { "operation": "boost", "score": 0.1513882279396057 } }, "else": { "operation": "boost", "score": -0.30567097663879395 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4502.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4917.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.0953642874956131 }, "else": { "operation": "boost", "score": 0.13103225827217102 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4751.0, "then": { "operation": "boost", "score": -0.048263005912303925 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4533.5, "then": { "operation": "boost", "score": -0.032444488257169724 }, "else": { "operation": "boost", "score": 0.14734682440757751 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4601.5, "then": { "operation": "boost", "score": 0.10748492926359177 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057259451597929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06281501054763794, "then": { "operation": "boost", "score": 0.06582222878932953 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.10645415633916855 }, "else": { "operation": "boost", "score": 0.3359915614128113 } } }, "else": { "operation": "boost", "score": -0.011415696702897549 } } } } } }, "else": { "operation": "boost", "score": 0.027261532843112946 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4094.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4100.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.03601694107055664 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4288.5, "then": { "operation": "boost", "score": -0.10840556770563126 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4201.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.1248740628361702 }, "else": { "operation": "boost", "score": 0.14387506246566772 } }, "else": { "operation": "boost", "score": 0.18999901413917542 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.15049423277378082 }, "else": { "operation": "boost", "score": 0.014797285199165344 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4015.0, "then": { "operation": "boost", "score": -0.17227387428283691 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4013.5, "then": { "operation": "boost", "score": 0.11394326388835907 }, "else": { "operation": "boost", "score": 0.02155294455587864 } } } }, "else": { "operation": "boost", "score": -0.0004068452399224043 } } } } }, "else": { "operation": "boost", "score": -0.017748765647411346 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1280205.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.20779792964458466 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.11361668258905411 }, "else": { "operation": "boost", "score": -0.027567682787775993 } }, "else": { "operation": "boost", "score": -0.18300999701023102 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2531.5, "then": { "operation": "boost", "score": 0.021374309435486794 }, "else": { "operation": "boost", "score": -0.10034435242414474 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199646.0, "then": { "operation": "boost", "score": -0.05222681909799576 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "boost", "score": 0.0814322829246521 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99880.5, "then": { "operation": "boost", "score": -0.10081915557384491 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98088.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.0, "then": { "operation": "boost", "score": 0.10996975004673004 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.02111547812819481 }, "else": { "operation": "boost", "score": 0.09057797491550446 } } }, "else": { "operation": "boost", "score": -0.010152717120945454 } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2055.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2738.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14241.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20296.0, "then": { "operation": "boost", "score": -0.00778497289866209 }, "else": { "operation": "boost", "score": 0.07563334703445435 } }, "else": { "operation": "boost", "score": -0.07665803283452988 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12934.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13154.5, "then": { "operation": "boost", "score": 0.01586247608065605 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.109281025826931 }, "else": { "operation": "boost", "score": 0.18134832382202148 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.004511157516390085 }, "else": { "operation": "boost", "score": -0.10696611553430557 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07700473070144653 }, "else": { "operation": "boost", "score": -0.13858292996883392 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009230878204107285 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0912698432803154, "then": { "operation": "boost", "score": -0.06034204736351967 }, "else": { "operation": "boost", "score": 0.29333963990211487 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.17916099727153778 }, "else": { "operation": "boost", "score": 0.019511668011546135 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.008940663188695908 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06919434666633606 }, "else": { "operation": "boost", "score": -0.1348135769367218 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11280494928359985 }, "else": { "operation": "boost", "score": 0.08269201964139938 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2009.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11981268227100372 }, "else": { "operation": "boost", "score": -0.06092749163508415 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.1292477399110794 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1430128514766693 }, "else": { "operation": "boost", "score": 0.13940951228141785 } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.13913317024707794 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1988.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1991.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.07178331166505814 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1996.0, "then": { "operation": "boost", "score": 0.09285056591033936 }, "else": { "operation": "boost", "score": 0.14654424786567688 } } }, "else": { "operation": "boost", "score": -0.09235423803329468 } }, "else": { "operation": "boost", "score": -0.1941969245672226 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1928.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1940.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.13523466885089874 }, "else": { "operation": "boost", "score": 0.10069186240434647 } }, "else": { "operation": "boost", "score": -0.018779784440994263 } }, "else": { "operation": "boost", "score": -0.13481710851192474 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1937.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.14337603747844696 }, "else": { "operation": "boost", "score": 0.14570480585098267 } }, "else": { "operation": "boost", "score": -0.10062512755393982 } }, "else": { "operation": "boost", "score": -0.01726219616830349 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.07754141837358475 }, "else": { "operation": "boost", "score": -0.3332156538963318 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1924.5, "then": { "operation": "boost", "score": 0.2852163016796112 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1820.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1910.0, "then": { "operation": "boost", "score": -0.17584703862667084 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1895.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1904.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.056439753621816635 }, "else": { "operation": "boost", "score": 0.14092770218849182 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.14090873301029205 }, "else": { "operation": "boost", "score": 0.08794928342103958 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.06773702800273895 }, "else": { "operation": "boost", "score": 0.1676609069108963 } }, "else": { "operation": "boost", "score": -0.08771222829818726 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.13414014875888824 }, "else": { "operation": "boost", "score": 0.07277590036392212 } }, "else": { "operation": "boost", "score": 0.004628479015082121 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.211378276348114 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1818.0, "then": { "operation": "boost", "score": 0.15215718746185303 }, "else": { "operation": "boost", "score": 0.0010912357829511166 } } } }, "else": { "operation": "boost", "score": -0.04331805929541588 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1813.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1844.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1858.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1887.5, "then": { "operation": "boost", "score": 0.04824512451887131 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.05667645111680031 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1439816802740097 }, "else": { "operation": "boost", "score": 0.037133656442165375 } } } }, "else": { "operation": "boost", "score": -0.09756551682949066 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1841.5, "then": { "operation": "boost", "score": 0.11855549365282059 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.016113005578517914 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1821.5, "then": { "operation": "boost", "score": -0.04498232528567314 }, "else": { "operation": "boost", "score": 0.17544376850128174 } } } } }, "else": { "operation": "boost", "score": -0.14980411529541016 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1820.5, "then": { "operation": "boost", "score": 0.012565139681100845 }, "else": { "operation": "boost", "score": -0.4448087811470032 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1810.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.17711129784584045 }, "else": { "operation": "boost", "score": 0.11352844536304474 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.05038895457983017 }, "else": { "operation": "boost", "score": 0.25210291147232056 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1803.5, "then": { "operation": "boost", "score": -0.1225680336356163 }, "else": { "operation": "boost", "score": -0.00021546843345277011 } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03637566417455673, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -6.990712427068502e-05 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0513157919049263, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.049116481095552444 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10398078709840775 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0017798524349927902 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.06514030694961548 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -2.406282663345337 }, "else": { "operation": "boost", "score": -0.2332841455936432 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": -0.3016655743122101 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.0, "then": { "operation": "boost", "score": 0.11903852969408035 }, "else": { "operation": "boost", "score": -0.10252116620540619 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12539373338222504 }, "else": { "operation": "boost", "score": 0.11650554090738297 } }, "else": { "operation": "boost", "score": -0.1629137396812439 } } }, "else": { "operation": "boost", "score": -0.0016985007096081972 } }, "else": { "operation": "boost", "score": -0.04847463592886925 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.040277354419231415 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.01899680681526661 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.04312863200902939 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03382410109043121 }, "else": { "operation": "boost", "score": -0.10049979388713837 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.23994003236293793 }, "else": { "operation": "boost", "score": -0.1096000149846077 } }, "else": { "operation": "boost", "score": -0.027065835893154144 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.046782102435827255 }, "else": { "operation": "boost", "score": -0.30243420600891113 } }, "else": { "operation": "boost", "score": -0.03719916567206383 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14575877785682678 }, "else": { "operation": "boost", "score": 0.06729834526777267 } }, "else": { "operation": "boost", "score": -0.1822981834411621 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.1531650573015213 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10189130902290344 }, "else": { "operation": "boost", "score": 0.51908278465271 } } } }, "else": { "operation": "boost", "score": -0.05918502062559128 } }, "else": { "operation": "boost", "score": -0.12109913676977158 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5889.5, "then": { "operation": "boost", "score": -0.03796956315636635 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.1094973161816597 }, "else": { "operation": "boost", "score": 0.1340571790933609 } } }, "else": { "operation": "boost", "score": -0.18637290596961975 } }, "else": { "operation": "boost", "score": -0.3129623234272003 } }, "else": { "operation": "boost", "score": -0.32362881302833557 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "boost", "score": 0.11573608964681625 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "boost", "score": 0.011171447113156319 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.11770213395357132 }, "else": { "operation": "boost", "score": -0.10251732915639877 } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0920913890004158 }, "else": { "operation": "boost", "score": -0.0072579155676066875 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "boost", "score": -0.09612740576267242 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 152619.0, "then": { "operation": "boost", "score": 0.055048294365406036 }, "else": { "operation": "boost", "score": 0.007898235693573952 } }, "else": { "operation": "boost", "score": 0.08104989677667618 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "boost", "score": 0.0036993888206779957 }, "else": { "operation": "boost", "score": 0.08566375076770782 } } } } } }, "else": { "operation": "boost", "score": 0.12113688886165619 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.5503409504890442 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.125589981675148 }, "else": { "operation": "boost", "score": 0.039896879345178604 } }, "else": { "operation": "boost", "score": 0.02212965302169323 } } }, "else": { "operation": "boost", "score": -0.05330458655953407 } }, "else": { "operation": "boost", "score": 0.1166180893778801 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.025655221194028854 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.027988681569695473 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 251.5, "then": { "operation": "boost", "score": 0.1284208595752716 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.22639217972755432 }, "else": { "operation": "boost", "score": 0.08224368095397949 } }, "else": { "operation": "boost", "score": -0.10825160145759583 } }, "else": { "operation": "boost", "score": -0.20225483179092407 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.004588827956467867 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10787864774465561 }, "else": { "operation": "boost", "score": 0.06118359416723251 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Namespace" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.05169610306620598 }, "else": { "operation": "boost", "score": 0.07333498448133469 } }, "else": { "operation": "boost", "score": 0.031113281846046448 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.01340906135737896 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.1270955502986908 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.026495525613427162 }, "else": { "operation": "boost", "score": 0.12848877906799316 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.015492808073759079 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13533388078212738 }, "else": { "operation": "boost", "score": -0.13872230052947998 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.11107993870973587 }, "else": { "operation": "boost", "score": 0.08298780769109726 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.004911534953862429 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.007290103007107973 }, "else": { "operation": "boost", "score": -0.2451322376728058 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.060661762952804565, "then": { "operation": "boost", "score": -0.0013184752315282822 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.28353169560432434 }, "else": { "operation": "boost", "score": 0.006489384453743696 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.09138132631778717 }, "else": { "operation": "boost", "score": 0.052692756056785583 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.028123727068305016 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.11829746514558792 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09517018496990204 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12976229190826416 }, "else": { "operation": "boost", "score": -0.20516334474086761 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.047910258173942566 }, "else": { "operation": "boost", "score": -0.37890082597732544 } } } }, "else": { "operation": "boost", "score": -0.05550771951675415 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": 0.09934873133897781 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.034807782620191574 }, "else": { "operation": "boost", "score": -0.17241835594177246 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.04773160442709923 }, "else": { "operation": "boost", "score": -0.021041981875896454 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.0645182728767395 }, "else": { "operation": "boost", "score": 0.03139628469944 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.044759202748537064 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.05590379610657692 }, "else": { "operation": "boost", "score": 0.09362877160310745 } }, "else": { "operation": "boost", "score": 0.05790785700082779 } } }, "else": { "operation": "boost", "score": 0.023456381633877754 } }, "else": { "operation": "boost", "score": -0.004943088628351688 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": -0.011336876079440117 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.2715471684932709 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.06856188923120499 }, "else": { "operation": "boost", "score": -0.03893286734819412 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.3013829290866852 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0212321188300848 }, "else": { "operation": "boost", "score": -0.08223582804203033 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019518274813890457 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 356.5, "then": { "operation": "boost", "score": 0.10278939455747604 }, "else": { "operation": "boost", "score": -0.0959552451968193 } }, "else": { "operation": "boost", "score": -0.0066990661434829235 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286067.5, "then": { "operation": "boost", "score": 0.030399437993764877 }, "else": { "operation": "boost", "score": -0.08281359076499939 } }, "else": { "operation": "boost", "score": -0.06053333729505539 } }, "else": { "operation": "boost", "score": 0.0014120271662250161 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14128297567367554 }, "else": { "operation": "boost", "score": -0.030172273516654968 } } }, "else": { "operation": "boost", "score": -0.00034551462158560753 } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03637566417455673, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0014662266476079822 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23303167521953583, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23669467866420746, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4330357313156128, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.07072515040636063 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4833333492279053, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": -0.22067514061927795 }, "else": { "operation": "boost", "score": 0.04252662509679794 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012441588565707207 }, "else": { "operation": "boost", "score": -0.41408437490463257 } } } }, "else": { "operation": "boost", "score": 0.00717447092756629 } }, "else": { "operation": "boost", "score": -0.003697415813803673 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.08967070281505585 }, "else": { "operation": "boost", "score": 0.011782958172261715 } }, "else": { "operation": "boost", "score": 0.02583692967891693 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.007088583428412676 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 65.0, "then": { "operation": "boost", "score": 0.13218152523040771 }, "else": { "operation": "boost", "score": -0.3094911575317383 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "boost", "score": -0.4317587912082672 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.0, "then": { "operation": "boost", "score": 0.08462221920490265 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.0, "then": { "operation": "boost", "score": -0.2532254755496979 }, "else": { "operation": "boost", "score": -0.023592276498675346 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13143008947372437 }, "else": { "operation": "boost", "score": -0.10251113772392273 } } } } } }, "else": { "operation": "boost", "score": 0.11639553308486938 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Other" ], "then": { "operation": "boost", "score": 0.1403682380914688 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10650499910116196 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1644304245710373 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.09867171198129654 }, "else": { "operation": "boost", "score": 0.08809565007686615 } } } }, "else": { "operation": "boost", "score": -0.05156460031867027 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.03578803315758705 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.21467748284339905 }, "else": { "operation": "boost", "score": -1.214383602142334 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09512558579444885 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2008928656578064, "then": { "operation": "boost", "score": 0.02070314809679985 }, "else": { "operation": "boost", "score": 0.2867428660392761 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7571429014205933, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.1244945153594017 }, "else": { "operation": "boost", "score": 0.06219375878572464 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4305555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11028841882944107 }, "else": { "operation": "boost", "score": 0.04883616417646408 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10579074174165726 }, "else": { "operation": "boost", "score": 0.13585002720355988 } }, "else": { "operation": "boost", "score": 0.03582865372300148 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10613323003053665 }, "else": { "operation": "boost", "score": -0.09625564515590668 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.1495118886232376 }, "else": { "operation": "boost", "score": 0.1368730217218399 } }, "else": { "operation": "boost", "score": -0.1073484942317009 } } } }, "else": { "operation": "boost", "score": 0.01737036183476448 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07667307555675507 }, "else": { "operation": "boost", "score": 0.900870144367218 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11137006431818008 }, "else": { "operation": "boost", "score": -0.02905457466840744 } }, "else": { "operation": "boost", "score": 0.24640949070453644 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.018973566591739655 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 902.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.028624454513192177 }, "else": { "operation": "boost", "score": -0.5466465950012207 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 311.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.016885817050933838 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.06876880675554276 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.24439579248428345 }, "else": { "operation": "boost", "score": 0.17334455251693726 } } } }, "else": { "operation": "boost", "score": 0.08429230749607086 } }, "else": { "operation": "boost", "score": 0.1341726928949356 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.051305707544088364 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08828114718198776 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.10588720440864563 }, "else": { "operation": "boost", "score": -0.1192231997847557 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.0, "then": { "operation": "boost", "score": -0.20141687989234924 }, "else": { "operation": "boost", "score": 0.07478144764900208 } }, "else": { "operation": "boost", "score": 0.1555338352918625 } }, "else": { "operation": "boost", "score": -0.011494789272546768 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05996715649962425 }, "else": { "operation": "boost", "score": 0.018279241397976875 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.00022965602693147957 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0010981193045154214 }, "else": { "operation": "boost", "score": -0.01753764972090721 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.10005566477775574 }, "else": { "operation": "boost", "score": 0.7831994295120239 } }, "else": { "operation": "boost", "score": 0.015368758700788021 } }, "else": { "operation": "boost", "score": 0.00866064615547657 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.008635423146188259 }, "else": { "operation": "boost", "score": 0.010340661741793156 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.004655259661376476 }, "else": { "operation": "boost", "score": -0.007080096285790205 } } }, "else": { "operation": "boost", "score": -0.0004588330630213022 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.066706083714962 }, "else": { "operation": "boost", "score": 0.03191021457314491 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006935302633792162 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03780249133706093 }, "else": { "operation": "boost", "score": 0.059748902916908264 } }, "else": { "operation": "boost", "score": -0.010445206426084042 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.025984669104218483 }, "else": { "operation": "boost", "score": -0.09411772340536118 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.050646085292100906 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.01781660132110119 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.06478282064199448 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.47009873390197754 }, "else": { "operation": "boost", "score": -0.01973256841301918 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11208966374397278 }, "else": { "operation": "boost", "score": 0.047653503715991974 } }, "else": { "operation": "boost", "score": 0.039640218019485474 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.024196622893214226 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0423373319208622 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.18491914868354797 }, "else": { "operation": "boost", "score": 0.0657803937792778 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7321428656578064, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.034104492515325546 }, "else": { "operation": "boost", "score": 0.13029515743255615 } }, "else": { "operation": "boost", "score": -0.0006372497882694006 } }, "else": { "operation": "boost", "score": -0.052012667059898376 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.24475477635860443 }, "else": { "operation": "boost", "score": 0.019336003810167313 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": 0.17660711705684662 }, "else": { "operation": "boost", "score": -0.18491162359714508 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.024200573563575745 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.3695704936981201 }, "else": { "operation": "boost", "score": -0.05091933533549309 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3079.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3851.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4010.0, "then": { "operation": "boost", "score": 0.010703977197408676 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.05997980758547783 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3952.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.9461108446121216 }, "else": { "operation": "boost", "score": -0.15138867497444153 } }, "else": { "operation": "boost", "score": -0.05275628715753555 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3797.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.1701415479183197 }, "else": { "operation": "boost", "score": 0.049531422555446625 } }, "else": { "operation": "boost", "score": 0.02467690221965313 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.16961456835269928 }, "else": { "operation": "boost", "score": 0.10176054388284683 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2910.0, "then": { "operation": "boost", "score": -0.1706266552209854 }, "else": { "operation": "boost", "score": -0.0015018951380625367 } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.13488785922527313 }, "else": { "operation": "boost", "score": -0.02950967289507389 } } }, "else": { "operation": "boost", "score": -0.00035461224615573883 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0032579349353909492 }, "else": { "operation": "boost", "score": 0.0008662227774038911 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.00033240378252230585 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292981.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": 0.006768862251192331 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.1143195852637291 }, "else": { "operation": "boost", "score": -0.41940632462501526 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1360577642917633 }, "else": { "operation": "boost", "score": 0.0937328189611435 } } }, "else": { "operation": "boost", "score": 0.0085873082280159 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.014820441603660583 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.3668237328529358 }, "else": { "operation": "boost", "score": 0.09920833259820938 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06794735789299011 }, "else": { "operation": "boost", "score": -0.42853763699531555 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.02235167846083641 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.11330650001764297 }, "else": { "operation": "boost", "score": 0.0644262433052063 } } } }, "else": { "operation": "boost", "score": 0.01232698280364275 } } }, "else": { "operation": "boost", "score": 0.038777098059654236 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2894.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8442.0, "then": { "operation": "boost", "score": -0.08932037651538849 }, "else": { "operation": "boost", "score": 0.16791664063930511 } }, "else": { "operation": "boost", "score": 0.0377357117831707 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.010136555880308151 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.017299525439739227 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.02894928865134716 }, "else": { "operation": "boost", "score": -0.3320145905017853 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.006526482757180929 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.0015749548329040408 }, "else": { "operation": "boost", "score": -0.07696346193552017 } } }, "else": { "operation": "boost", "score": 0.01109375897794962 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.009839381091296673 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.15731379389762878 }, "else": { "operation": "boost", "score": 0.10244908928871155 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.04992561414837837 }, "else": { "operation": "boost", "score": -0.016231611371040344 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.01190702710300684 }, "else": { "operation": "boost", "score": -0.07965582609176636 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -1.3367421627044678 }, "else": { "operation": "boost", "score": -0.053482286632061005 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0669642835855484, "then": { "operation": "boost", "score": -0.004520495422184467 }, "else": { "operation": "boost", "score": 0.06496426463127136 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.6021850109100342 }, "else": { "operation": "boost", "score": -0.00456261308863759 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 595.0, "then": { "operation": "boost", "score": 0.09891100227832794 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.061345748603343964 }, "else": { "operation": "boost", "score": -0.07029801607131958 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.002890028292313218 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 132.0, "then": { "operation": "boost", "score": 0.12444180250167847 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.046333663165569305 }, "else": { "operation": "boost", "score": 0.08311536908149719 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.012412501499056816 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.023655293509364128 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.07169897854328156 }, "else": { "operation": "boost", "score": 0.10858093947172165 } } }, "else": { "operation": "boost", "score": 0.012099376879632473 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06845619529485703 }, "else": { "operation": "boost", "score": 0.1097591370344162 } } }, "else": { "operation": "boost", "score": 0.033951643854379654 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.022675270214676857 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05935875326395035 }, "else": { "operation": "boost", "score": -0.12220030277967453 } } } } }, "else": { "operation": "boost", "score": -0.022897230461239815 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.06747273355722427 }, "else": { "operation": "boost", "score": 0.11010821908712387 } }, "else": { "operation": "boost", "score": -0.004303271882236004 } } }, "else": { "operation": "boost", "score": -0.0036613030824810266 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 752.5, "then": { "operation": "boost", "score": -0.0112198106944561 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 742.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.37012264132499695 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.017505386844277382 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.2052839994430542 }, "else": { "operation": "boost", "score": 0.027636218816041946 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 81.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 137.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.018511129543185234 }, "else": { "operation": "boost", "score": -0.22660376131534576 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.07017318904399872 }, "else": { "operation": "boost", "score": 0.21786512434482574 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.5, "then": { "operation": "boost", "score": 0.05316148325800896 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98.5, "then": { "operation": "boost", "score": 0.5134268999099731 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93.0, "then": { "operation": "boost", "score": -0.1237817332148552 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.3339700400829315 }, "else": { "operation": "boost", "score": 0.5608999729156494 } } } } }, "else": { "operation": "boost", "score": 0.10937419533729553 } }, "else": { "operation": "boost", "score": 0.02986641228199005 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0071958452463150024 }, "else": { "operation": "boost", "score": 0.24818198382854462 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7071428298950195, "then": { "operation": "boost", "score": 0.03676450252532959 }, "else": { "operation": "boost", "score": 0.016293605789542198 } } }, "else": { "operation": "boost", "score": -0.014197162352502346 } }, "else": { "operation": "boost", "score": 0.0023741016630083323 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.011052320711314678 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 144.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 703.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 710.5, "then": { "operation": "boost", "score": -0.03867759555578232 }, "else": { "operation": "boost", "score": 0.2644121050834656 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.02579346112906933 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 309.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.08427340537309647 }, "else": { "operation": "boost", "score": 0.21304866671562195 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 232.0, "then": { "operation": "boost", "score": -0.10615997016429901 }, "else": { "operation": "boost", "score": 0.11866056174039841 } }, "else": { "operation": "boost", "score": -0.029747502878308296 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 522.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 552.5, "then": { "operation": "boost", "score": 0.012475301511585712 }, "else": { "operation": "boost", "score": -0.2525935471057892 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 470.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 490.5, "then": { "operation": "boost", "score": 0.02957426942884922 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.10960228741168976 }, "else": { "operation": "boost", "score": 0.2100578099489212 } }, "else": { "operation": "boost", "score": 0.062703937292099 } } }, "else": { "operation": "boost", "score": 0.03873191773891449 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 311.5, "then": { "operation": "boost", "score": -0.016269654035568237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 294.5, "then": { "operation": "boost", "score": 0.1885848045349121 }, "else": { "operation": "boost", "score": -0.01550076249986887 } }, "else": { "operation": "boost", "score": 0.17573219537734985 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 211.5, "then": { "operation": "boost", "score": -0.08078823983669281 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 210.5, "then": { "operation": "boost", "score": 0.17137083411216736 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.08777671307325363 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 199.0, "then": { "operation": "boost", "score": 0.10526739805936813 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.3613099753856659 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189.0, "then": { "operation": "boost", "score": 0.16974952816963196 }, "else": { "operation": "boost", "score": -0.09699587523937225 } } } } } } } } }, "else": { "operation": "boost", "score": -0.030943335965275764 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.15555457770824432 }, "else": { "operation": "boost", "score": 0.15039373934268951 } }, "else": { "operation": "boost", "score": 0.0862959623336792 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.022986093536019325 }, "else": { "operation": "boost", "score": 0.00801964569836855 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.009312614798545837 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03803030028939247 }, "else": { "operation": "boost", "score": -0.046054087579250336 } }, "else": { "operation": "boost", "score": 0.008587577380239964 } }, "else": { "operation": "boost", "score": -0.009664658457040787 } } } } }, "else": { "operation": "boost", "score": -0.0008784137899056077 } } }, "else": { "operation": "boost", "score": -0.0278007909655571 } } } } } } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 14372.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15158.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15677.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16126.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16170.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20253.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58073.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 66036.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 203783.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "boost", "score": 0.007683295290917158 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.07604683190584183 }, "else": { "operation": "boost", "score": 0.024662146344780922 } } }, "else": { "operation": "boost", "score": -0.013734758831560612 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09244557470083237 }, "else": { "operation": "boost", "score": 0.03579706326127052 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 62580.5, "then": { "operation": "boost", "score": -0.07050791382789612 }, "else": { "operation": "boost", "score": 0.020229298621416092 } } } }, "else": { "operation": "boost", "score": -0.028098614886403084 } }, "else": { "operation": "boost", "score": -0.14566488564014435 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43302.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45000.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52191.5, "then": { "operation": "boost", "score": 0.0661521777510643 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.13885067403316498 }, "else": { "operation": "boost", "score": 0.15010987222194672 } }, "else": { "operation": "boost", "score": -0.1828698366880417 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47293.0, "then": { "operation": "boost", "score": -0.08466453105211258 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47131.5, "then": { "operation": "boost", "score": 0.06950643658638 }, "else": { "operation": "boost", "score": 0.004769977182149887 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44693.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10620104521512985 }, "else": { "operation": "boost", "score": 0.0743224248290062 } }, "else": { "operation": "boost", "score": -0.19705070555210114 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.369306355714798 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.034168317914009094 }, "else": { "operation": "boost", "score": 0.11624347418546677 } }, "else": { "operation": "boost", "score": 0.12983128428459167 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06036591902375221 }, "else": { "operation": "boost", "score": 0.1168675497174263 } }, "else": { "operation": "boost", "score": 0.06167628616094589 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28180.0, "then": { "operation": "boost", "score": -0.0253477580845356 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.027763957157731056 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25183.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26541.5, "then": { "operation": "boost", "score": 0.020584821701049805 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07743952423334122 }, "else": { "operation": "boost", "score": 0.109901562333107 } } }, "else": { "operation": "boost", "score": -0.0854903981089592 } }, "else": { "operation": "boost", "score": -0.029975933954119682 } } } } } }, "else": { "operation": "boost", "score": -0.04982319474220276 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17984.0, "then": { "operation": "boost", "score": 0.006967628840357065 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.12791964411735535 }, "else": { "operation": "boost", "score": 0.09362327307462692 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16732.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.09224442392587662 }, "else": { "operation": "boost", "score": 0.12028756737709045 } }, "else": { "operation": "boost", "score": 0.1083819791674614 } }, "else": { "operation": "boost", "score": 0.0018303488614037633 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.056879498064517975 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.15574361383914948 }, "else": { "operation": "boost", "score": 0.008427934721112251 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34707.0, "then": { "operation": "boost", "score": 0.002795967971906066 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33949.0, "then": { "operation": "boost", "score": 0.09605545550584793 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32401.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "boost", "score": 0.017646435648202896 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.06724836677312851 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.17645592987537384 }, "else": { "operation": "boost", "score": 0.08251935988664627 } } }, "else": { "operation": "boost", "score": 0.07299959659576416 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30221.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020444542169570923 }, "else": { "operation": "boost", "score": -0.12426794320344925 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27939.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28180.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28239.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": -0.10018864274024963 }, "else": { "operation": "boost", "score": 0.186709925532341 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28548.0, "then": { "operation": "boost", "score": 0.11095379292964935 }, "else": { "operation": "boost", "score": 0.017528071999549866 } } }, "else": { "operation": "boost", "score": -0.10540648549795151 } }, "else": { "operation": "boost", "score": 0.0117184454575181 } }, "else": { "operation": "boost", "score": 0.1319737434387207 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.12108982354402542 }, "else": { "operation": "boost", "score": 0.17178265750408173 } }, "else": { "operation": "boost", "score": 0.1076442301273346 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24330.0, "then": { "operation": "boost", "score": -0.048079945147037506 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.07735341042280197 }, "else": { "operation": "boost", "score": 0.0076113734394311905 } } } }, "else": { "operation": "boost", "score": -0.03367885574698448 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23685.0, "then": { "operation": "boost", "score": -0.20473426580429077 }, "else": { "operation": "boost", "score": -0.010615679435431957 } } }, "else": { "operation": "boost", "score": -0.018538091331720352 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.007669732440263033 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "boost", "score": 0.0853932648897171 }, "else": { "operation": "boost", "score": -0.05261294171214104 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.31975406408309937 }, "else": { "operation": "boost", "score": -0.17965173721313477 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15950.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15964.5, "then": { "operation": "boost", "score": 0.13020268082618713 }, "else": { "operation": "boost", "score": 0.10554957389831543 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01813952811062336 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11480019986629486 }, "else": { "operation": "boost", "score": -0.10097275674343109 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "boost", "score": 0.07482133060693741 }, "else": { "operation": "boost", "score": 0.12578728795051575 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.15555556118488312, "then": { "operation": "boost", "score": 0.09985187649726868 }, "else": { "operation": "boost", "score": 0.056854359805583954 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "boost", "score": 0.23054258525371552 }, "else": { "operation": "boost", "score": -0.10192440450191498 } }, "else": { "operation": "boost", "score": 0.05990195274353027 } } } } }, "else": { "operation": "boost", "score": -0.009490490891039371 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1406518965959549 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.07573805004358292 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.1941222846508026 }, "else": { "operation": "boost", "score": -0.011608892120420933 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15389.0, "then": { "operation": "boost", "score": -0.11715395003557205 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.07393573224544525 }, "else": { "operation": "boost", "score": -0.025660252198576927 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1118321344256401 }, "else": { "operation": "boost", "score": 0.10791436582803726 } }, "else": { "operation": "boost", "score": 0.053846586495637894 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.017626211047172546 }, "else": { "operation": "boost", "score": 0.09670031815767288 } }, "else": { "operation": "boost", "score": 0.017108600586652756 } }, "else": { "operation": "boost", "score": -0.1595916897058487 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.038539811968803406 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.06564934551715851 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.18695250153541565 }, "else": { "operation": "boost", "score": 0.19205662608146667 } } }, "else": { "operation": "boost", "score": -0.3400067090988159 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03138389065861702 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.11175715178251266 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.10722309350967407 }, "else": { "operation": "boost", "score": -0.0008033037302084267 } } } }, "else": { "operation": "boost", "score": -0.021130334585905075 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.11345499008893967 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14599.5, "then": { "operation": "boost", "score": -0.042418427765369415 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.10416190326213837 }, "else": { "operation": "boost", "score": 0.19175168871879578 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.12646019458770752 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.05554979294538498 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.19047562777996063 }, "else": { "operation": "boost", "score": 0.22651907801628113 } }, "else": { "operation": "boost", "score": -0.0310211144387722 } } } }, "else": { "operation": "boost", "score": -0.08399903774261475 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14187.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.155925914645195 }, "else": { "operation": "boost", "score": -0.12321489304304123 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14112.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10378208011388779 }, "else": { "operation": "boost", "score": 0.10820979624986649 } }, "else": { "operation": "boost", "score": -7.190542237367481e-05 } } } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0035594291985034943 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.00685389619320631 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 641.0, "then": { "operation": "boost", "score": -0.045936468988657 }, "else": { "operation": "boost", "score": 0.10158269107341766 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30193.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32056.0, "then": { "operation": "boost", "score": 0.08208037912845612 }, "else": { "operation": "boost", "score": 0.10754086077213287 } }, "else": { "operation": "boost", "score": 0.019893130287528038 } }, "else": { "operation": "boost", "score": 0.02268063649535179 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0011797514744102955 }, "else": { "operation": "boost", "score": -0.033017612993717194 } }, "else": { "operation": "boost", "score": 0.00620337063446641 } }, "else": { "operation": "boost", "score": 0.0002474274660926312 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.008118373341858387 }, "else": { "operation": "boost", "score": 0.0006101387552917004 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 102.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 115.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 117.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 209.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.013413389213383198 }, "else": { "operation": "boost", "score": 0.18601757287979126 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 524.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1777482032775879 }, "else": { "operation": "boost", "score": -0.15912814438343048 } }, "else": { "operation": "boost", "score": -0.040699128061532974 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.126386359333992 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 201.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.1804409772157669 }, "else": { "operation": "boost", "score": 0.19975174963474274 } }, "else": { "operation": "boost", "score": 0.10823579877614975 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1333499550819397 }, "else": { "operation": "boost", "score": -0.010056725703179836 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 153.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 364.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 467.5, "then": { "operation": "boost", "score": -0.0861969143152237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 462.5, "then": { "operation": "boost", "score": 0.11427243798971176 }, "else": { "operation": "boost", "score": 0.031945083290338516 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.11997878551483154 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 254.5, "then": { "operation": "boost", "score": 0.18623369932174683 }, "else": { "operation": "boost", "score": 0.1296849101781845 } } }, "else": { "operation": "boost", "score": -0.009081565774977207 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 360.5, "then": { "operation": "boost", "score": -0.38245922327041626 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155.5, "then": { "operation": "boost", "score": -0.07465756684541702 }, "else": { "operation": "boost", "score": -0.5838568210601807 } } } } }, "else": { "operation": "boost", "score": 0.010758774355053902 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 496.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 534.5, "then": { "operation": "boost", "score": -0.003930029459297657 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.0973203256726265 }, "else": { "operation": "boost", "score": 0.12583622336387634 } }, "else": { "operation": "boost", "score": 0.06767022609710693 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 414.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 416.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04207262396812439 }, "else": { "operation": "boost", "score": -1.3365211486816406 } }, "else": { "operation": "boost", "score": -1.014699935913086 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 183.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 213.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "boost", "score": 0.03981500864028931 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 394.5, "then": { "operation": "boost", "score": 0.06684733182191849 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 370.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.0905425176024437 }, "else": { "operation": "boost", "score": -0.21959106624126434 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 366.5, "then": { "operation": "boost", "score": 0.19435983896255493 }, "else": { "operation": "boost", "score": -0.0214750524610281 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.04334450885653496 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.055600814521312714 }, "else": { "operation": "boost", "score": 0.10489661246538162 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 194.0, "then": { "operation": "boost", "score": 0.07073598355054855 }, "else": { "operation": "boost", "score": -0.5511264801025391 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10101009905338287, "then": { "operation": "boost", "score": 0.015080546028912067 }, "else": { "operation": "boost", "score": 0.1115151196718216 } }, "else": { "operation": "boost", "score": -0.20632484555244446 } }, "else": { "operation": "boost", "score": -0.027136793360114098 } } } } } }, "else": { "operation": "boost", "score": 0.05523078143596649 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.0317179411649704 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 106.5, "then": { "operation": "boost", "score": -0.32976678013801575 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10951811075210571 }, "else": { "operation": "boost", "score": -0.1639670580625534 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.10996689647436142 }, "else": { "operation": "boost", "score": -1.2181775569915771 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.017123332247138023 }, "else": { "operation": "boost", "score": -0.3928969204425812 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.07380350679159164 }, "else": { "operation": "boost", "score": 0.12999209761619568 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.025117971003055573 }, "else": { "operation": "boost", "score": 0.11044101417064667 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.02576266974210739 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.04664482921361923 }, "else": { "operation": "boost", "score": -0.22557051479816437 } } } }, "else": { "operation": "boost", "score": -0.0002242497430415824 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014083604328334332 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1318535.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.002288749674335122 }, "else": { "operation": "boost", "score": -0.5120421051979065 } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1136835440993309 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator" ], "then": { "operation": "boost", "score": 0.023512640967965126 }, "else": { "operation": "boost", "score": -0.02249937132000923 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.013639305718243122 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.12786021828651428 }, "else": { "operation": "boost", "score": 0.040020521730184555 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.11609821021556854 }, "else": { "operation": "boost", "score": -0.1043776348233223 } } }, "else": { "operation": "boost", "score": -0.10971935093402863 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10249985009431839 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.03405416011810303 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -0.05672251805663109 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.03760063275694847 }, "else": { "operation": "boost", "score": 0.02926800772547722 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.03998567909002304 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.09422367066144943 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": 0.02559938281774521 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.15000000596046448, "then": { "operation": "boost", "score": 0.22376617789268494 }, "else": { "operation": "boost", "score": 0.20907603204250336 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.0649118721485138 }, "else": { "operation": "boost", "score": 0.007548295892775059 } } } }, "else": { "operation": "boost", "score": -0.002405688865110278 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04653679579496384, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.027068575844168663 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2967033088207245, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": -0.12108323723077774 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10960186272859573 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1341480165719986 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11180570721626282 }, "else": { "operation": "boost", "score": -0.10478320717811584 } } } } }, "else": { "operation": "boost", "score": 0.14393271505832672 } }, "else": { "operation": "boost", "score": -0.004287227522581816 } } }, "else": { "operation": "boost", "score": -0.02188705839216709 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.19737812876701355 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2211551070213318 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10002314299345016 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.48389896750450134 }, "else": { "operation": "boost", "score": -0.10349395126104355 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007097084075212479 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10411010682582855 }, "else": { "operation": "boost", "score": 0.033849600702524185 } } }, "else": { "operation": "boost", "score": -0.07528083771467209 } }, "else": { "operation": "boost", "score": 0.007034088019281626 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace" ], "then": { "operation": "boost", "score": 0.06656750291585922 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 17.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": -0.11567345261573792 }, "else": { "operation": "boost", "score": -0.015236211009323597 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.11185935884714127 }, "else": { "operation": "boost", "score": 0.1371854990720749 } } } } }, "else": { "operation": "boost", "score": -0.0008002194808796048 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1318535.0, "then": { "operation": "boost", "score": 0.1098007783293724 }, "else": { "operation": "boost", "score": -0.010802354663610458 } } } }, "else": { "operation": "boost", "score": 0.0003309750172775239 } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_Symbol", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.005301021039485931 }, "else": { "operation": "boost", "score": 0.02188258059322834 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.002007532399147749 }, "else": { "operation": "boost", "score": -0.022701699286699295 } }, "else": { "operation": "boost", "score": 0.0027206195518374443 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.03168109431862831 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1132287010550499 }, "else": { "operation": "boost", "score": -0.04514506831765175 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.09359700232744217 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1046639084815979 }, "else": { "operation": "boost", "score": -0.7101231217384338 } }, "else": { "operation": "boost", "score": -0.13889165222644806 } } } } }, "else": { "operation": "boost", "score": -0.0016409491654485464 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.054411765187978745, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3376.5, "then": { "operation": "boost", "score": 0.11832238733768463 }, "else": { "operation": "boost", "score": -0.08065947145223618 } }, "else": { "operation": "boost", "score": -0.019946392625570297 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.05918659642338753 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1999.5, "then": { "operation": "boost", "score": -0.14811840653419495 }, "else": { "operation": "boost", "score": 0.008960187435150146 } } }, "else": { "operation": "boost", "score": -0.0223456472158432 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1022.5, "then": { "operation": "boost", "score": -0.05933516100049019 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 620.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 671.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.05052435025572777 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 800.0, "then": { "operation": "boost", "score": 0.14743857085704803 }, "else": { "operation": "boost", "score": 0.06330098956823349 } } }, "else": { "operation": "boost", "score": 0.1731649488210678 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05492454394698143 }, "else": { "operation": "boost", "score": -1.0154190063476562 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 602.0, "then": { "operation": "boost", "score": -0.8555435538291931 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 186.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 394.0, "then": { "operation": "boost", "score": -0.09374702721834183 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 320.5, "then": { "operation": "boost", "score": 0.11349578946828842 }, "else": { "operation": "boost", "score": -0.07170417159795761 } }, "else": { "operation": "boost", "score": 0.11321723461151123 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 177.5, "then": { "operation": "boost", "score": -1.30049729347229 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 152.0, "then": { "operation": "boost", "score": -0.1732483208179474 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07959507405757904 }, "else": { "operation": "boost", "score": -0.2803528606891632 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88.5, "then": { "operation": "boost", "score": -0.23415076732635498 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 85.5, "then": { "operation": "boost", "score": 0.13245852291584015 }, "else": { "operation": "boost", "score": -0.07543142884969711 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.08425020426511765 }, "else": { "operation": "boost", "score": -0.11743220686912537 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 230.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0555555559694767, "then": { "operation": "boost", "score": 0.05802232027053833 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": 0.1290074586868286 }, "else": { "operation": "boost", "score": 0.15538741648197174 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 216.0, "then": { "operation": "boost", "score": -0.3508942425251007 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 206.5, "then": { "operation": "boost", "score": 0.12409542500972748 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 82.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04190914332866669 }, "else": { "operation": "boost", "score": 0.1268816441297531 } }, "else": { "operation": "boost", "score": 0.021460600197315216 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 89.5, "then": { "operation": "boost", "score": 0.1976948231458664 }, "else": { "operation": "boost", "score": 0.0848580151796341 } } }, "else": { "operation": "boost", "score": -0.024750523269176483 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.22143886983394623 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.06668658554553986 }, "else": { "operation": "boost", "score": 0.17549660801887512 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.12145281583070755 }, "else": { "operation": "boost", "score": -0.03896215930581093 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.21273142099380493 }, "else": { "operation": "boost", "score": -0.2187759280204773 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "boost", "score": 0.003465122776106 }, "else": { "operation": "boost", "score": -0.22878508269786835 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 129.0, "then": { "operation": "boost", "score": 0.06609602272510529 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.07394488155841827 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.11619465798139572 }, "else": { "operation": "boost", "score": 0.08235520869493484 } } } }, "else": { "operation": "boost", "score": 0.00015363974671345204 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 304.0, "then": { "operation": "boost", "score": 0.06116804853081703 }, "else": { "operation": "boost", "score": -0.006962424144148827 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05697322636842728 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.14038363099098206 }, "else": { "operation": "boost", "score": 0.07246336340904236 } } }, "else": { "operation": "boost", "score": 0.05512005090713501 } } } } } } } }, "else": { "operation": "boost", "score": -0.02285965159535408 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51.5, "then": { "operation": "boost", "score": -0.09532858431339264 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.01762492023408413 }, "else": { "operation": "boost", "score": -0.05474628135561943 } }, "else": { "operation": "boost", "score": -0.03869294375181198 } } }, "else": { "operation": "boost", "score": -0.045216962695121765 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "boost", "score": 0.05917961150407791 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1300591230392456 }, "else": { "operation": "boost", "score": 0.050921641290187836 } } }, "else": { "operation": "boost", "score": -0.03228786960244179 } }, "else": { "operation": "boost", "score": -0.021451961249113083 } }, "else": { "operation": "boost", "score": -0.02923152968287468 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.04420216754078865 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.343011736869812 }, "else": { "operation": "boost", "score": 0.18959665298461914 } }, "else": { "operation": "boost", "score": -0.07183479517698288 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06515216082334518 }, "else": { "operation": "boost", "score": -0.019348153844475746 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0972222238779068, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.11022694408893585 }, "else": { "operation": "boost", "score": -0.07490687817335129 } }, "else": { "operation": "boost", "score": 0.08922728151082993 } }, "else": { "operation": "boost", "score": 0.0032811793498694897 } }, "else": { "operation": "boost", "score": 0.013076757080852985 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10049468278884888 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.13863855600357056 }, "else": { "operation": "boost", "score": 0.12042906880378723 } } }, "else": { "operation": "boost", "score": 0.08662862330675125 } }, "else": { "operation": "boost", "score": 0.09269659966230392 } }, "else": { "operation": "boost", "score": 0.1721367985010147 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7333333492279053, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.10142102092504501 }, "else": { "operation": "boost", "score": 0.11821380257606506 } }, "else": { "operation": "boost", "score": 0.018635286018252373 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.02918752282857895 }, "else": { "operation": "boost", "score": 0.004340766463428736 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.027291329577565193 }, "else": { "operation": "boost", "score": -0.03288481757044792 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.018075324594974518 }, "else": { "operation": "boost", "score": -0.04537227377295494 } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.15324607491493225 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.18233714997768402 }, "else": { "operation": "boost", "score": 0.1079963743686676 } }, "else": { "operation": "boost", "score": 0.044744595885276794 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08989080786705017 }, "else": { "operation": "boost", "score": 0.02901962585747242 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0963413342833519 }, "else": { "operation": "boost", "score": -0.07637607306241989 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06281501054763794, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.13021452724933624 }, "else": { "operation": "boost", "score": 0.032845206558704376 } }, "else": { "operation": "boost", "score": -0.1498962640762329 } } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": 0.08550523966550827 }, "else": { "operation": "boost", "score": -0.09205379337072372 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10161993652582169 }, "else": { "operation": "boost", "score": 0.12728609144687653 } } } } } }, "else": { "operation": "boost", "score": 0.0013991851592436433 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.000350393820554018 }, "else": { "operation": "boost", "score": -0.001738725695759058 } } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11888.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12705.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.008934392593801022 }, "else": { "operation": "boost", "score": -0.4729049801826477 } }, "else": { "operation": "boost", "score": 0.023091726005077362 } }, "else": { "operation": "boost", "score": 0.08210089057683945 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11365.5, "then": { "operation": "boost", "score": -0.17898491024971008 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9533.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.08063910901546478 }, "else": { "operation": "boost", "score": -0.07413031160831451 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6280.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.013501114211976528 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.0003054952248930931 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.09075348824262619 }, "else": { "operation": "boost", "score": -0.8494770526885986 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7475.5, "then": { "operation": "boost", "score": -0.013466978445649147 }, "else": { "operation": "boost", "score": -0.12576347589492798 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.002546543488278985 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 360.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -1.3913437128067017 }, "else": { "operation": "boost", "score": 0.057604409754276276 } }, "else": { "operation": "boost", "score": -0.05978022888302803 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 133.0, "then": { "operation": "boost", "score": -0.0636514276266098 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87.0, "then": { "operation": "boost", "score": -0.9167431592941284 }, "else": { "operation": "boost", "score": -0.15481504797935486 } } } }, "else": { "operation": "boost", "score": 0.11499452590942383 } } }, "else": { "operation": "boost", "score": -0.018223131075501442 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "boost", "score": -0.03555060923099518 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10039597749710083 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.09185341745615005 }, "else": { "operation": "boost", "score": 0.11180734634399414 } } }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04729058966040611 }, "else": { "operation": "boost", "score": 0.018983056768774986 } } } }, "else": { "operation": "boost", "score": 0.004501497372984886 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Namespace" ], "then": { "operation": "boost", "score": 0.02522488869726658 }, "else": { "operation": "boost", "score": -0.0004893142031505704 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.004405850078910589 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 227.5, "then": { "operation": "boost", "score": 0.12644924223423004 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.006423818878829479 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.002420699456706643 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3741258978843689, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.04478763788938522 }, "else": { "operation": "boost", "score": 0.154534250497818 } }, "else": { "operation": "boost", "score": 0.014132020063698292 } }, "else": { "operation": "boost", "score": 0.11363521218299866 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7638888955116272, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10562597960233688 }, "else": { "operation": "boost", "score": -0.6604711413383484 } }, "else": { "operation": "boost", "score": -0.023198217153549194 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.027004782110452652 }, "else": { "operation": "boost", "score": -0.05957361310720444 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.12674468755722046 }, "else": { "operation": "boost", "score": -0.1171223521232605 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.05877493694424629 }, "else": { "operation": "boost", "score": 0.12201395630836487 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.10546255111694336 }, "else": { "operation": "boost", "score": 0.08227811008691788 } } }, "else": { "operation": "boost", "score": 0.014890623278915882 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07073865830898285 }, "else": { "operation": "boost", "score": -0.009399844333529472 } }, "else": { "operation": "boost", "score": -0.034934330731630325 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.09551811218261719 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.0872441902756691 }, "else": { "operation": "boost", "score": -0.027757516130805016 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.002254464663565159 }, "else": { "operation": "boost", "score": 0.10677506029605865 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.10074304789304733 }, "else": { "operation": "boost", "score": -0.03932157903909683 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.3010164797306061 }, "else": { "operation": "boost", "score": -0.04600876569747925 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.0, "then": { "operation": "boost", "score": -0.20329806208610535 }, "else": { "operation": "boost", "score": 0.07404352724552155 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.09638061374425888 }, "else": { "operation": "boost", "score": 0.11622750759124756 } }, "else": { "operation": "boost", "score": 0.061517708003520966 } }, "else": { "operation": "boost", "score": -0.4130903482437134 } }, "else": { "operation": "boost", "score": -0.09018781781196594 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.024411844089627266 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.0, "then": { "operation": "boost", "score": -0.38271281123161316 }, "else": { "operation": "boost", "score": -0.10219011455774307 } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.12003768235445023 }, "else": { "operation": "boost", "score": 0.07624708116054535 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": 0.0660373866558075 }, "else": { "operation": "boost", "score": 0.11363115906715393 } }, "else": { "operation": "boost", "score": 0.05441557243466377 } }, "else": { "operation": "boost", "score": 0.028153197839856148 } }, "else": { "operation": "boost", "score": -0.06748653948307037 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.02722638100385666 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.012526094913482666 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "boost", "score": -0.3523814082145691 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.14594118297100067 }, "else": { "operation": "boost", "score": 0.0034146159887313843 } }, "else": { "operation": "boost", "score": -0.03628644347190857 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.048972852528095245 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": -0.46276402473449707 }, "else": { "operation": "boost", "score": -0.0649782046675682 } } } }, "else": { "operation": "boost", "score": -0.007840631529688835 } } } } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.01315837912261486 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10752640664577484 }, "else": { "operation": "boost", "score": 0.022014964371919632 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.07853154838085175 }, "else": { "operation": "boost", "score": -0.03438090160489082 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "boost", "score": -0.058565352112054825 }, "else": { "operation": "boost", "score": -0.6056565642356873 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.5, "then": { "operation": "boost", "score": 0.17632804811000824 }, "else": { "operation": "boost", "score": -0.018036585301160812 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.10196654498577118 }, "else": { "operation": "boost", "score": 0.04858868941664696 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 112.5, "then": { "operation": "boost", "score": -0.7036119103431702 }, "else": { "operation": "boost", "score": -7.564284896943718e-05 } }, "else": { "operation": "boost", "score": -4.726995944976807 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.06442447006702423 }, "else": { "operation": "boost", "score": 0.12761035561561584 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.02763739600777626 }, "else": { "operation": "boost", "score": -0.26597318053245544 } } } } }, "else": { "operation": "boost", "score": 0.0019255742663517594 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.002029197756201029 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.05871185287833214 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13752175867557526 }, "else": { "operation": "boost", "score": -0.10170809179544449 } } } } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 135496.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08601552993059158 }, "else": { "operation": "boost", "score": -0.45747697353363037 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.018967455253005028 }, "else": { "operation": "boost", "score": 0.10653454065322876 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.02291194163262844 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.6179695725440979 }, "else": { "operation": "boost", "score": -0.1661480814218521 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.11256316304206848 }, "else": { "operation": "boost", "score": 0.08299461007118225 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8415.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.02521541714668274 }, "else": { "operation": "boost", "score": 0.19941692054271698 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09761904925107956, "then": { "operation": "boost", "score": 0.027928262948989868 }, "else": { "operation": "boost", "score": 0.08057219535112381 } }, "else": { "operation": "boost", "score": -0.013276657089591026 } } } } } }, "else": { "operation": "boost", "score": -0.00014576248941011727 } }, { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0033338316716253757 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 600.5, "then": { "operation": "boost", "score": 0.00767519511282444 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.005476553924381733 }, "else": { "operation": "boost", "score": 0.00014990216004662216 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01095727737993002 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.949999988079071, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.025113599374890327 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.04039640724658966 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.021191870793700218 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.13185147941112518 }, "else": { "operation": "boost", "score": 0.11623238027095795 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6396104097366333, "then": { "operation": "boost", "score": -0.03964105620980263 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.09535907953977585 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.022710874676704407 }, "else": { "operation": "boost", "score": 0.002910449169576168 } } } } } }, "else": { "operation": "boost", "score": -0.0021294753532856703 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3229166865348816, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.028723645955324173 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "boost", "score": 0.007968499325215816 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": -0.200082927942276 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12286292016506195 }, "else": { "operation": "boost", "score": 0.0752536803483963 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.10806982219219208 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.08284850418567657 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.006548721808940172 }, "else": { "operation": "boost", "score": -15.621244430541992 } } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.017544696107506752 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.0683710128068924 }, "else": { "operation": "boost", "score": -0.013599694706499577 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.18474891781806946 }, "else": { "operation": "boost", "score": 0.0853043869137764 } } } } }, "else": { "operation": "boost", "score": -0.005525926593691111 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": -0.7498225569725037 }, "else": { "operation": "boost", "score": -0.14842729270458221 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.10961715131998062 }, "else": { "operation": "boost", "score": 0.2964102327823639 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "boost", "score": -0.06780336052179337 }, "else": { "operation": "boost", "score": -0.6102394461631775 } }, "else": { "operation": "boost", "score": -0.0350937582552433 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8257575631141663, "then": { "operation": "boost", "score": -0.1939070075750351 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6306818127632141, "then": { "operation": "boost", "score": 0.000652398681268096 }, "else": { "operation": "boost", "score": -0.07330796867609024 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.24231784045696259 }, "else": { "operation": "boost", "score": 0.049974311143159866 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.1167193055152893 }, "else": { "operation": "boost", "score": 0.14469920098781586 } }, "else": { "operation": "boost", "score": -0.6293841600418091 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.4502456784248352 }, "else": { "operation": "boost", "score": 0.06784401088953018 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.01606006920337677 }, "else": { "operation": "boost", "score": -0.3282831013202667 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12838992476463318 }, "else": { "operation": "boost", "score": 0.17067968845367432 } }, "else": { "operation": "boost", "score": -0.06094209849834442 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.005747743416577578 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.23885948956012726 }, "else": { "operation": "boost", "score": -0.0024991745594888926 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.061818379908800125 }, "else": { "operation": "boost", "score": 0.03521082177758217 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.27711865305900574 }, "else": { "operation": "boost", "score": 0.009307477623224258 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.026200823485851288 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.07511632889509201 }, "else": { "operation": "boost", "score": -0.0031122544314712286 } } } } } }, "else": { "operation": "boost", "score": 0.0022830406669527292 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3033088445663452, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": 0.038235854357481 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.34954750537872314, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3827838897705078, "then": { "operation": "boost", "score": 0.03177713602781296 }, "else": { "operation": "boost", "score": 0.10527556389570236 } }, "else": { "operation": "boost", "score": 0.08053376525640488 } }, "else": { "operation": "boost", "score": -0.06594208627939224 } } }, "else": { "operation": "boost", "score": -0.12753742933273315 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1113523542881012 }, "else": { "operation": "boost", "score": -0.010429256595671177 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016284707933664322 }, "else": { "operation": "boost", "score": 0.046848364174366 } }, "else": { "operation": "boost", "score": 0.0038611043710261583 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.003449592273682356 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06303153187036514 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": -0.3388873338699341 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.10130243003368378 }, "else": { "operation": "boost", "score": -0.07808836549520493 } } } } }, "else": { "operation": "boost", "score": 0.02035270631313324 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.10966351628303528 }, "else": { "operation": "boost", "score": 0.04811601713299751 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.2572380602359772 }, "else": { "operation": "boost", "score": 0.15784955024719238 } }, "else": { "operation": "boost", "score": 0.06779975444078445 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.0036645028740167618 }, "else": { "operation": "boost", "score": -0.2936517894268036 } }, "else": { "operation": "boost", "score": -0.015425116755068302 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118.5, "then": { "operation": "boost", "score": 0.12071310728788376 }, "else": { "operation": "boost", "score": 0.03644314408302307 } } }, "else": { "operation": "boost", "score": 0.017300115898251534 } } } }, "else": { "operation": "boost", "score": -0.0031096667516976595 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.003558429656550288 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10181710124015808 }, "else": { "operation": "boost", "score": 0.09171529859304428 } }, "else": { "operation": "boost", "score": -0.04231654852628708 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09937754273414612 }, "else": { "operation": "boost", "score": -0.10351768136024475 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5192307829856873, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5419580936431885, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1626499891281128 }, "else": { "operation": "boost", "score": 0.11563431471586227 } }, "else": { "operation": "boost", "score": 0.147891104221344 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "boost", "score": 0.04380355030298233 }, "else": { "operation": "boost", "score": 0.079181969165802 } } }, "else": { "operation": "boost", "score": 0.002772320993244648 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.00822471920400858 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.049432575702667236 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.085516057908535 }, "else": { "operation": "boost", "score": -0.2281983494758606 } }, "else": { "operation": "boost", "score": 0.1195487454533577 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.12135501205921173 }, "else": { "operation": "boost", "score": 0.06299892067909241 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07702288031578064 }, "else": { "operation": "boost", "score": 0.01602390967309475 } } }, "else": { "operation": "boost", "score": 0.059144001454114914 } } } }, "else": { "operation": "boost", "score": -0.0578555166721344 } }, "else": { "operation": "boost", "score": -0.014020880684256554 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04014884680509567 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10818713903427124, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43.5, "then": { "operation": "boost", "score": -0.013702026568353176 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": 0.12001483887434006 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.09311527758836746 }, "else": { "operation": "boost", "score": -0.06359412521123886 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.12551249563694 }, "else": { "operation": "boost", "score": -0.023392200469970703 } } }, "else": { "operation": "boost", "score": -0.004152842331677675 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.2856179475784302 }, "else": { "operation": "boost", "score": -0.05166150629520416 } } } } } } } } }, "else": { "operation": "boost", "score": -0.00021744145487900823 } } } }, "else": { "operation": "boost", "score": -0.0004076477198395878 } }, { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.14079271256923676 }, "else": { "operation": "boost", "score": 0.1104288175702095 } }, "else": { "operation": "boost", "score": -0.26014411449432373 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.08640711009502411 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.010657158680260181 }, "else": { "operation": "boost", "score": -0.1118631586432457 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.15658017992973328 }, "else": { "operation": "boost", "score": -0.39793476462364197 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11191517114639282 }, "else": { "operation": "boost", "score": 0.30197542905807495 } } }, "else": { "operation": "boost", "score": -0.02009790949523449 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.16996966302394867 }, "else": { "operation": "boost", "score": 0.023189377039670944 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.3310299515724182 }, "else": { "operation": "boost", "score": -0.11191446334123611 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.02268357016146183 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.05668352171778679 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.11813176423311234 }, "else": { "operation": "boost", "score": -0.1941245049238205 } } }, "else": { "operation": "boost", "score": -0.1212640330195427 } }, "else": { "operation": "boost", "score": -0.0867091491818428 } } }, "else": { "operation": "boost", "score": -0.018739651888608932 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.003528944216668606 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.006676039658486843 }, "else": { "operation": "boost", "score": -0.00025159845245070755 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05255052074790001 }, "else": { "operation": "boost", "score": -0.024388806894421577 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 648.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07493621855974197, "then": { "operation": "boost", "score": 0.058372508734464645 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2314.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2591.0, "then": { "operation": "boost", "score": -0.06663410365581512 }, "else": { "operation": "boost", "score": 0.12172283232212067 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.5773042440414429 }, "else": { "operation": "boost", "score": -0.18739281594753265 } }, "else": { "operation": "boost", "score": 0.07307474315166473 } }, "else": { "operation": "boost", "score": -0.27136701345443726 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 369.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 396.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 495.5, "then": { "operation": "boost", "score": 0.1023239865899086 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 446.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10724063217639923 }, "else": { "operation": "boost", "score": -0.571541965007782 } }, "else": { "operation": "boost", "score": 0.06841817498207092 } } }, "else": { "operation": "boost", "score": 0.11186657845973969 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 357.5, "then": { "operation": "boost", "score": -0.3698512315750122 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "boost", "score": -0.47297433018684387 }, "else": { "operation": "boost", "score": 0.06468790024518967 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1594158411026001 }, "else": { "operation": "boost", "score": 0.08492524921894073 } }, "else": { "operation": "boost", "score": 0.020636023953557014 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "boost", "score": -0.08285515755414963 }, "else": { "operation": "boost", "score": -0.2712676227092743 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.005254830699414015 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.47727274894714355, "then": { "operation": "boost", "score": 0.001955318031832576 }, "else": { "operation": "boost", "score": 0.12992693483829498 } }, "else": { "operation": "boost", "score": 0.14884710311889648 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.017589787021279335 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.007815854623913765 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.07805849611759186 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.12540237605571747 }, "else": { "operation": "boost", "score": 0.1172608733177185 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.03814122453331947 }, "else": { "operation": "boost", "score": -0.3134682774543762 } }, "else": { "operation": "boost", "score": -0.07878445833921432 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.047449130564928055 }, "else": { "operation": "boost", "score": 0.14271409809589386 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": 0.040356799960136414 }, "else": { "operation": "boost", "score": -0.12367759644985199 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.15803831815719604 }, "else": { "operation": "boost", "score": 0.12354511767625809 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.39979252219200134 }, "else": { "operation": "boost", "score": -0.08949190378189087 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1163838654756546 }, "else": { "operation": "boost", "score": -0.17204231023788452 } }, "else": { "operation": "boost", "score": 0.10775469988584518 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.23428019881248474 }, "else": { "operation": "boost", "score": -0.03648418188095093 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.1385016143321991 }, "else": { "operation": "boost", "score": 0.024469653144478798 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.15385660529136658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.04292033240199089 }, "else": { "operation": "boost", "score": 0.11204966902732849 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04385901987552643 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.0, "then": { "operation": "boost", "score": -0.03412652760744095 }, "else": { "operation": "boost", "score": 0.09757173806428909 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.11757905036211014 }, "else": { "operation": "boost", "score": 0.10205813497304916 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.6752322912216187 }, "else": { "operation": "boost", "score": -0.13085930049419403 } }, "else": { "operation": "boost", "score": -0.08085771650075912 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.018315142020583153 }, "else": { "operation": "boost", "score": 0.09391529113054276 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.007340544369071722 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": -0.905667245388031 }, "else": { "operation": "boost", "score": -0.18206727504730225 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.379807710647583, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.05430695042014122 }, "else": { "operation": "boost", "score": 0.08072561025619507 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.020027251914143562 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "boost", "score": 0.15379808843135834 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": -0.28311285376548767 }, "else": { "operation": "boost", "score": -0.05833187699317932 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.09189345687627792 }, "else": { "operation": "boost", "score": -0.0014984289882704616 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07591983675956726 }, "else": { "operation": "boost", "score": -0.13651078939437866 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.3862011134624481 }, "else": { "operation": "boost", "score": -0.15031908452510834 } }, "else": { "operation": "boost", "score": -0.20240607857704163 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1733531355857849 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.48828479647636414 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11069735884666443 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13895483314990997 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.005608633626252413 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.32472899556159973 }, "else": { "operation": "boost", "score": -0.7463006377220154 } } } } } }, "else": { "operation": "boost", "score": -0.023689284920692444 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.010523960925638676 }, "else": { "operation": "boost", "score": 0.12197326868772507 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": 0.1059802994132042 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2750000059604645, "then": { "operation": "boost", "score": -0.15690121054649353 }, "else": { "operation": "boost", "score": -0.07496210187673569 } } } }, "else": { "operation": "boost", "score": -0.01707945391535759 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.021771930158138275 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.1284501850605011 }, "else": { "operation": "boost", "score": 0.184225395321846 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.08678064495325089 }, "else": { "operation": "boost", "score": -0.04159202054142952 } } }, "else": { "operation": "boost", "score": 0.004338522907346487 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": -0.5815138220787048 }, "else": { "operation": "boost", "score": -0.1725580245256424 } }, "else": { "operation": "boost", "score": 0.005571874789893627 } }, "else": { "operation": "boost", "score": 0.00931217148900032 } } } } } } } } }, "else": { "operation": "boost", "score": -5.885892460355535e-05 } } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03637566417455673, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Namespace", "Operator", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": -0.003420937340706587 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.09366082400083542 }, "else": { "operation": "boost", "score": 0.1354462057352066 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.015606977045536041 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.13971373438835144 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.12919671833515167 }, "else": { "operation": "boost", "score": 0.3541596531867981 } }, "else": { "operation": "boost", "score": -0.12609587609767914 } }, "else": { "operation": "boost", "score": -0.1420121192932129 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03145745024085045 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.09418672323226929 }, "else": { "operation": "boost", "score": 0.15049293637275696 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.13529445230960846 }, "else": { "operation": "boost", "score": -0.12501634657382965 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.1225099191069603 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.12010353058576584 }, "else": { "operation": "boost", "score": 0.13132597506046295 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.038659416139125824 }, "else": { "operation": "boost", "score": -0.28405359387397766 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2089.0, "then": { "operation": "boost", "score": -0.12366662919521332 }, "else": { "operation": "boost", "score": 0.03374401852488518 } } } }, "else": { "operation": "boost", "score": 0.012743436731398106 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47.0, "then": { "operation": "boost", "score": -0.45892080664634705 }, "else": { "operation": "boost", "score": 0.04986034706234932 } }, "else": { "operation": "boost", "score": 0.10190503299236298 } }, "else": { "operation": "boost", "score": -0.23325388133525848 } }, "else": { "operation": "boost", "score": -0.3678254783153534 } } } } }, "else": { "operation": "boost", "score": -0.021763021126389503 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10485170781612396 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.025716962292790413 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.23033185303211212 }, "else": { "operation": "boost", "score": -0.030539153143763542 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.38492146134376526 }, "else": { "operation": "boost", "score": 0.13191404938697815 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.1355130523443222 }, "else": { "operation": "boost", "score": 0.10161642730236053 } } }, "else": { "operation": "boost", "score": 0.050497427582740784 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.099618099629879 }, "else": { "operation": "boost", "score": 0.055220700800418854 } }, "else": { "operation": "boost", "score": -0.018641510978341103 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1374674141407013 }, "else": { "operation": "boost", "score": -0.2607700824737549 } }, "else": { "operation": "boost", "score": 0.1734626293182373 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.11707256734371185 }, "else": { "operation": "boost", "score": 0.06515488773584366 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.19972550868988037 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.010942035354673862 }, "else": { "operation": "boost", "score": 0.0658605620265007 } } }, "else": { "operation": "boost", "score": -0.12379114329814911 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 4.898026943206787 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": 0.3958979547023773 }, "else": { "operation": "boost", "score": -0.10308888554573059 } }, "else": { "operation": "boost", "score": 1.4179489612579346 } }, "else": { "operation": "boost", "score": -0.10111163556575775 } }, "else": { "operation": "boost", "score": -0.009403270669281483 } }, "else": { "operation": "boost", "score": 0.1291501373052597 } } }, "else": { "operation": "boost", "score": -0.004261022433638573 } } }, "else": { "operation": "boost", "score": -0.007576953154057264 } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2666666805744171, "then": { "operation": "boost", "score": 0.09278362989425659 }, "else": { "operation": "boost", "score": 0.5039477348327637 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10302132368087769 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.04070572927594185 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06831046938896179 }, "else": { "operation": "boost", "score": -0.40767979621887207 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27110.5, "then": { "operation": "boost", "score": 0.11164231598377228 }, "else": { "operation": "boost", "score": -1.2503443956375122 } }, "else": { "operation": "boost", "score": -0.028642170131206512 } } }, "else": { "operation": "boost", "score": 0.03282612934708595 } } }, "else": { "operation": "boost", "score": -0.08387959748506546 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": 0.11431077867746353 }, "else": { "operation": "boost", "score": 0.05303077772259712 } }, "else": { "operation": "boost", "score": -0.16483858227729797 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14206397533416748 }, "else": { "operation": "boost", "score": 0.06522573530673981 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.03881407156586647 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5889.5, "then": { "operation": "boost", "score": -0.0327271968126297 }, "else": { "operation": "boost", "score": 0.08139026910066605 } }, "else": { "operation": "boost", "score": 0.13331516087055206 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11537165194749832 }, "else": { "operation": "boost", "score": 0.02081494778394699 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11420439183712006 }, "else": { "operation": "boost", "score": -0.24566766619682312 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.030561890453100204 }, "else": { "operation": "boost", "score": -0.3345744013786316 } } } }, "else": { "operation": "boost", "score": -0.12271155416965485 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.009028811939060688 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.046732090413570404 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": -0.6841458678245544 }, "else": { "operation": "boost", "score": 0.003673472674563527 } }, "else": { "operation": "boost", "score": -0.0603073351085186 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.020617762580513954 }, "else": { "operation": "boost", "score": -0.0558333694934845 } }, "else": { "operation": "boost", "score": -0.004573109559714794 } }, "else": { "operation": "boost", "score": -0.5126512050628662 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.018847787752747536 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20510.0, "then": { "operation": "boost", "score": -0.16394731402397156 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.1013222262263298 }, "else": { "operation": "boost", "score": 0.0708022192120552 } } }, "else": { "operation": "boost", "score": -0.12447784096002579 } } } } } } }, "else": { "operation": "boost", "score": -0.01057424582540989 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.02474166825413704 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5833333730697632, "then": { "operation": "boost", "score": 0.13135065138339996 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.031145166605710983 }, "else": { "operation": "boost", "score": 0.11618729680776596 } }, "else": { "operation": "boost", "score": -0.6646227836608887 } }, "else": { "operation": "boost", "score": -0.07685066759586334 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.26153475046157837 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": 0.10369322448968887 }, "else": { "operation": "boost", "score": 0.08416080474853516 } } }, "else": { "operation": "boost", "score": -0.08282847702503204 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06944242864847183 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.3330828845500946 }, "else": { "operation": "boost", "score": 0.211892768740654 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": -0.6412124037742615 }, "else": { "operation": "boost", "score": -0.059334490448236465 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.08216653764247894 }, "else": { "operation": "boost", "score": -0.030637508258223534 } } } } } } } } }, "else": { "operation": "boost", "score": -0.11547267436981201 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.0013969243736937642 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.08460716158151627 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.16287311911582947 }, "else": { "operation": "boost", "score": -0.037009622901678085 } } }, "else": { "operation": "boost", "score": 0.033659473061561584 } } }, "else": { "operation": "boost", "score": -0.0008188149658963084 } } } }, "else": { "operation": "boost", "score": 0.0018717256607487798 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12744779884815216 }, "else": { "operation": "boost", "score": -0.026753833517432213 } } }, "else": { "operation": "boost", "score": -0.0003313148918095976 } }, { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.0010340693406760693 }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.00977100245654583 }, "else": { "operation": "boost", "score": 0.040800515562295914 } }, "else": { "operation": "boost", "score": 0.004357234574854374 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19049.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20297.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 107021.0, "then": { "operation": "boost", "score": 0.05921294167637825 }, "else": { "operation": "boost", "score": -0.14153078198432922 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.05231042206287384 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.07977164536714554 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.10764674097299576 }, "else": { "operation": "boost", "score": 0.15929162502288818 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 126.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 128.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 348.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.09458060562610626 }, "else": { "operation": "boost", "score": 0.15304826200008392 } }, "else": { "operation": "boost", "score": -0.28047776222229004 } }, "else": { "operation": "boost", "score": 0.15970081090927124 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 137.5, "then": { "operation": "boost", "score": -0.09669370204210281 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.19814862310886383 }, "else": { "operation": "boost", "score": 0.05207948014140129 } } } }, "else": { "operation": "boost", "score": 0.1859825700521469 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6190476417541504, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.0, "then": { "operation": "boost", "score": -0.11422621458768845 }, "else": { "operation": "boost", "score": 0.275857150554657 } }, "else": { "operation": "boost", "score": -0.23085732758045197 } }, "else": { "operation": "boost", "score": -0.0013455427251756191 } }, "else": { "operation": "boost", "score": 0.07553237676620483 } } }, "else": { "operation": "boost", "score": 0.03222213312983513 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "boost", "score": 0.00794920139014721 }, "else": { "operation": "boost", "score": -0.019234564155340195 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.014152809046208858 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.061390869319438934 }, "else": { "operation": "boost", "score": 0.1164303570985794 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 29.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.09634160995483398 }, "else": { "operation": "boost", "score": 0.14888045191764832 } }, "else": { "operation": "boost", "score": -0.1190553605556488 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 367.5, "then": { "operation": "boost", "score": -0.3707546591758728 }, "else": { "operation": "boost", "score": 0.013386226259171963 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": 0.15622195601463318 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.17791233956813812 }, "else": { "operation": "boost", "score": 0.1444680094718933 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": -0.18229830265045166 }, "else": { "operation": "boost", "score": -0.032402005046606064 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.05959658324718475 }, "else": { "operation": "boost", "score": -0.14156252145767212 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "boost", "score": -0.048192135989665985 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.11069852113723755 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.046460844576358795 }, "else": { "operation": "boost", "score": 0.12190036475658417 } }, "else": { "operation": "boost", "score": 0.056120824068784714 } }, "else": { "operation": "boost", "score": -0.06823164969682693 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.13155825436115265 }, "else": { "operation": "boost", "score": 0.07138953357934952 } }, "else": { "operation": "boost", "score": -0.04047468304634094 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "boost", "score": 0.006769618950784206 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.08967070281505585 }, "else": { "operation": "boost", "score": 0.13041600584983826 } } }, "else": { "operation": "boost", "score": -0.051516514271497726 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.04363810643553734 }, "else": { "operation": "boost", "score": -0.021265344694256783 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91.0, "then": { "operation": "boost", "score": -0.03945392742753029 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 79.0, "then": { "operation": "boost", "score": 0.11617469042539597 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61.5, "then": { "operation": "boost", "score": -0.010470082983374596 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.5, "then": { "operation": "boost", "score": 0.15850205719470978 }, "else": { "operation": "boost", "score": 0.08075249940156937 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.06456397473812103 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.00441723270341754 }, "else": { "operation": "boost", "score": 0.13430672883987427 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.08945433050394058 }, "else": { "operation": "boost", "score": 0.0028666530270129442 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": -0.11149422079324722 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.013722638599574566 }, "else": { "operation": "boost", "score": -0.26654210686683655 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.3979248106479645 }, "else": { "operation": "boost", "score": -0.10154261440038681 } }, "else": { "operation": "boost", "score": 0.02741674892604351 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.004186372272670269 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123410.5, "then": { "operation": "boost", "score": -3.3753154277801514 }, "else": { "operation": "boost", "score": -0.05324548855423927 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10046844929456711 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.06938831508159637 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06917565315961838 }, "else": { "operation": "boost", "score": -0.027119427919387817 } }, "else": { "operation": "boost", "score": -0.2950431704521179 } } } }, "else": { "operation": "boost", "score": -0.0029395839665085077 } } }, "else": { "operation": "boost", "score": 0.013540792278945446 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 318.0, "then": { "operation": "boost", "score": -0.10159600526094437 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 246.5, "then": { "operation": "boost", "score": 0.27397847175598145 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 110.5, "then": { "operation": "boost", "score": -0.13872887194156647 }, "else": { "operation": "boost", "score": 0.17676201462745667 } } } }, "else": { "operation": "boost", "score": 0.037087179720401764 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23737.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04237362742424011 }, "else": { "operation": "boost", "score": 0.0771266520023346 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.11901114881038666 }, "else": { "operation": "boost", "score": -0.015197151340544224 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": 0.14960525929927826 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.1432460993528366 }, "else": { "operation": "boost", "score": 0.23810695111751556 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.40806710720062256 }, "else": { "operation": "boost", "score": 0.15369518101215363 } } }, "else": { "operation": "boost", "score": 0.08337413519620895 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.010039162822067738 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 270.0, "then": { "operation": "boost", "score": -0.026091165840625763 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 103.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 178.5, "then": { "operation": "boost", "score": 0.09694814682006836 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 166.5, "then": { "operation": "boost", "score": 0.18508172035217285 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 120.5, "then": { "operation": "boost", "score": 0.04315142706036568 }, "else": { "operation": "boost", "score": 0.1424558013677597 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84.0, "then": { "operation": "boost", "score": -0.34897729754447937 }, "else": { "operation": "boost", "score": 0.09038704633712769 } } } }, "else": { "operation": "boost", "score": 0.14779676496982574 } }, "else": { "operation": "boost", "score": 0.008044593967497349 } } }, "else": { "operation": "boost", "score": -0.1941809058189392 } } } } }, "else": { "operation": "boost", "score": -0.0717831626534462 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 739.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3455.5, "then": { "operation": "boost", "score": 0.09185352176427841 }, "else": { "operation": "boost", "score": 0.147108793258667 } }, "else": { "operation": "boost", "score": -0.10538287460803986 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.22794502973556519 }, "else": { "operation": "boost", "score": 0.040550604462623596 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 302.0, "then": { "operation": "boost", "score": -0.469855397939682 }, "else": { "operation": "boost", "score": -0.0354030504822731 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.06890193372964859 }, "else": { "operation": "boost", "score": 0.10539340227842331 } } }, "else": { "operation": "boost", "score": -0.01832405850291252 } } }, "else": { "operation": "boost", "score": 0.006511671468615532 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148.5, "then": { "operation": "boost", "score": -0.017326753586530685 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 6.5, "then": { "operation": "boost", "score": 0.1283216029405594 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.11361591517925262 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.09793592244386673 }, "else": { "operation": "boost", "score": -0.2154294103384018 } } }, "else": { "operation": "boost", "score": -0.0035732234828174114 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0005623570177704096 }, "else": { "operation": "boost", "score": -0.002394032897427678 } } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012828750535845757 }, "else": { "operation": "boost", "score": 0.004616008140146732 } }, "else": { "operation": "boost", "score": 0.0003361884446348995 } }, "else": { "operation": "boost", "score": 0.0004818516317754984 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0009564811480231583 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 368430.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.12645940482616425 }, "else": { "operation": "boost", "score": 0.05943805351853371 } }, "else": { "operation": "boost", "score": 0.030491255223751068 } }, "else": { "operation": "boost", "score": 0.009110996499657631 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.026018181815743446 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": -0.030940482392907143 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 298482.5, "then": { "operation": "boost", "score": -0.13942420482635498 }, "else": { "operation": "boost", "score": 0.08556574583053589 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0010097638005390763 }, "else": { "operation": "boost", "score": 0.01657867804169655 } } }, "else": { "operation": "boost", "score": -0.07767973840236664 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.042297616600990295 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.13076448440551758 }, "else": { "operation": "boost", "score": -0.031062370166182518 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.0440199039876461 }, "else": { "operation": "boost", "score": -0.01591833308339119 } } } }, "else": { "operation": "boost", "score": -0.05342138186097145 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.005422063637524843 }, "else": { "operation": "boost", "score": 0.08720025420188904 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.022727273404598236, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.011408981867134571 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.007429703138768673 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": -0.02117789350450039 }, "else": { "operation": "boost", "score": -0.06946586072444916 } } } }, "else": { "operation": "boost", "score": 0.055481743067502975 } }, "else": { "operation": "boost", "score": -0.0341188870370388 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.007502318359911442 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16.5, "then": { "operation": "boost", "score": -0.0282040573656559 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": 0.24309226870536804 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.012593698687851429 }, "else": { "operation": "boost", "score": 0.07585714012384415 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0883827805519104 }, "else": { "operation": "boost", "score": -0.05007272958755493 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.12806519865989685 }, "else": { "operation": "boost", "score": 0.06419746577739716 } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.030382169410586357 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.06695858389139175 }, "else": { "operation": "boost", "score": 0.4228033721446991 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.003360023256391287 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0707661435008049 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.08905031532049179 }, "else": { "operation": "boost", "score": -0.10222882032394409 } } } }, "else": { "operation": "boost", "score": 0.0357246957719326 } } } } } } }, "else": { "operation": "boost", "score": -0.007550030946731567 } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.02287282980978489 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006256320513784885 }, "else": { "operation": "boost", "score": 0.08241478353738785 } } }, "else": { "operation": "boost", "score": 0.007937203161418438 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.032826680690050125 }, "else": { "operation": "boost", "score": -0.05726964771747589 } } }, "else": { "operation": "boost", "score": 0.0028794892132282257 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.024177493527531624 }, "else": { "operation": "boost", "score": -0.20260243117809296 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1673.5, "then": { "operation": "boost", "score": 0.030293811112642288 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.1170412003993988 }, "else": { "operation": "boost", "score": 0.066253162920475 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.04545454680919647, "then": { "operation": "boost", "score": 0.1144193783402443 }, "else": { "operation": "boost", "score": 0.06230400502681732 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 99.5, "then": { "operation": "boost", "score": 0.045506253838539124 }, "else": { "operation": "boost", "score": 0.12327919900417328 } }, "else": { "operation": "boost", "score": 0.0033772673923522234 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.19981545209884644 }, "else": { "operation": "boost", "score": 0.1718015968799591 } }, "else": { "operation": "boost", "score": 0.018716897815465927 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08808711171150208 }, "else": { "operation": "boost", "score": -0.000827132782433182 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.009427818469703197 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "boost", "score": 0.18714606761932373 }, "else": { "operation": "boost", "score": -0.0780431479215622 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": -0.028027920052409172 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10200362652540207 }, "else": { "operation": "boost", "score": 0.1365889608860016 } } } }, "else": { "operation": "boost", "score": -0.008912676945328712 } }, "else": { "operation": "boost", "score": 0.04449954628944397 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.04592491686344147 }, "else": { "operation": "boost", "score": -0.0073208617977797985 } }, "else": { "operation": "boost", "score": -0.01722591556608677 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273295.0, "then": { "operation": "boost", "score": -0.1109352707862854 }, "else": { "operation": "boost", "score": -0.016672169789671898 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00461661396548152 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.020973864942789078 }, "else": { "operation": "boost", "score": 0.001360265421681106 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21360.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04475614055991173 }, "else": { "operation": "boost", "score": -0.035499271005392075 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.027468791231513023 }, "else": { "operation": "boost", "score": -2.294180393218994 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0133458711206913 }, "else": { "operation": "boost", "score": 0.14439883828163147 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.11719121783971786 }, "else": { "operation": "boost", "score": 0.09686118364334106 } } } }, "else": { "operation": "boost", "score": -0.21319101750850677 } }, "else": { "operation": "boost", "score": 0.023954574018716812 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.056397803127765656 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.057460684329271317 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1876213252544403 }, "else": { "operation": "boost", "score": -0.0003596088499762118 } } }, "else": { "operation": "boost", "score": 0.021241411566734314 } }, "else": { "operation": "boost", "score": 0.01759721338748932 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18069.5, "then": { "operation": "boost", "score": 0.10876457393169403 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.003373744897544384 }, "else": { "operation": "boost", "score": 0.054462894797325134 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1104.5, "then": { "operation": "boost", "score": -0.3149561285972595 }, "else": { "operation": "boost", "score": 0.05086645111441612 } }, "else": { "operation": "boost", "score": -0.1375562697649002 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0220491960644722 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.014791904017329216 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.027783378958702087 }, "else": { "operation": "boost", "score": -0.09127666056156158 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.01793511211872101 }, "else": { "operation": "boost", "score": -0.15112349390983582 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.20340481400489807 }, "else": { "operation": "boost", "score": 0.019239775836467743 } } } } } } }, "else": { "operation": "boost", "score": 0.011682243086397648 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.010286040604114532 }, "else": { "operation": "boost", "score": -0.05250777304172516 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.06528730690479279 }, "else": { "operation": "boost", "score": 0.010450853034853935 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.008050629869103432 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13260358572006226 }, "else": { "operation": "boost", "score": 0.00702510355040431 } }, "else": { "operation": "boost", "score": -0.0003372419159859419 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06971387565135956 }, "else": { "operation": "boost", "score": -0.019581977277994156 } } } } } } }, "else": { "operation": "boost", "score": -0.0009657945483922958 } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 14372.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15158.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15677.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16126.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16170.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0035041123628616333 }, "else": { "operation": "boost", "score": -0.009365526027977467 } }, "else": { "operation": "boost", "score": -0.1803659051656723 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07421792298555374 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.12430448085069656 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.09089646488428116 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": 0.1897999495267868 }, "else": { "operation": "boost", "score": -0.10057473182678223 } } } }, "else": { "operation": "boost", "score": -0.00017187716730404645 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15964.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0919816717505455, "then": { "operation": "boost", "score": 0.12129112333059311 }, "else": { "operation": "boost", "score": 0.1334044486284256 } }, "else": { "operation": "boost", "score": 0.10601187497377396 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15687.5, "then": { "operation": "boost", "score": 0.03594502434134483 }, "else": { "operation": "boost", "score": 0.07383687049150467 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.12934301793575287 }, "else": { "operation": "boost", "score": 0.02967831864953041 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15389.0, "then": { "operation": "boost", "score": -0.1088445857167244 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06888314336538315 }, "else": { "operation": "boost", "score": -0.02457386627793312 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.10803373903036118 }, "else": { "operation": "boost", "score": 0.10715392976999283 } }, "else": { "operation": "boost", "score": 0.05028427019715309 } }, "else": { "operation": "boost", "score": 0.03386608138680458 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03122262842953205 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.06047037988901138 }, "else": { "operation": "boost", "score": 0.1609697788953781 } }, "else": { "operation": "boost", "score": -0.3016008138656616 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14408.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "boost", "score": 0.0712692067027092 }, "else": { "operation": "boost", "score": -0.03505285084247589 } }, "else": { "operation": "boost", "score": 0.1280476599931717 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.11209006607532501 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14599.5, "then": { "operation": "boost", "score": -0.039773374795913696 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.10407532751560211 }, "else": { "operation": "boost", "score": 0.2082744836807251 } } } }, "else": { "operation": "boost", "score": -0.03525437042117119 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13666.0, "then": { "operation": "boost", "score": -0.05111447349190712 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12990.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.055144187062978745 }, "else": { "operation": "boost", "score": 0.032474979758262634 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.008417613804340363 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13599.5, "then": { "operation": "boost", "score": 0.03745046257972717 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 1.9708610773086548 }, "else": { "operation": "boost", "score": -0.10101968050003052 } } }, "else": { "operation": "boost", "score": 0.10190887004137039 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13130.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13159.0, "then": { "operation": "boost", "score": 0.014225159771740437 }, "else": { "operation": "boost", "score": -0.28136903047561646 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.081771120429039 }, "else": { "operation": "boost", "score": 0.1345331221818924 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.040442414581775665 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.2079620063304901 }, "else": { "operation": "boost", "score": 0.09331492334604263 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12720.5, "then": { "operation": "boost", "score": -0.08421371132135391 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12677.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.07777668535709381 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.14352937042713165 }, "else": { "operation": "boost", "score": 0.10847757011651993 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.30916252732276917 }, "else": { "operation": "boost", "score": 0.07442381978034973 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10403.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10966.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11101.5, "then": { "operation": "boost", "score": 0.025091471150517464 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.10045816749334335 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.00617872504517436 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.15885113179683685 }, "else": { "operation": "boost", "score": -0.03970901668071747 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09575733542442322 }, "else": { "operation": "boost", "score": 0.41146108508110046 } }, "else": { "operation": "boost", "score": -0.0017585627501830459 } } } } }, "else": { "operation": "boost", "score": -0.123187355697155 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11554.5, "then": { "operation": "boost", "score": 0.10338879376649857 }, "else": { "operation": "boost", "score": 0.13949079811573029 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11214.0, "then": { "operation": "boost", "score": 0.07426393777132034 }, "else": { "operation": "boost", "score": -0.23405736684799194 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": -0.10172607749700546 }, "else": { "operation": "boost", "score": 0.15392278134822845 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11855.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.12457503378391266 }, "else": { "operation": "boost", "score": 0.06811664253473282 } }, "else": { "operation": "boost", "score": -0.11815718561410904 } }, "else": { "operation": "boost", "score": -0.02136162295937538 } } }, "else": { "operation": "boost", "score": -0.020887773483991623 } } } }, "else": { "operation": "boost", "score": -0.05777952820062637 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10295.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.16839613020420074 }, "else": { "operation": "boost", "score": -0.10649281740188599 } }, "else": { "operation": "boost", "score": 0.11703060567378998 } }, "else": { "operation": "boost", "score": 0.015644898638129234 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7917.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9027.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10082.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10145.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11181073635816574 }, "else": { "operation": "boost", "score": 0.002714512636885047 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.13015812635421753 }, "else": { "operation": "boost", "score": 0.04344042018055916 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.09748747199773788 }, "else": { "operation": "boost", "score": 0.1271021068096161 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12151312828063965 }, "else": { "operation": "boost", "score": 0.16960546374320984 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9336.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.2852044403553009 }, "else": { "operation": "boost", "score": -0.015142427757382393 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06823670864105225 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10588637739419937 }, "else": { "operation": "boost", "score": 0.19883500039577484 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.15143461525440216 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9135.0, "then": { "operation": "boost", "score": 0.04004047438502312 }, "else": { "operation": "boost", "score": -0.1419990062713623 } } } } } }, "else": { "operation": "boost", "score": 0.00418293010443449 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0017099534161388874 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1710485816001892 }, "else": { "operation": "boost", "score": -0.06620621681213379 } }, "else": { "operation": "boost", "score": -0.10733892023563385 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8445.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8884.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8905.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.11765310913324356 }, "else": { "operation": "boost", "score": 1.150951862335205 } }, "else": { "operation": "boost", "score": 0.004603848792612553 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.11819352954626083 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.07472161948680878 }, "else": { "operation": "boost", "score": 0.1857932060956955 } } } }, "else": { "operation": "boost", "score": -0.04752618074417114 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8337.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8385.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8416.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.12094645202159882 }, "else": { "operation": "boost", "score": 0.1437850445508957 } }, "else": { "operation": "boost", "score": 0.08901721239089966 } }, "else": { "operation": "boost", "score": 0.17186565697193146 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": -0.10027886927127838 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.21822252869606018 }, "else": { "operation": "boost", "score": -0.1024213656783104 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.11511650681495667 }, "else": { "operation": "boost", "score": 0.09033394604921341 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8158.0, "then": { "operation": "boost", "score": -0.0014758111210539937 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7957.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.1471228003501892 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7960.0, "then": { "operation": "boost", "score": 0.1445208489894867 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.05188019201159477 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.12564416229724884 }, "else": { "operation": "boost", "score": 0.13776181638240814 } } } } }, "else": { "operation": "boost", "score": -0.05161791294813156 } }, "else": { "operation": "boost", "score": 0.008276225998997688 } } } } }, "else": { "operation": "boost", "score": 0.007331099361181259 } } }, "else": { "operation": "boost", "score": -7.641374395461753e-05 } } } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.003264110069721937 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FunctionScope" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3506873548030853 }, "else": { "operation": "boost", "score": 0.009375886991620064 } }, "else": { "operation": "boost", "score": 0.0002257624437334016 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "boost", "score": -0.17634665966033936 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "boost", "score": 0.12808075547218323 }, "else": { "operation": "boost", "score": 0.11073604226112366 } } }, "else": { "operation": "boost", "score": 0.020878272131085396 } }, "else": { "operation": "boost", "score": -0.0766461119055748 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.12044935673475266 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.008179529570043087 }, "else": { "operation": "boost", "score": 0.1313956379890442 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.09560336917638779 }, "else": { "operation": "boost", "score": 0.029003262519836426 } }, "else": { "operation": "boost", "score": 0.052604783326387405 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.07438682019710541 }, "else": { "operation": "boost", "score": -0.059588655829429626 } }, "else": { "operation": "boost", "score": -0.05298245698213577 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.12764589488506317 }, "else": { "operation": "boost", "score": -0.14714157581329346 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.05034945532679558 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.035476088523864746 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.06497775763273239 }, "else": { "operation": "boost", "score": 0.04472828283905983 } }, "else": { "operation": "boost", "score": -0.027605576440691948 } }, "else": { "operation": "boost", "score": -0.0351678766310215 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.021092142909765244 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.13774192333221436 }, "else": { "operation": "boost", "score": -0.03350822255015373 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.09965476393699646 }, "else": { "operation": "boost", "score": -0.02262839674949646 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.23443223536014557, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.008169997483491898 }, "else": { "operation": "boost", "score": 0.020421752706170082 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11997673660516739 }, "else": { "operation": "boost", "score": -0.15892240405082703 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.21207594871520996 }, "else": { "operation": "boost", "score": 0.08033367246389389 } }, "else": { "operation": "boost", "score": -0.02476922981441021 } }, "else": { "operation": "boost", "score": 0.005698629654943943 } }, "else": { "operation": "boost", "score": -0.0152140436694026 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.00921063032001257 }, "else": { "operation": "boost", "score": -0.16813194751739502 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1058914065361023 }, "else": { "operation": "boost", "score": 0.0866168811917305 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0454183854162693 }, "else": { "operation": "boost", "score": 0.06038025766611099 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13809524476528168, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.11376953125 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03167149797081947 }, "else": { "operation": "boost", "score": 0.003306516446173191 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.08627994358539581 }, "else": { "operation": "boost", "score": 0.05114275589585304 } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": 0.43572309613227844 }, "else": { "operation": "boost", "score": 0.004165898077189922 } } } } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.017237482592463493 }, "else": { "operation": "boost", "score": 0.013414701446890831 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004602217581123114 }, "else": { "operation": "boost", "score": -0.02389409951865673 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": -0.16780488193035126 }, "else": { "operation": "boost", "score": 0.023549752309918404 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.1309071183204651 }, "else": { "operation": "boost", "score": 0.044688090682029724 } } }, "else": { "operation": "boost", "score": -0.01528547890484333 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8452380895614624, "then": { "operation": "boost", "score": 0.0806574672460556 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06906836479902267 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "boost", "score": 0.014307617209851742 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.10992980748414993 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "boost", "score": -0.03401442617177963 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1001230925321579 }, "else": { "operation": "boost", "score": -0.02965199388563633 } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.07172486931085587 }, "else": { "operation": "boost", "score": 0.1251825988292694 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.016915250569581985 }, "else": { "operation": "boost", "score": -0.01208247896283865 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010010361671447754 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02498052828013897 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.028943508863449097 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.05921999737620354 }, "else": { "operation": "boost", "score": -0.44207850098609924 } }, "else": { "operation": "boost", "score": -0.0041506350971758366 } } } }, "else": { "operation": "boost", "score": -0.008128098212182522 } } } } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0030462932772934437 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.11585478484630585 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 129493.5, "then": { "operation": "boost", "score": -0.21545323729515076 }, "else": { "operation": "boost", "score": -0.008294439874589443 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.08526869118213654 }, "else": { "operation": "boost", "score": 0.16861245036125183 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1021943986415863 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1318020224571228 }, "else": { "operation": "boost", "score": -0.10097780078649521 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8541666269302368, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.24480144679546356 }, "else": { "operation": "boost", "score": 0.04353208839893341 } }, "else": { "operation": "boost", "score": 0.06188097968697548 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.008902235887944698 }, "else": { "operation": "boost", "score": -0.20484600961208344 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.0, "then": { "operation": "boost", "score": -0.1623237282037735 }, "else": { "operation": "boost", "score": 0.1494009792804718 } }, "else": { "operation": "boost", "score": 0.016173573210835457 } }, "else": { "operation": "boost", "score": 0.8656002283096313 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.01854240521788597 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": 0.07971157878637314 }, "else": { "operation": "boost", "score": -0.046286292374134064 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.2155071198940277 }, "else": { "operation": "boost", "score": -0.009406396187841892 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.612500011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23.5, "then": { "operation": "boost", "score": 0.054804105311632156 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.67722487449646 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07785462588071823 }, "else": { "operation": "boost", "score": 0.03725242242217064 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1177077442407608 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1961524933576584 }, "else": { "operation": "boost", "score": 0.07323724031448364 } } }, "else": { "operation": "boost", "score": -0.25202617049217224 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.04323660582304001 }, "else": { "operation": "boost", "score": 0.02901238575577736 } } } } } }, "else": { "operation": "boost", "score": 0.008498339913785458 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0017439215444028378 }, "else": { "operation": "boost", "score": -0.1316683292388916 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.006556342821568251 }, "else": { "operation": "boost", "score": -0.007002220489084721 } }, "else": { "operation": "boost", "score": 0.0021026807371526957 } }, "else": { "operation": "boost", "score": -0.005520411767065525 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.003001431468874216 }, "else": { "operation": "boost", "score": -0.00209369626827538 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.006678012665361166 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10507465153932571 }, "else": { "operation": "boost", "score": -0.0020220403093844652 } }, "else": { "operation": "boost", "score": -0.07745368033647537 } } } } }, "else": { "operation": "boost", "score": -0.006157553289085627 } } }, "else": { "operation": "boost", "score": -0.0004272129153832793 } } }, { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.10901042819023132 }, "else": { "operation": "boost", "score": 0.03715813159942627 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.057405222207307816 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71820.5, "then": { "operation": "boost", "score": 0.04215262457728386 }, "else": { "operation": "boost", "score": -0.04061729833483696 } }, "else": { "operation": "boost", "score": 0.011964847333729267 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.08968928456306458 }, "else": { "operation": "boost", "score": -0.05482078343629837 } }, "else": { "operation": "boost", "score": -0.09934351593255997 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "boost", "score": 0.0011457462096586823 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5277777910232544, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.07457973062992096 }, "else": { "operation": "boost", "score": 0.11119631677865982 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04053334519267082 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.10621203482151031 }, "else": { "operation": "boost", "score": -0.15587377548217773 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.012021339498460293 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0722082182765007 }, "else": { "operation": "boost", "score": 0.0975220799446106 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.4203464090824127 }, "else": { "operation": "boost", "score": 0.10522758960723877 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.07760561257600784 }, "else": { "operation": "boost", "score": -0.15497159957885742 } }, "else": { "operation": "boost", "score": 0.1536083221435547 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.3661811947822571 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0255274660885334 }, "else": { "operation": "boost", "score": 0.10559382289648056 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.6111412048339844 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.046160921454429626 }, "else": { "operation": "boost", "score": -0.019150827080011368 } } }, "else": { "operation": "boost", "score": 0.043387629091739655 } } } }, "else": { "operation": "boost", "score": 0.0287712961435318 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3369.5, "then": { "operation": "boost", "score": 0.018338466063141823 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 309.5, "then": { "operation": "boost", "score": 0.11466530710458755 }, "else": { "operation": "boost", "score": 0.1666877716779709 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.037728242576122284 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.018507005646824837 }, "else": { "operation": "boost", "score": -0.1592172086238861 } } } }, "else": { "operation": "boost", "score": 0.06636658310890198 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": -0.08083230257034302 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.14362812042236328 }, "else": { "operation": "boost", "score": -0.41596490144729614 } } }, "else": { "operation": "boost", "score": 0.03323635831475258 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": 0.03815658390522003 }, "else": { "operation": "boost", "score": -0.0008150962530635297 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "boost", "score": 0.033956412225961685 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.08502738177776337 }, "else": { "operation": "boost", "score": -0.22718143463134766 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02855616807937622 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.02612427994608879 }, "else": { "operation": "boost", "score": 0.1125035285949707 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -1.8925219774246216 }, "else": { "operation": "boost", "score": -0.1114160567522049 } } }, "else": { "operation": "boost", "score": 0.06414251774549484 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03465850651264191 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.049358487129211426 }, "else": { "operation": "boost", "score": -0.04166421666741371 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.0, "then": { "operation": "boost", "score": 0.03434648737311363 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44999998807907104, "then": { "operation": "boost", "score": 0.030213341116905212 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.6463026404380798 }, "else": { "operation": "boost", "score": -0.20188063383102417 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "boost", "score": -0.20298460125923157 }, "else": { "operation": "boost", "score": -0.05639920383691788 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": -0.06541140377521515 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.7067705988883972 }, "else": { "operation": "boost", "score": -0.21908219158649445 } } } }, "else": { "operation": "boost", "score": 0.08388136327266693 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.02607531100511551 }, "else": { "operation": "boost", "score": 0.1874329149723053 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.2264515608549118 }, "else": { "operation": "boost", "score": -0.059037454426288605 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.16408449411392212 }, "else": { "operation": "boost", "score": -0.1283629983663559 } }, "else": { "operation": "boost", "score": -0.08296842873096466 } } }, "else": { "operation": "boost", "score": -0.535735011100769 } } }, "else": { "operation": "boost", "score": -0.00019356637494638562 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.028717007488012314 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": 0.1039828211069107 }, "else": { "operation": "boost", "score": 0.03493119776248932 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.07895570993423462 }, "else": { "operation": "boost", "score": 0.12587878108024597 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.008968859910964966 }, "else": { "operation": "boost", "score": 0.10953187942504883 } }, "else": { "operation": "boost", "score": -0.025656381621956825 } }, "else": { "operation": "boost", "score": 0.11047646403312683 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.09442684799432755 }, "else": { "operation": "boost", "score": 0.08212263882160187 } } }, "else": { "operation": "boost", "score": -0.1769106537103653 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10721.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83022.5, "then": { "operation": "boost", "score": 0.04278842732310295 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36980.0, "then": { "operation": "boost", "score": 0.18370972573757172 }, "else": { "operation": "boost", "score": 0.11625964194536209 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1565.0, "then": { "operation": "boost", "score": -0.41609495878219604 }, "else": { "operation": "boost", "score": -0.02966233715415001 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72.0, "then": { "operation": "boost", "score": -0.6560274362564087 }, "else": { "operation": "boost", "score": -0.030761003494262695 } } }, "else": { "operation": "boost", "score": 0.023140033707022667 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.06553822755813599 }, "else": { "operation": "boost", "score": -0.1382266730070114 } } } } } } } } }, "else": { "operation": "boost", "score": -0.01673804596066475 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 107.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": 0.11174428462982178 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 131.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 173.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.0843639150261879 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176.5, "then": { "operation": "boost", "score": 0.016053898259997368 }, "else": { "operation": "boost", "score": 0.10591867566108704 } } }, "else": { "operation": "boost", "score": -0.17780271172523499 } }, "else": { "operation": "boost", "score": 0.11175883561372757 } } }, "else": { "operation": "boost", "score": -0.16764762997627258 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1227714866399765 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "boost", "score": -0.20009024441242218 }, "else": { "operation": "boost", "score": 0.09924788773059845 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.24921177327632904 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 80.5, "then": { "operation": "boost", "score": -0.37423548102378845 }, "else": { "operation": "boost", "score": 0.041051801294088364 } }, "else": { "operation": "boost", "score": -0.10370370000600815 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07948167622089386, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09226870536804199 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2083333432674408, "then": { "operation": "boost", "score": -0.005118700210005045 }, "else": { "operation": "boost", "score": -0.5102033019065857 } } }, "else": { "operation": "boost", "score": 0.1037333607673645 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "boost", "score": 0.13505318760871887 }, "else": { "operation": "boost", "score": 0.07233163714408875 } }, "else": { "operation": "boost", "score": 0.10138405114412308 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32.5, "then": { "operation": "boost", "score": -0.37597933411598206 }, "else": { "operation": "boost", "score": 0.022890042513608932 } }, "else": { "operation": "boost", "score": -0.28156018257141113 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4722222089767456, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.13177257776260376 }, "else": { "operation": "boost", "score": -0.13332630693912506 } }, "else": { "operation": "boost", "score": 0.12394938617944717 } }, "else": { "operation": "boost", "score": 0.026550451293587685 } }, "else": { "operation": "boost", "score": 0.000605607230681926 } } } } } } }, "else": { "operation": "boost", "score": -0.00010324580216547474 } }, { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07153547555208206 }, "else": { "operation": "boost", "score": -0.07405544072389603 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07908811420202255 }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.01580861024558544 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": -0.028112415224313736 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.20714285969734192, "then": { "operation": "boost", "score": 0.1343599557876587 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "boost", "score": 0.02301115356385708 }, "else": { "operation": "boost", "score": 0.06451801210641861 } } }, "else": { "operation": "boost", "score": -0.001635247841477394 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10818713903427124, "then": { "operation": "boost", "score": -0.0007960319635458291 }, "else": { "operation": "boost", "score": -0.06212626397609711 } }, "else": { "operation": "boost", "score": 0.0037024852354079485 } }, "else": { "operation": "boost", "score": 0.021566130220890045 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10707096010446548 }, "else": { "operation": "boost", "score": 0.0064408485777676105 } }, "else": { "operation": "boost", "score": -0.010614694096148014 } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01625225506722927 }, "else": { "operation": "boost", "score": 0.09023912250995636 } }, "else": { "operation": "boost", "score": -0.01723232865333557 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": -0.004955691285431385 }, "else": { "operation": "boost", "score": 0.07669413089752197 } }, "else": { "operation": "boost", "score": 0.003786474699154496 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.037954047322273254 }, "else": { "operation": "boost", "score": 0.015594263561069965 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.051839519292116165 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0797424167394638 }, "else": { "operation": "boost", "score": 0.08473264425992966 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.016914257779717445 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": -0.10138452798128128 }, "else": { "operation": "boost", "score": 0.02029474452137947 } } }, "else": { "operation": "boost", "score": 0.04284725710749626 } }, "else": { "operation": "boost", "score": -0.0015443336451426148 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 34.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.130020871758461 }, "else": { "operation": "boost", "score": -0.1602732241153717 } }, "else": { "operation": "boost", "score": -0.12588457763195038 } }, "else": { "operation": "boost", "score": -0.2814861536026001 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.046561527997255325 }, "else": { "operation": "boost", "score": 0.15770238637924194 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8571428656578064, "then": { "operation": "boost", "score": -0.2670295536518097 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.09813294559717178 }, "else": { "operation": "boost", "score": -0.2171333283185959 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.00887535884976387 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": 0.10821136832237244 }, "else": { "operation": "boost", "score": 0.15316647291183472 } } }, "else": { "operation": "boost", "score": -0.030701443552970886 } }, "else": { "operation": "boost", "score": 0.020078426226973534 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.03028619848191738 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10914188623428345 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.15147313475608826 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.4325912892818451 }, "else": { "operation": "boost", "score": -0.09333339333534241 } }, "else": { "operation": "boost", "score": 0.14088718593120575 } } } }, "else": { "operation": "boost", "score": -0.0195540189743042 } }, "else": { "operation": "boost", "score": 0.02418966218829155 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03918461874127388 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09612960368394852 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10238252580165863 }, "else": { "operation": "boost", "score": 0.05311477929353714 } } }, "else": { "operation": "boost", "score": -0.0189192034304142 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.046602584421634674 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36980.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.19274787604808807 }, "else": { "operation": "boost", "score": 0.09543780237436295 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06458333134651184, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.14131379127502441 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12948040664196014 }, "else": { "operation": "boost", "score": -0.10274595022201538 } }, "else": { "operation": "boost", "score": -0.008161724545061588 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.12354326248168945 }, "else": { "operation": "boost", "score": -0.12174183875322342 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.17061744630336761 }, "else": { "operation": "boost", "score": -0.04172399267554283 } } } } } }, "else": { "operation": "boost", "score": -0.0657559186220169 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 25.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3205128312110901, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.3509986400604248 }, "else": { "operation": "boost", "score": 0.1818467229604721 } }, "else": { "operation": "boost", "score": -0.04416912421584129 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06270391494035721 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.13423661887645721 }, "else": { "operation": "boost", "score": -0.07142744958400726 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.18709826469421387 }, "else": { "operation": "boost", "score": -0.11096404492855072 } }, "else": { "operation": "boost", "score": -0.01564004458487034 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02340225875377655 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.032992664724588394 }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10235980153083801 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.13253523409366608 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "boost", "score": 0.02921346202492714 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.12012193351984024 }, "else": { "operation": "boost", "score": 0.06412531435489655 } }, "else": { "operation": "boost", "score": 0.05844544246792793 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.04334588721394539 }, "else": { "operation": "boost", "score": 0.025899328291416168 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.02844424545764923 }, "else": { "operation": "boost", "score": -0.06994612514972687 } } } } } }, "else": { "operation": "boost", "score": -0.015635721385478973 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": -0.13653792440891266 }, "else": { "operation": "boost", "score": -0.02477451227605343 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.055183835327625275 }, "else": { "operation": "boost", "score": -0.0656089037656784 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057259451597929, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.10763368010520935 }, "else": { "operation": "boost", "score": 0.03671436756849289 } }, "else": { "operation": "boost", "score": 0.035507019609212875 } }, "else": { "operation": "boost", "score": -0.03983861953020096 } }, "else": { "operation": "boost", "score": -0.0027320277877151966 } }, "else": { "operation": "boost", "score": -0.022549008950591087 } } } } } } } }, "else": { "operation": "boost", "score": -0.00023631159274373204 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1566733866930008 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 144.5, "then": { "operation": "boost", "score": 0.006182060576975346 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.08429251611232758 }, "else": { "operation": "boost", "score": 0.14440174400806427 } }, "else": { "operation": "boost", "score": -0.018516600131988525 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.019455449655652046 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.19512811303138733 }, "else": { "operation": "boost", "score": 0.44094178080558777 } } }, "else": { "operation": "boost", "score": -0.02561151795089245 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 142.5, "then": { "operation": "boost", "score": -0.08834530413150787 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.001418603234924376 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Operator", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0132070854306221 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0011791492579504848 }, "else": { "operation": "boost", "score": -0.006547463126480579 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.0007184527348726988 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.023311985656619072 }, "else": { "operation": "boost", "score": -0.015267759561538696 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.011990376748144627 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008838364854454994 }, "else": { "operation": "boost", "score": 0.028571274131536484 } }, "else": { "operation": "boost", "score": 0.007658597081899643 } } } } }, "else": { "operation": "boost", "score": -0.002962651662528515 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.009862770326435566 }, "else": { "operation": "boost", "score": 0.029346052557229996 } } } } } } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25461.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32947.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44616.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47253.0, "then": { "operation": "boost", "score": 0.02320082113146782 }, "else": { "operation": "boost", "score": 0.06230619177222252 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.2571876347064972 }, "else": { "operation": "boost", "score": -0.04567360505461693 } } }, "else": { "operation": "boost", "score": 0.05105448141694069 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6406.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19643.0, "then": { "operation": "boost", "score": -0.0685490071773529 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.12895700335502625 }, "else": { "operation": "boost", "score": 0.11939475685358047 } }, "else": { "operation": "boost", "score": -0.003689663950353861 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.0814533531665802 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.10050919651985168 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09436444193124771 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.024050235748291016 }, "else": { "operation": "boost", "score": -0.30878934264183044 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6360.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10702089220285416 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6388.5, "then": { "operation": "boost", "score": 0.09617490321397781 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.12542498111724854 }, "else": { "operation": "boost", "score": 0.08455106616020203 } } } }, "else": { "operation": "boost", "score": 0.10507980734109879 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5870.0, "then": { "operation": "boost", "score": -0.11787685751914978 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5523.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5579.5, "then": { "operation": "boost", "score": 0.05020357668399811 }, "else": { "operation": "boost", "score": 0.14461179077625275 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": 0.020966146141290665 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.08672335743904114 }, "else": { "operation": "boost", "score": 0.03736511617898941 } }, "else": { "operation": "boost", "score": 0.015665587037801743 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.06908457726240158 }, "else": { "operation": "boost", "score": 0.007388540543615818 } } }, "else": { "operation": "boost", "score": 0.005772641859948635 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04698091745376587 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.269696980714798, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7888889312744141, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1893010288476944 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.0010298644192516804 }, "else": { "operation": "boost", "score": -0.7167338132858276 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.032270647585392 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0923716202378273 }, "else": { "operation": "boost", "score": -0.08598622679710388 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.06351396441459656 }, "else": { "operation": "boost", "score": 0.039094477891922 } }, "else": { "operation": "boost", "score": -0.3235836327075958 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "boost", "score": 0.009499596431851387 }, "else": { "operation": "boost", "score": -0.01184885110706091 } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1433647722005844 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.02105698175728321 }, "else": { "operation": "boost", "score": 0.022915182635188103 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10059922933578491 }, "else": { "operation": "boost", "score": -0.009732398204505444 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.08295999467372894 }, "else": { "operation": "boost", "score": 0.032049939036369324 } } } } } }, "else": { "operation": "boost", "score": -0.0014247456565499306 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 148.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 193.5, "then": { "operation": "boost", "score": 0.02366901934146881 }, "else": { "operation": "boost", "score": 0.12101747840642929 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 119.0, "then": { "operation": "boost", "score": -0.12603554129600525 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.01548160333186388 }, "else": { "operation": "boost", "score": -0.022590450942516327 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "boost", "score": -0.2548324167728424 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.42222222685813904, "then": { "operation": "boost", "score": 0.032816868275403976 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "boost", "score": 0.15581092238426208 }, "else": { "operation": "boost", "score": 0.04505274072289467 } } }, "else": { "operation": "boost", "score": 0.020311495289206505 } } } }, "else": { "operation": "boost", "score": 0.000106193678220734 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 406.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 477.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 498.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 607.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0773809552192688, "then": { "operation": "boost", "score": 0.08511801809072495 }, "else": { "operation": "boost", "score": 0.0011247785296291113 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.27175623178482056 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08571306616067886 }, "else": { "operation": "boost", "score": 0.09906323254108429 } } } }, "else": { "operation": "boost", "score": 0.13374511897563934 } }, "else": { "operation": "boost", "score": -0.1438577026128769 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 394.5, "then": { "operation": "boost", "score": 0.1280568391084671 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10493308305740356 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286.0, "then": { "operation": "boost", "score": 0.029629185795783997 }, "else": { "operation": "boost", "score": 0.0986485481262207 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": -0.11214601248502731 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 109.0, "then": { "operation": "boost", "score": 0.07615137845277786 }, "else": { "operation": "boost", "score": -0.3967536389827728 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 166.5, "then": { "operation": "boost", "score": 0.0465000681579113 }, "else": { "operation": "boost", "score": 0.12761476635932922 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 175.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.5, "then": { "operation": "boost", "score": -0.2731361389160156 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220.0, "then": { "operation": "boost", "score": 0.12298669666051865 }, "else": { "operation": "boost", "score": 0.05236091837286949 } } }, "else": { "operation": "boost", "score": 0.13289998471736908 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -1.6422371864318848 }, "else": { "operation": "boost", "score": -0.12161683291196823 } }, "else": { "operation": "boost", "score": -0.06756269186735153 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.16317041218280792 }, "else": { "operation": "boost", "score": 0.13804353773593903 } }, "else": { "operation": "boost", "score": -0.0030586854554712772 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.026854364201426506 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61.0, "then": { "operation": "boost", "score": 0.10573818534612656 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.1390971690416336 }, "else": { "operation": "boost", "score": 0.080037422478199 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11665932834148407 }, "else": { "operation": "boost", "score": 0.16411222517490387 } }, "else": { "operation": "boost", "score": -0.029427440837025642 } } } }, "else": { "operation": "boost", "score": -0.010252668522298336 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.35455477237701416 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "boost", "score": -0.11889271438121796 }, "else": { "operation": "boost", "score": 0.07754968851804733 } } } } } }, "else": { "operation": "boost", "score": -0.012277116999030113 } } } } } }, "else": { "operation": "boost", "score": 0.007135351188480854 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 382.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 400.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.022636961191892624 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 569.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 826.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2446.5, "then": { "operation": "boost", "score": 0.04364597052335739 }, "else": { "operation": "boost", "score": 0.11047214269638062 } }, "else": { "operation": "boost", "score": 0.03638811036944389 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 745.5, "then": { "operation": "boost", "score": 0.12015770375728607 }, "else": { "operation": "boost", "score": 0.06439972668886185 } } }, "else": { "operation": "boost", "score": -0.14639000594615936 } } }, "else": { "operation": "boost", "score": 0.11481063812971115 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.1377071738243103 }, "else": { "operation": "boost", "score": 0.05902260169386864 } }, "else": { "operation": "boost", "score": -0.019819138571619987 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.013199634850025177 }, "else": { "operation": "boost", "score": 0.0035141841508448124 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "boost", "score": -0.14306698739528656 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "boost", "score": 0.1275458037853241 }, "else": { "operation": "boost", "score": 0.015876689925789833 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11538996547460556 }, "else": { "operation": "boost", "score": 0.009964835830032825 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.04684371128678322 }, "else": { "operation": "boost", "score": -0.058129504323005676 } }, "else": { "operation": "boost", "score": 0.01838085800409317 } }, "else": { "operation": "boost", "score": -0.033590514212846756 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "boost", "score": 0.09226275980472565 }, "else": { "operation": "boost", "score": -0.037098463624715805 } } } }, "else": { "operation": "boost", "score": 0.005481510888785124 } }, "else": { "operation": "boost", "score": 0.0002670983667485416 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.0006786452140659094 }, "else": { "operation": "boost", "score": -0.006326609291136265 } } }, "else": { "operation": "boost", "score": -0.0004520867660176009 } } }, { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace", "Variable" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "boost", "score": -0.011580000631511211 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04111652448773384 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1217019185423851 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.2376089245080948 }, "else": { "operation": "boost", "score": 0.06032702699303627 } } } }, "else": { "operation": "boost", "score": 0.022740831598639488 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0013598876539617777 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.875, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.10464941710233688 }, "else": { "operation": "boost", "score": -0.060932859778404236 } }, "else": { "operation": "boost", "score": -0.1751461625099182 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.019231226295232773 }, "else": { "operation": "boost", "score": -0.16592609882354736 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.008433796465396881 }, "else": { "operation": "boost", "score": -0.07218147814273834 } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.36666667461395264, "then": { "operation": "boost", "score": 0.15224669873714447 }, "else": { "operation": "boost", "score": -0.07347175478935242 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07564637064933777 }, "else": { "operation": "boost", "score": -0.18249493837356567 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "boost", "score": 0.07218845933675766 }, "else": { "operation": "boost", "score": -0.005261126905679703 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": 0.034926023334264755 }, "else": { "operation": "boost", "score": 0.07974226027727127 } } }, "else": { "operation": "boost", "score": 0.027074508368968964 } } }, "else": { "operation": "boost", "score": 0.006575756706297398 } }, "else": { "operation": "boost", "score": -0.004218052141368389 } }, "else": { "operation": "boost", "score": 0.019407914951443672 } }, "else": { "operation": "boost", "score": 0.005470613949000835 } } } }, "else": { "operation": "boost", "score": 0.0004050561983603984 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers" ], "then": { "operation": "boost", "score": 0.0006895459955558181 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.5856161117553711 }, "else": { "operation": "boost", "score": 0.003168809460476041 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2234.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26715.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 67917.5, "then": { "operation": "boost", "score": 0.030278395861387253 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 43912.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55833.5, "then": { "operation": "boost", "score": -0.14183305203914642 }, "else": { "operation": "boost", "score": -0.5010406374931335 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.07665212452411652 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40755.0, "then": { "operation": "boost", "score": -0.569713294506073 }, "else": { "operation": "boost", "score": -0.025200851261615753 } } } } }, "else": { "operation": "boost", "score": 0.043077122420072556 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.06392182409763336 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.12507034838199615 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.14840492606163025 }, "else": { "operation": "boost", "score": 0.150568425655365 } } }, "else": { "operation": "boost", "score": -0.07948565483093262 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.06835383921861649 }, "else": { "operation": "boost", "score": 0.0261981301009655 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 73.5, "then": { "operation": "boost", "score": 0.010364708490669727 }, "else": { "operation": "boost", "score": 0.6536605954170227 } }, "else": { "operation": "boost", "score": -0.24153678119182587 } }, "else": { "operation": "boost", "score": 0.10057003051042557 } }, "else": { "operation": "boost", "score": -0.013230015523731709 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09165198355913162 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11897134780883789 }, "else": { "operation": "boost", "score": 0.10785892605781555 } }, "else": { "operation": "boost", "score": 0.061256133019924164 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.07510744780302048 }, "else": { "operation": "boost", "score": 0.004659051075577736 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0518743172287941 }, "else": { "operation": "boost", "score": -0.001897948794066906 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.0028219493106007576 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1837.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2635.0, "then": { "operation": "boost", "score": -0.019577674567699432 }, "else": { "operation": "boost", "score": -0.7124608159065247 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 702.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 890.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1418.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1533.5, "then": { "operation": "boost", "score": 0.08237457275390625 }, "else": { "operation": "boost", "score": 0.1209132969379425 } }, "else": { "operation": "boost", "score": 0.019135430455207825 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 873.5, "then": { "operation": "boost", "score": 0.12972481548786163 }, "else": { "operation": "boost", "score": 0.10951138287782669 } } }, "else": { "operation": "boost", "score": 0.02882395312190056 } } }, "else": { "operation": "boost", "score": 0.01374523714184761 } } }, "else": { "operation": "boost", "score": 0.003568721003830433 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 71608.5, "then": { "operation": "boost", "score": 0.16879531741142273 }, "else": { "operation": "boost", "score": -0.03980913385748863 } } } } }, "else": { "operation": "if_greater", "feature": "IsReservedName", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.2989616096019745 }, "else": { "operation": "boost", "score": -0.06517060846090317 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.02845797874033451 }, "else": { "operation": "boost", "score": -0.03325086832046509 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259462.0, "then": { "operation": "boost", "score": -0.0008556596585549414 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.13959260284900665 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.24294430017471313 }, "else": { "operation": "boost", "score": 0.2116517275571823 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191566.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.01226656325161457 }, "else": { "operation": "boost", "score": -0.10656921565532684 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.1593134105205536 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03161797672510147 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 114340.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.03445158526301384 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.061261385679244995 }, "else": { "operation": "boost", "score": 0.0023799347691237926 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.048700615763664246 }, "else": { "operation": "boost", "score": 0.012174658477306366 } } } }, "else": { "operation": "boost", "score": 0.06953408569097519 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92051.0, "then": { "operation": "boost", "score": -0.03545009717345238 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 88678.0, "then": { "operation": "boost", "score": 0.024521280080080032 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56138.5, "then": { "operation": "boost", "score": -0.01595141366124153 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54992.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1978272795677185 }, "else": { "operation": "boost", "score": 0.13626278936862946 } }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12697860598564148 }, "else": { "operation": "boost", "score": 0.0583285428583622 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08964300900697708 }, "else": { "operation": "boost", "score": -0.11918803304433823 } } }, "else": { "operation": "boost", "score": -0.14650589227676392 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.16587990522384644 }, "else": { "operation": "boost", "score": 0.03100857511162758 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 47294.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50563.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.13454294204711914 }, "else": { "operation": "boost", "score": -0.10896789282560349 } }, "else": { "operation": "boost", "score": -0.11604338139295578 } }, "else": { "operation": "boost", "score": -0.03479938581585884 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33380.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34039.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34422.5, "then": { "operation": "boost", "score": 0.01123026479035616 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": 0.04460281878709793 }, "else": { "operation": "boost", "score": 0.11740434914827347 } } }, "else": { "operation": "boost", "score": -0.18268151581287384 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33508.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.09106404334306717 }, "else": { "operation": "boost", "score": 0.14583688974380493 } }, "else": { "operation": "boost", "score": -0.1055046021938324 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.19586089253425598 }, "else": { "operation": "boost", "score": 0.11769956350326538 } }, "else": { "operation": "boost", "score": -0.33143237233161926 } }, "else": { "operation": "boost", "score": 0.04782579839229584 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33009.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10021448135375977 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.1085558533668518 }, "else": { "operation": "boost", "score": 0.19225098192691803 } } }, "else": { "operation": "boost", "score": -0.10652130842208862 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32401.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.05479408800601959 }, "else": { "operation": "boost", "score": -0.03942059725522995 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32026.0, "then": { "operation": "boost", "score": -0.11526291817426682 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31292.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11682300269603729 }, "else": { "operation": "boost", "score": 0.10575936734676361 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06958585977554321 }, "else": { "operation": "boost", "score": -0.04391090199351311 } } }, "else": { "operation": "boost", "score": -0.00027247637626715004 } } } } } } } } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.00014864183322060853 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 160.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1122.5, "then": { "operation": "boost", "score": 0.0881490558385849 }, "else": { "operation": "boost", "score": 0.1652044802904129 } }, "else": { "operation": "boost", "score": -0.15835566818714142 } }, "else": { "operation": "boost", "score": 0.0013341588201001287 } }, "else": { "operation": "boost", "score": -0.001102431328035891 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.00033857920789159834 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.1778232455253601 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.03278757259249687 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.1646849364042282 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.1032906323671341 }, "else": { "operation": "boost", "score": 0.43785396218299866 } } } } }, "else": { "operation": "boost", "score": -0.0004195295041427016 } } }, "else": { "operation": "boost", "score": 0.028802959248423576 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.11164341866970062 }, "else": { "operation": "boost", "score": 0.007166816387325525 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08712121844291687, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2678571343421936, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3693181872367859, "then": { "operation": "boost", "score": 0.08140766620635986 }, "else": { "operation": "boost", "score": 0.14153917133808136 } }, "else": { "operation": "boost", "score": -0.11064377427101135 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.10623906552791595 }, "else": { "operation": "boost", "score": 0.07354053854942322 } } }, "else": { "operation": "boost", "score": 0.025616394355893135 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78.5, "then": { "operation": "boost", "score": -0.41528311371803284 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 50.5, "then": { "operation": "boost", "score": -0.014033008366823196 }, "else": { "operation": "boost", "score": 0.10282175242900848 } }, "else": { "operation": "boost", "score": -0.2984766960144043 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.10211606323719025 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 64.5, "then": { "operation": "boost", "score": 0.0074435132555663586 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 59.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.5, "then": { "operation": "boost", "score": 0.13420416414737701 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 61.5, "then": { "operation": "boost", "score": 0.07970547676086426 }, "else": { "operation": "boost", "score": 0.11914422363042831 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 48.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11457803100347519 }, "else": { "operation": "boost", "score": 0.0343395359814167 } }, "else": { "operation": "boost", "score": -0.3668965697288513 } }, "else": { "operation": "boost", "score": -0.06599827855825424 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "boost", "score": 0.16642700135707855 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "boost", "score": 0.12172307074069977 }, "else": { "operation": "boost", "score": -0.10971590876579285 } }, "else": { "operation": "boost", "score": 0.14242222905158997 } }, "else": { "operation": "boost", "score": 0.08536576479673386 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "boost", "score": -0.330665647983551 }, "else": { "operation": "boost", "score": 0.03596092388033867 } }, "else": { "operation": "boost", "score": 0.030366649851202965 } } } } }, "else": { "operation": "boost", "score": -0.013074085116386414 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10020925849676132 }, "else": { "operation": "boost", "score": -0.165740504860878 } }, "else": { "operation": "boost", "score": -0.2569580674171448 } } } } }, "else": { "operation": "boost", "score": -0.004516164772212505 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_EnumTag", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.0641360729932785 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 30.5, "then": { "operation": "boost", "score": 0.09712986648082733 }, "else": { "operation": "boost", "score": -0.016746761277318 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.4020061492919922 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18465909361839294, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.042457785457372665 }, "else": { "operation": "boost", "score": -0.021389326080679893 } }, "else": { "operation": "boost", "score": -0.04054194316267967 } } }, "else": { "operation": "boost", "score": 0.013950305990874767 } }, "else": { "operation": "boost", "score": 0.003291820175945759 } } } }, "else": { "operation": "boost", "score": 0.012293247506022453 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0784568265080452 }, "else": { "operation": "boost", "score": 0.12062855064868927 } }, "else": { "operation": "boost", "score": -0.015200447291135788 } }, "else": { "operation": "boost", "score": 0.14480134844779968 } }, "else": { "operation": "boost", "score": -0.026904894039034843 } }, "else": { "operation": "boost", "score": 0.005596037954092026 } }, "else": { "operation": "boost", "score": -0.047432176768779755 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.008290820755064487 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20.0, "then": { "operation": "boost", "score": 0.11534325778484344 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.04843294247984886 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13118146359920502 }, "else": { "operation": "boost", "score": 0.09411739557981491 } }, "else": { "operation": "boost", "score": 0.2768239378929138 } } }, "else": { "operation": "boost", "score": -0.04335863143205643 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.19419197738170624 }, "else": { "operation": "boost", "score": -0.11535189300775528 } } }, "else": { "operation": "boost", "score": -0.10232126712799072 } }, "else": { "operation": "boost", "score": -0.11062265187501907 } }, "else": { "operation": "boost", "score": 0.006147294770926237 } } }, "else": { "operation": "boost", "score": -0.002508797449991107 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0003283754922449589 }, "else": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02865593135356903 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Namespace" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.1021743044257164 }, "else": { "operation": "boost", "score": -0.06471828371286392 } }, "else": { "operation": "boost", "score": 0.04537765681743622 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05458391085267067 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.01624303311109543 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0006534492131322622 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.006599785294383764 }, "else": { "operation": "boost", "score": 0.02490333281457424 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22649572789669037, "then": { "operation": "boost", "score": -0.2794130742549896 }, "else": { "operation": "boost", "score": -0.00019457688904367387 } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "boost", "score": -0.037613168358802795 }, "else": { "operation": "boost", "score": 0.045240480452775955 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.06102827563881874 }, "else": { "operation": "boost", "score": 0.03923942521214485 } } }, "else": { "operation": "boost", "score": 0.013270038180053234 } }, "else": { "operation": "boost", "score": 0.01684088259935379 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "boost", "score": 0.002276700222864747 }, "else": { "operation": "boost", "score": -0.0671004131436348 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type" ], "then": { "operation": "boost", "score": 0.030941996723413467 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3484848737716675, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.40833333134651184, "then": { "operation": "boost", "score": -0.024815520271658897 }, "else": { "operation": "boost", "score": 0.043067481368780136 } }, "else": { "operation": "boost", "score": -0.02160709910094738 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09490705281496048 }, "else": { "operation": "boost", "score": 0.022270945832133293 } } } }, "else": { "operation": "boost", "score": -0.02033284865319729 } }, "else": { "operation": "boost", "score": -0.019111253321170807 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.047654714435338974 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.024965297430753708 }, "else": { "operation": "boost", "score": 0.004195658955723047 } }, "else": { "operation": "boost", "score": -0.0022644877899438143 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07015518844127655 }, "else": { "operation": "boost", "score": 0.10200157016515732 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09578663855791092 }, "else": { "operation": "boost", "score": -0.16412754356861115 } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3628818690776825 }, "else": { "operation": "boost", "score": 0.12766902148723602 } } }, "else": { "operation": "boost", "score": -0.1410866677761078 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.05293039232492447 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": 0.017085082828998566 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": 0.17139047384262085 }, "else": { "operation": "boost", "score": -0.13362643122673035 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": -0.10097910463809967 }, "else": { "operation": "boost", "score": -0.006354218348860741 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "boost", "score": 0.01529089454561472 }, "else": { "operation": "boost", "score": 0.06105421856045723 } }, "else": { "operation": "boost", "score": 0.0035899742506444454 } }, "else": { "operation": "boost", "score": 0.010210796259343624 } } } } } } } }, "else": { "operation": "boost", "score": -0.002493911422789097 } } } } } }, { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5505050420761108, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5916666984558105, "then": { "operation": "boost", "score": -0.054471131414175034 }, "else": { "operation": "boost", "score": 0.11160530894994736 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": -0.06447757035493851 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.0, "then": { "operation": "boost", "score": -0.19225914776325226 }, "else": { "operation": "boost", "score": 0.1225217878818512 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": -0.1801922768354416 }, "else": { "operation": "boost", "score": 0.08484052121639252 } }, "else": { "operation": "boost", "score": -0.416925311088562 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": 0.014295353554189205 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.03979470580816269 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.10316099226474762 }, "else": { "operation": "boost", "score": 0.07169421017169952 } }, "else": { "operation": "boost", "score": 0.05700526013970375 } } }, "else": { "operation": "boost", "score": -0.12064848095178604 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "Scope", "set": [ "GlobalScope" ], "then": { "operation": "boost", "score": 0.12138223648071289 }, "else": { "operation": "boost", "score": 0.03308934345841408 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6904761791229248, "then": { "operation": "boost", "score": -0.14847423136234283 }, "else": { "operation": "boost", "score": 0.10794214904308319 } }, "else": { "operation": "boost", "score": -0.07508248090744019 } } }, "else": { "operation": "boost", "score": -0.03137302026152611 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": 0.01622501201927662 }, "else": { "operation": "boost", "score": -0.07425526529550552 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.16179245710372925 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.03240743651986122 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.03317493200302124 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.044335126876831055 }, "else": { "operation": "boost", "score": 0.11317108571529388 } } } } }, "else": { "operation": "boost", "score": 0.016512295231223106 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.053591251373291016 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": 0.06101454421877861 }, "else": { "operation": "boost", "score": 0.08727813512086868 } } }, "else": { "operation": "boost", "score": -0.003323411801829934 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag" ], "then": { "operation": "boost", "score": 0.024277832359075546 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 101.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 112.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 210.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10607.5, "then": { "operation": "boost", "score": 0.1193232461810112 }, "else": { "operation": "boost", "score": -0.011325075291097164 } }, "else": { "operation": "boost", "score": -0.25881803035736084 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "boost", "score": 0.14388826489448547 }, "else": { "operation": "boost", "score": 0.09682421386241913 } } }, "else": { "operation": "boost", "score": 0.14890284836292267 } }, "else": { "operation": "boost", "score": 0.0072935232892632484 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Operator" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03574608638882637 }, "else": { "operation": "boost", "score": 0.07426398992538452 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.11150423437356949 }, "else": { "operation": "boost", "score": -0.18056468665599823 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8192.0, "then": { "operation": "boost", "score": 0.07144315540790558 }, "else": { "operation": "boost", "score": 0.1328655332326889 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.20705828070640564 }, "else": { "operation": "boost", "score": 0.12083736807107925 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": -0.15524600446224213 }, "else": { "operation": "boost", "score": 0.06437298655509949 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.03228142485022545 }, "else": { "operation": "boost", "score": 0.017613261938095093 } } } }, "else": { "operation": "boost", "score": -0.22260399162769318 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": 0.09062197804450989 }, "else": { "operation": "boost", "score": 0.11290279030799866 } }, "else": { "operation": "boost", "score": 0.018495982512831688 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.014811055734753609 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6458333730697632, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.0064353421330451965 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.0, "then": { "operation": "boost", "score": -0.2785165011882782 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.030366284772753716 }, "else": { "operation": "boost", "score": -0.1128784790635109 } } }, "else": { "operation": "boost", "score": 0.05324793606996536 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "boost", "score": -0.03708217665553093 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.1760471761226654 }, "else": { "operation": "boost", "score": 0.07285712659358978 } }, "else": { "operation": "boost", "score": -0.09973003715276718 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.06765687465667725 }, "else": { "operation": "boost", "score": 0.09316626191139221 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.08581960201263428 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.1804981678724289 }, "else": { "operation": "boost", "score": 0.11459980905056 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.16167116165161133 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.22712810337543488 }, "else": { "operation": "boost", "score": 0.0954921618103981 } } } } }, "else": { "operation": "boost", "score": -0.23372401297092438 } }, "else": { "operation": "boost", "score": -0.46004801988601685 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.11491642147302628 }, "else": { "operation": "boost", "score": -0.01931682601571083 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.16309760510921478 }, "else": { "operation": "boost", "score": 0.0910695418715477 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5857143402099609, "then": { "operation": "boost", "score": 0.04021063819527626 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.1156231164932251 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.10620760917663574 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.0693674236536026 }, "else": { "operation": "boost", "score": 0.09566418826580048 } } } } } } } }, "else": { "operation": "boost", "score": 0.026648417115211487 } } } } }, "else": { "operation": "boost", "score": -0.008752009831368923 } } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.003407147480174899 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 7.5, "then": { "operation": "boost", "score": 0.07221994549036026 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2679487466812134, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011419144459068775 }, "else": { "operation": "boost", "score": -0.006122835911810398 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.016895709559321404 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.02909168414771557 }, "else": { "operation": "boost", "score": -0.17501327395439148 } }, "else": { "operation": "boost", "score": 0.06927590072154999 } } }, "else": { "operation": "boost", "score": -0.021837454289197922 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.10586969554424286 }, "else": { "operation": "boost", "score": 0.11924338340759277 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.009843437001109123 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04518374428153038 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.011471418663859367 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.03357359766960144 }, "else": { "operation": "boost", "score": -0.18919523060321808 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.022599928081035614 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": 0.11615650355815887 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2752525210380554, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.09058568626642227 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05589016526937485 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.1419769823551178 }, "else": { "operation": "boost", "score": 0.05625839903950691 } } }, "else": { "operation": "boost", "score": 0.03780939429998398 } } }, "else": { "operation": "boost", "score": -0.003590669482946396 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": -0.12088984251022339 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24264705181121826, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07078628987073898 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.10470081865787506 }, "else": { "operation": "boost", "score": 0.09801536053419113 } } }, "else": { "operation": "boost", "score": 0.027827464044094086 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.011812795884907246 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.03159727528691292 }, "else": { "operation": "boost", "score": -0.13897189497947693 } }, "else": { "operation": "boost", "score": 0.057517845183610916 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.01418248750269413 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.010512608103454113 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.002020994434133172 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.12375235557556152 }, "else": { "operation": "boost", "score": 0.059211768209934235 } } }, "else": { "operation": "boost", "score": 0.014573031105101109 } } } } } } }, "else": { "operation": "boost", "score": 0.00020031046005897224 } } } }, "else": { "operation": "boost", "score": -0.0001454634766560048 } } }, { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.004311550408601761 }, "else": { "operation": "boost", "score": -0.03057512268424034 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Function", "Macro", "Namespace", "Type", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11460912972688675 }, "else": { "operation": "boost", "score": 0.009205548092722893 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0486026369035244 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.003144486341625452 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276350.0, "then": { "operation": "boost", "score": -0.04828207939863205 }, "else": { "operation": "boost", "score": 0.0073621817864477634 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.0007001481135375798 }, "else": { "operation": "boost", "score": -0.025351259857416153 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.011579221114516258 }, "else": { "operation": "boost", "score": -0.03309830650687218 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04135400429368019 }, "else": { "operation": "boost", "score": -0.27304112911224365 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.037222035229206085 }, "else": { "operation": "boost", "score": -0.10177964717149734 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0024551956448704004 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58.0, "then": { "operation": "boost", "score": -0.08479256182909012 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.10637024790048599 }, "else": { "operation": "boost", "score": 0.05233054608106613 } }, "else": { "operation": "boost", "score": 0.13204322755336761 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9.5, "then": { "operation": "boost", "score": 0.01700952649116516 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.050626400858163834 }, "else": { "operation": "boost", "score": -0.14429804682731628 } }, "else": { "operation": "boost", "score": 0.0854552760720253 } }, "else": { "operation": "boost", "score": 0.012552897445857525 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.028582138940691948 }, "else": { "operation": "boost", "score": -0.06508219242095947 } } } } } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.029360005632042885 }, "else": { "operation": "boost", "score": -0.001137568848207593 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Namespace", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "boost", "score": -0.1266002058982849 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13274551928043365 }, "else": { "operation": "boost", "score": -0.1153671070933342 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.010418250225484371 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.07424722611904144 }, "else": { "operation": "boost", "score": 0.4494270384311676 } }, "else": { "operation": "boost", "score": 0.10908263176679611 } } }, "else": { "operation": "boost", "score": 0.0005711310659535229 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.09683255851268768 }, "else": { "operation": "boost", "score": 0.14098235964775085 } }, "else": { "operation": "boost", "score": 0.07457812130451202 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.15821675956249237 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.03686971589922905 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.10520046204328537 }, "else": { "operation": "boost", "score": 0.0960698351264 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.05911698192358017 }, "else": { "operation": "boost", "score": 0.10843616724014282 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6091.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003483693115413189 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.48665204644203186 }, "else": { "operation": "boost", "score": -0.2214663028717041 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2353.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": -0.559287965297699 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2821.0, "then": { "operation": "boost", "score": 0.04952392727136612 }, "else": { "operation": "boost", "score": 0.11388401687145233 } } }, "else": { "operation": "boost", "score": -0.016624774783849716 } } } }, "else": { "operation": "boost", "score": -0.008910941891372204 } }, "else": { "operation": "boost", "score": -0.0003088563389610499 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.11818061023950577 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 171.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10156191140413284 }, "else": { "operation": "boost", "score": 0.14657673239707947 } }, "else": { "operation": "boost", "score": 0.07433415204286575 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.034071408212184906 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "boost", "score": 0.10717497766017914 }, "else": { "operation": "boost", "score": 0.018679527565836906 } } }, "else": { "operation": "boost", "score": 0.002231861697509885 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 739.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4868.5, "then": { "operation": "boost", "score": 0.10212335735559464 }, "else": { "operation": "boost", "score": 0.13025353848934174 } }, "else": { "operation": "boost", "score": -0.10023950040340424 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08613144606351852 }, "else": { "operation": "boost", "score": 0.0038750567473471165 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.12263986468315125 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.19704721868038177 }, "else": { "operation": "boost", "score": 0.14322613179683685 } } } }, "else": { "operation": "boost", "score": -0.017701702192425728 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.06719762086868286 }, "else": { "operation": "boost", "score": 0.1019468903541565 } }, "else": { "operation": "boost", "score": 0.007907557301223278 } } }, "else": { "operation": "boost", "score": 0.011452412232756615 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10355112701654434 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 190.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.12200689315795898 }, "else": { "operation": "boost", "score": -0.08893584460020065 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 35.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0833333358168602, "then": { "operation": "boost", "score": -0.10547488927841187 }, "else": { "operation": "boost", "score": -1.2377821207046509 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 39.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.13333334028720856, "then": { "operation": "boost", "score": 0.14458103477954865 }, "else": { "operation": "boost", "score": -0.12103817611932755 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13163572549819946 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.01795496605336666 }, "else": { "operation": "boost", "score": 0.07696942239999771 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.048981864005327225 }, "else": { "operation": "boost", "score": 0.19910970330238342 } }, "else": { "operation": "boost", "score": -0.12993896007537842 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.14689026772975922 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.43815314769744873 }, "else": { "operation": "boost", "score": 0.20447179675102234 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.0, "then": { "operation": "boost", "score": 0.02544621005654335 }, "else": { "operation": "boost", "score": 0.19021964073181152 } }, "else": { "operation": "boost", "score": 0.0372600220143795 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "boost", "score": -0.08638297021389008 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09217248111963272 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.1775113046169281 }, "else": { "operation": "boost", "score": -0.012051818892359734 } }, "else": { "operation": "boost", "score": 0.4113865792751312 } }, "else": { "operation": "boost", "score": -0.07542635500431061 } }, "else": { "operation": "boost", "score": 0.08533185720443726 } } } } } }, "else": { "operation": "boost", "score": 0.03266829624772072 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10818713903427124, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.19281306862831116 }, "else": { "operation": "boost", "score": 0.07022646069526672 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0035237015690654516 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "boost", "score": 0.05850023403763771 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.10705236345529556 }, "else": { "operation": "boost", "score": -0.015421172603964806 } } }, "else": { "operation": "boost", "score": -0.1407686471939087 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 53.0, "then": { "operation": "boost", "score": 0.03625686839222908 }, "else": { "operation": "boost", "score": 0.14237266778945923 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -2.4820363521575928 }, "else": { "operation": "boost", "score": -0.026000086218118668 } } }, "else": { "operation": "boost", "score": 0.016221530735492706 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3234.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.4553963541984558 }, "else": { "operation": "boost", "score": -0.07817521691322327 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3145.5, "then": { "operation": "boost", "score": 0.13516667485237122 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0019132355228066444 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1602.5, "then": { "operation": "boost", "score": -0.2511843144893646 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1381.0, "then": { "operation": "boost", "score": 0.10409433394670486 }, "else": { "operation": "boost", "score": -0.0267350934445858 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.14840231835842133 }, "else": { "operation": "boost", "score": -0.0055223372764885426 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0006290103192441165 }, "else": { "operation": "boost", "score": -0.0018201445927843451 } } } }, "else": { "operation": "boost", "score": -0.08924809098243713 } } }, { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro" ], "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07996450364589691 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263945.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 284274.5, "then": { "operation": "boost", "score": -0.03383629396557808 }, "else": { "operation": "boost", "score": 0.08005902171134949 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.012567941099405289 }, "else": { "operation": "boost", "score": 0.010880551300942898 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 858647.0, "then": { "operation": "boost", "score": -0.10505779087543488 }, "else": { "operation": "boost", "score": -0.009539306163787842 } } }, "else": { "operation": "boost", "score": 0.004619547165930271 } }, "else": { "operation": "boost", "score": -0.0016081552021205425 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": 0.08738276362419128 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.09486077725887299 }, "else": { "operation": "boost", "score": 0.16157403588294983 } }, "else": { "operation": "boost", "score": 0.1962926983833313 } } }, "else": { "operation": "boost", "score": 0.06838086992502213 } }, "else": { "operation": "boost", "score": 0.04103521257638931 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 254.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 258.5, "then": { "operation": "boost", "score": 0.0616641491651535 }, "else": { "operation": "boost", "score": 0.22136101126670837 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -1.2869962453842163 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.016595540568232536 }, "else": { "operation": "boost", "score": 0.09149549156427383 } } }, "else": { "operation": "boost", "score": 0.024530835449695587 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": -0.04191283881664276 }, "else": { "operation": "boost", "score": 0.021771855652332306 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 10.0, "then": { "operation": "boost", "score": -0.0838884562253952 }, "else": { "operation": "boost", "score": 0.2058526575565338 } } }, "else": { "operation": "boost", "score": 0.015099333599209785 } }, "else": { "operation": "boost", "score": -0.058374568819999695 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.012798049487173557 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": -0.2071797400712967 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02602568455040455 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Variable" ], "then": { "operation": "boost", "score": 0.09026122093200684 }, "else": { "operation": "boost", "score": -0.10000117123126984 } } } }, "else": { "operation": "boost", "score": -0.19453516602516174 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": 0.18892046809196472 }, "else": { "operation": "boost", "score": 0.09926760196685791 } } }, "else": { "operation": "boost", "score": 0.013733488507568836 } }, "else": { "operation": "boost", "score": -0.03839542344212532 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15605.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219439.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "boost", "score": -0.0031076185405254364 }, "else": { "operation": "boost", "score": -0.16449719667434692 } }, "else": { "operation": "boost", "score": 0.02113214321434498 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11621938645839691 }, "else": { "operation": "boost", "score": -0.19613780081272125 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13946.0, "then": { "operation": "boost", "score": -0.1620010882616043 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": -0.014628218486905098 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 948.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.4389839470386505 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.13135851919651031 }, "else": { "operation": "boost", "score": -0.09342202544212341 } } }, "else": { "operation": "boost", "score": 0.06536819785833359 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 23.0, "then": { "operation": "boost", "score": 0.00520961033180356 }, "else": { "operation": "boost", "score": -0.04519061744213104 } } } } } } } }, "else": { "operation": "boost", "score": -0.04588489979505539 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55801.5, "then": { "operation": "boost", "score": -0.12577266991138458 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 55483.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1282811015844345 }, "else": { "operation": "boost", "score": -0.10834933072328568 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24227.5, "then": { "operation": "boost", "score": -0.10118549317121506 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23701.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.05758035182952881 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 24093.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.07398053258657455 }, "else": { "operation": "boost", "score": 0.12518151104450226 } }, "else": { "operation": "boost", "score": 0.16277997195720673 } } }, "else": { "operation": "boost", "score": -0.3171735107898712 } }, "else": { "operation": "boost", "score": 0.022748274728655815 } }, "else": { "operation": "boost", "score": -0.015606881119310856 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": -0.023558596149086952 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0022884225472807884 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.024608075618743896 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": -0.004745498299598694 }, "else": { "operation": "boost", "score": 0.020411629229784012 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.00493338517844677 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "boost", "score": -0.0023401177022606134 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.10532920807600021 }, "else": { "operation": "boost", "score": -0.062200017273426056 } } } } } }, "else": { "operation": "boost", "score": -0.005029371008276939 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "boost", "score": 0.12763427197933197 }, "else": { "operation": "boost", "score": 0.05713396519422531 } }, "else": { "operation": "boost", "score": 0.08336839824914932 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 294602.0, "then": { "operation": "boost", "score": -0.031132616102695465 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6653.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10936740040779114 }, "else": { "operation": "boost", "score": 0.1060967668890953 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.014029252342879772 }, "else": { "operation": "boost", "score": -0.02773539535701275 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0011295386357232928 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.015504920855164528 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.18413811922073364 }, "else": { "operation": "boost", "score": 0.07507546991109848 } }, "else": { "operation": "boost", "score": 0.06251420080661774 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.07081421464681625 }, "else": { "operation": "boost", "score": 0.043044909834861755 } } } }, "else": { "operation": "boost", "score": 0.010933182202279568 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104520.5, "then": { "operation": "boost", "score": 0.03432159870862961 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": 0.0023065090645104647 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.0, "then": { "operation": "boost", "score": -0.010186317376792431 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.12088781595230103 }, "else": { "operation": "boost", "score": 0.12834300100803375 } } } }, "else": { "operation": "boost", "score": -0.018665216863155365 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.00785101018846035 }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1994190365076065 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.03413897752761841 }, "else": { "operation": "boost", "score": 0.09701702743768692 } }, "else": { "operation": "boost", "score": 0.032249122858047485 } }, "else": { "operation": "boost", "score": 0.0214782003313303 } } } }, "else": { "operation": "boost", "score": -0.005759338848292828 } } }, "else": { "operation": "boost", "score": -0.01652326062321663 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 72713.0, "then": { "operation": "boost", "score": -0.15076492726802826 }, "else": { "operation": "boost", "score": 0.016895882785320282 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.05586816743016243 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 36980.0, "then": { "operation": "boost", "score": 0.04825780168175697 }, "else": { "operation": "boost", "score": -0.0607980340719223 } } } }, "else": { "operation": "boost", "score": -0.046476900577545166 } } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1036534309387207 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0927814394235611 }, "else": { "operation": "boost", "score": -0.051255401223897934 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.11628150194883347 }, "else": { "operation": "boost", "score": 0.037893783301115036 } }, "else": { "operation": "boost", "score": 0.1241949200630188 } }, "else": { "operation": "boost", "score": 0.026205414906144142 } } }, "else": { "operation": "boost", "score": -0.016951261088252068 } } } } } }, "else": { "operation": "boost", "score": -0.041544605046510696 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002076759934425354 }, "else": { "operation": "boost", "score": 0.00850109662860632 } }, "else": { "operation": "boost", "score": -2.8240128813195042e-06 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292981.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "boost", "score": 0.004716977477073669 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.11111972481012344 }, "else": { "operation": "boost", "score": -0.2852419912815094 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1277230978012085 }, "else": { "operation": "boost", "score": 0.09033071249723434 } } }, "else": { "operation": "boost", "score": 0.006714810151606798 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "boost", "score": -0.17579662799835205 }, "else": { "operation": "boost", "score": 0.0009848774643614888 } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 14372.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15158.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15677.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16126.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16170.5, "then": { "operation": "boost", "score": 0.003436499275267124 }, "else": { "operation": "boost", "score": -0.17235681414604187 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.007215278688818216 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1074118.5, "then": { "operation": "boost", "score": 0.08231926709413528 }, "else": { "operation": "boost", "score": -0.04824540764093399 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07480168342590332 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16033.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.15192297101020813 }, "else": { "operation": "boost", "score": 0.08925667405128479 } }, "else": { "operation": "boost", "score": 0.1642187535762787 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08919265121221542 }, "else": { "operation": "boost", "score": -0.07123707234859467 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15964.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12057824432849884 }, "else": { "operation": "boost", "score": 0.12910480797290802 } }, "else": { "operation": "boost", "score": 0.10093075037002563 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15687.5, "then": { "operation": "boost", "score": 0.035667113959789276 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.014867128804326057 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.18368585407733917 }, "else": { "operation": "boost", "score": 0.1083170473575592 } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.1198127344250679 }, "else": { "operation": "boost", "score": 0.026115750893950462 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15389.0, "then": { "operation": "boost", "score": -0.09925859421491623 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06703482568264008 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.06315435469150543 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.12386784702539444 }, "else": { "operation": "boost", "score": 0.06931983679533005 } }, "else": { "operation": "boost", "score": -0.06257608532905579 } } }, "else": { "operation": "boost", "score": -0.050584230571985245 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15079.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.031658679246902466 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.09188617765903473 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.1577855944633484 }, "else": { "operation": "boost", "score": 0.157576322555542 } }, "else": { "operation": "boost", "score": -0.11666391789913177 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14845.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10996665060520172 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.003976177424192429 }, "else": { "operation": "boost", "score": 0.09200970828533173 } } }, "else": { "operation": "boost", "score": -0.02041461504995823 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14599.5, "then": { "operation": "boost", "score": 0.011080422438681126 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.5739210247993469 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.14549696445465088 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.17312155663967133 }, "else": { "operation": "boost", "score": 0.03719789534807205 } } }, "else": { "operation": "boost", "score": -0.055069562047719955 } } } } } }, "else": { "operation": "boost", "score": 0.0019320267019793391 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14187.0, "then": { "operation": "boost", "score": -0.11677736043930054 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14112.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10361836850643158 }, "else": { "operation": "boost", "score": 0.10755576193332672 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12748.5, "then": { "operation": "boost", "score": -0.08568226546049118 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12677.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12720.5, "then": { "operation": "boost", "score": 0.042771317064762115 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.09045524150133133 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Type" ], "then": { "operation": "boost", "score": 0.14198987185955048 }, "else": { "operation": "boost", "score": 0.10569652169942856 } } } }, "else": { "operation": "boost", "score": 0.014368527568876743 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.014791684225201607 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Namespace" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02380952425301075, "then": { "operation": "boost", "score": -0.023854410275816917 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 178.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 729.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1549.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3480.5, "then": { "operation": "boost", "score": 0.042773108929395676 }, "else": { "operation": "boost", "score": 0.12337666749954224 } }, "else": { "operation": "boost", "score": -0.2986131012439728 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 365.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.16912853717803955 }, "else": { "operation": "boost", "score": 0.03006824478507042 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 219.0, "then": { "operation": "boost", "score": -0.10125704109668732 }, "else": { "operation": "boost", "score": 0.16579711437225342 } } } }, "else": { "operation": "boost", "score": 0.040245942771434784 } }, "else": { "operation": "boost", "score": 0.1771744042634964 } }, "else": { "operation": "boost", "score": -0.11804169416427612 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1585.5, "then": { "operation": "boost", "score": -0.019258154556155205 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1102.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1302.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1438.5, "then": { "operation": "boost", "score": 0.19504515826702118 }, "else": { "operation": "boost", "score": -0.1402643322944641 } }, "else": { "operation": "boost", "score": 0.10733944177627563 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1032.0, "then": { "operation": "boost", "score": -0.9011546969413757 }, "else": { "operation": "boost", "score": 0.08076095581054688 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Namespace", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.09016178548336029 }, "else": { "operation": "boost", "score": -0.016475439071655273 } } } }, "else": { "operation": "boost", "score": 0.006311174016445875 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.010866246186196804 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0771169438958168 }, "else": { "operation": "boost", "score": -0.18406878411769867 } }, "else": { "operation": "boost", "score": -0.009550091810524464 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.05285480618476868 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "boost", "score": 0.07120689749717712 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2153846174478531, "then": { "operation": "boost", "score": -0.2538992464542389 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1678321659564972, "then": { "operation": "boost", "score": 0.2578906714916229 }, "else": { "operation": "boost", "score": -0.1719723492860794 } } }, "else": { "operation": "boost", "score": 0.031575415283441544 } } } }, "else": { "operation": "boost", "score": 0.07402250170707703 } }, "else": { "operation": "boost", "score": 0.0027213534340262413 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19090908765792847, "then": { "operation": "boost", "score": -0.07064452767372131 }, "else": { "operation": "boost", "score": 0.0954703614115715 } }, "else": { "operation": "boost", "score": 0.022819215431809425 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.08671228587627411 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.00786390621215105 }, "else": { "operation": "boost", "score": 0.08091912418603897 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1011577770113945 }, "else": { "operation": "boost", "score": -0.02129954844713211 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.25833332538604736, "then": { "operation": "boost", "score": 0.014212153851985931 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.006734130904078484 }, "else": { "operation": "boost", "score": -0.08410437405109406 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.013419484719634056 }, "else": { "operation": "boost", "score": -0.2824150323867798 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.5196470618247986 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "boost", "score": 0.031172320246696472 }, "else": { "operation": "boost", "score": 0.06027568504214287 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.00609182845801115 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": 0.02416215091943741 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.18290702998638153 }, "else": { "operation": "boost", "score": 0.17941200733184814 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10515424609184265 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.016135310754179955 }, "else": { "operation": "boost", "score": 0.09654080867767334 } } } } } } }, "else": { "operation": "boost", "score": 0.007525093853473663 } } } }, "else": { "operation": "boost", "score": -0.000749573518987745 } } }, "else": { "operation": "boost", "score": 0.004157901741564274 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.00794640090316534 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12934.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12997.5, "then": { "operation": "boost", "score": 0.049631934612989426 }, "else": { "operation": "boost", "score": 0.12626834213733673 } }, "else": { "operation": "boost", "score": 0.011487902142107487 } } }, "else": { "operation": "boost", "score": -0.09908746927976608 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11245.0, "then": { "operation": "boost", "score": 0.08141900599002838 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.39230769872665405, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.024914102628827095 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44.5, "then": { "operation": "boost", "score": 0.013875874690711498 }, "else": { "operation": "boost", "score": 0.12330986559391022 } }, "else": { "operation": "boost", "score": 0.047345831990242004 } } }, "else": { "operation": "boost", "score": -0.017665443941950798 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13823.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": -0.3091064393520355 }, "else": { "operation": "boost", "score": -0.0713181421160698 } }, "else": { "operation": "boost", "score": 0.0049867648631334305 } } }, "else": { "operation": "boost", "score": -0.004249603021889925 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0004911479772999883 }, "else": { "operation": "boost", "score": -0.002238690387457609 } } } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 2396.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2397.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8200.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8292.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 269251.0, "then": { "operation": "boost", "score": 0.023905357345938683 }, "else": { "operation": "boost", "score": -0.49215441942214966 } }, "else": { "operation": "boost", "score": -0.010008485987782478 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234850.0, "then": { "operation": "boost", "score": 0.03827682510018349 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220295.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09494727104902267 }, "else": { "operation": "boost", "score": -0.21192941069602966 } }, "else": { "operation": "boost", "score": -0.1677309274673462 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8347.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9853.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84795.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.027123363688588142 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.011113401502370834 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 106632.0, "then": { "operation": "boost", "score": 0.003862885059788823 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104857.0, "then": { "operation": "boost", "score": -1.3605698347091675 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.1905660480260849 }, "else": { "operation": "boost", "score": -0.02191457524895668 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 44011.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 45617.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46972.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 49656.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 58557.5, "then": { "operation": "boost", "score": -0.015273950062692165 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04963690787553787 }, "else": { "operation": "boost", "score": -0.045288845896720886 } } }, "else": { "operation": "boost", "score": -0.1608573943376541 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.5, "then": { "operation": "boost", "score": 0.05633223056793213 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.04961320012807846 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.0, "then": { "operation": "boost", "score": 0.09920187294483185 }, "else": { "operation": "boost", "score": -0.0469905249774456 } } } }, "else": { "operation": "boost", "score": 0.02812497317790985 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46338.5, "then": { "operation": "boost", "score": 0.06500621140003204 }, "else": { "operation": "boost", "score": -0.1668405681848526 } } } }, "else": { "operation": "boost", "score": -0.14278589189052582 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 34626.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35883.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38668.0, "then": { "operation": "boost", "score": 0.03111938387155533 }, "else": { "operation": "boost", "score": -0.16824868321418762 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.11288860440254211 }, "else": { "operation": "boost", "score": 0.06238013878464699 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 31.5, "then": { "operation": "boost", "score": 0.15384957194328308 }, "else": { "operation": "boost", "score": 0.01238479558378458 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9542.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9787.0, "then": { "operation": "boost", "score": -0.045203059911727905 }, "else": { "operation": "boost", "score": 0.2001359462738037 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.18665342032909393 }, "else": { "operation": "boost", "score": 0.01409200020134449 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.008884456939995289 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9261.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.09202835708856583 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10530094802379608 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.0, "then": { "operation": "boost", "score": 0.1676507145166397 }, "else": { "operation": "boost", "score": 0.17723728716373444 } } } }, "else": { "operation": "boost", "score": -0.10499357432126999 } }, "else": { "operation": "boost", "score": 0.09508862346410751 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8573.5, "then": { "operation": "boost", "score": -0.10369367152452469 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.15849409997463226 }, "else": { "operation": "boost", "score": 0.09932303428649902 } } } } } } }, "else": { "operation": "boost", "score": -0.18368320167064667 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "boost", "score": 0.2226387858390808 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": -0.11548933386802673 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8246.5, "then": { "operation": "boost", "score": -0.10912522673606873 }, "else": { "operation": "boost", "score": 0.15641610324382782 } } } } }, "else": { "operation": "boost", "score": -0.0022441952023655176 } }, "else": { "operation": "boost", "score": 0.10897723585367203 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4972.0, "then": { "operation": "boost", "score": -0.0020825418177992105 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4917.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.1347561627626419 }, "else": { "operation": "boost", "score": 0.12260854244232178 } }, "else": { "operation": "boost", "score": 0.10991588979959488 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4601.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.12578043341636658 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4794.0, "then": { "operation": "boost", "score": 0.11177250742912292 }, "else": { "operation": "boost", "score": 0.01650853455066681 } } }, "else": { "operation": "boost", "score": 0.27360421419143677 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.110075443983078 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12773491442203522 }, "else": { "operation": "boost", "score": 0.11353539675474167 } } }, "else": { "operation": "boost", "score": 0.06627727299928665 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2535.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4525.5, "then": { "operation": "boost", "score": 0.10079101473093033 }, "else": { "operation": "boost", "score": 0.027319665998220444 } }, "else": { "operation": "boost", "score": 0.15096576511859894 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "boost", "score": 0.1254696398973465 }, "else": { "operation": "boost", "score": -0.022149287164211273 } } }, "else": { "operation": "boost", "score": 0.012891126796603203 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.00523970415815711 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8851.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 749331.5, "then": { "operation": "boost", "score": 0.018654311075806618 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 432212.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.010871430858969688 }, "else": { "operation": "boost", "score": 0.08590350300073624 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.0, "then": { "operation": "boost", "score": -0.552549421787262 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0711483433842659, "then": { "operation": "boost", "score": -0.6644459962844849 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05436436086893082 }, "else": { "operation": "boost", "score": -0.23354637622833252 } } } } }, "else": { "operation": "boost", "score": -0.03107127919793129 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8831.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.17776896059513092 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.23273968696594238 }, "else": { "operation": "boost", "score": 0.14251470565795898 } }, "else": { "operation": "boost", "score": -0.11033426225185394 } }, "else": { "operation": "boost", "score": -0.1451665312051773 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2433.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3587.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7867.5, "then": { "operation": "boost", "score": -0.12955358624458313 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.019558610394597054 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3620.0, "then": { "operation": "boost", "score": 0.07516475766897202 }, "else": { "operation": "boost", "score": 0.11801634728908539 } } } }, "else": { "operation": "boost", "score": -0.07318396121263504 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.07045062631368637 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2422.0, "then": { "operation": "boost", "score": 0.15108948945999146 }, "else": { "operation": "boost", "score": 0.10539853572845459 } } } }, "else": { "operation": "boost", "score": -0.04221327602863312 } }, "else": { "operation": "boost", "score": -0.029283693060278893 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2477.5, "then": { "operation": "boost", "score": -0.009966242127120495 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2474.0, "then": { "operation": "boost", "score": 0.11258555203676224 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.09302167594432831 }, "else": { "operation": "boost", "score": 0.12268704175949097 } } }, "else": { "operation": "boost", "score": 0.06708860397338867 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.08375032991170883 }, "else": { "operation": "boost", "score": 0.11655398458242416 } }, "else": { "operation": "boost", "score": -0.1296103447675705 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.10574854165315628 }, "else": { "operation": "boost", "score": 0.0052376133389770985 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2433.0, "then": { "operation": "boost", "score": 0.020696060732007027 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2413.0, "then": { "operation": "boost", "score": 0.23673371970653534 }, "else": { "operation": "boost", "score": -0.04628428444266319 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.04161196947097778 }, "else": { "operation": "boost", "score": -0.058846160769462585 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2368.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05448847636580467 }, "else": { "operation": "boost", "score": 0.1148170605301857 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07948167622089386, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.07547356933355331 }, "else": { "operation": "boost", "score": -1.7412958145141602 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2376.0, "then": { "operation": "boost", "score": -0.2866320013999939 }, "else": { "operation": "boost", "score": 0.11853805929422379 } } }, "else": { "operation": "boost", "score": -0.08009068667888641 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2360.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2366.0, "then": { "operation": "boost", "score": -0.11890516430139542 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2363.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.049389176070690155 }, "else": { "operation": "boost", "score": 0.1333216279745102 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.21107201278209686 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.20263274013996124 }, "else": { "operation": "boost", "score": -0.25448375940322876 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.02745954506099224 }, "else": { "operation": "boost", "score": 0.1226196140050888 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10100223124027252 }, "else": { "operation": "boost", "score": -0.43217960000038147 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2329.5, "then": { "operation": "boost", "score": -0.06746812164783478 }, "else": { "operation": "boost", "score": -0.0001065232718246989 } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 400.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12837475538253784 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 520.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1729.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1739.5, "then": { "operation": "boost", "score": 0.0008853296749293804 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1735.5, "then": { "operation": "boost", "score": 0.13004910945892334 }, "else": { "operation": "boost", "score": -0.16222655773162842 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.04977458342909813 }, "else": { "operation": "boost", "score": -0.6737316250801086 } } }, "else": { "operation": "boost", "score": 0.1862826645374298 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1720.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1725.0, "then": { "operation": "boost", "score": -0.03302855044603348 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.1440725177526474 }, "else": { "operation": "boost", "score": -0.6841866970062256 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 773.5, "then": { "operation": "boost", "score": 0.023642759770154953 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 708.0, "then": { "operation": "boost", "score": 0.11952941119670868 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.08877469599246979 }, "else": { "operation": "boost", "score": -0.3363729417324066 } }, "else": { "operation": "boost", "score": 0.104281485080719 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 11.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 557.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.04781821742653847 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": -0.10556032508611679 }, "else": { "operation": "boost", "score": 0.12477510422468185 } } }, "else": { "operation": "boost", "score": 0.023806890472769737 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10047905892133713 }, "else": { "operation": "boost", "score": -0.14479847252368927 } } }, "else": { "operation": "boost", "score": -0.03812374919652939 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1673.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0639258399605751 }, "else": { "operation": "boost", "score": -0.8385810852050781 } }, "else": { "operation": "boost", "score": 0.04401693493127823 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 925.5, "then": { "operation": "boost", "score": 0.10826091468334198 }, "else": { "operation": "boost", "score": 0.10715515911579132 } }, "else": { "operation": "boost", "score": -0.04713503643870354 } }, "else": { "operation": "boost", "score": 0.0520903654396534 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.04399266466498375 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08937860280275345 }, "else": { "operation": "boost", "score": -0.1783074587583542 } }, "else": { "operation": "boost", "score": 0.06149536743760109 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1354.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1488.5, "then": { "operation": "boost", "score": -0.26196372509002686 }, "else": { "operation": "boost", "score": 0.120048888027668 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1032.0, "then": { "operation": "boost", "score": -0.3551044762134552 }, "else": { "operation": "boost", "score": -0.10422463715076447 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 849.0, "then": { "operation": "boost", "score": 0.1351213902235031 }, "else": { "operation": "boost", "score": 0.11499398201704025 } }, "else": { "operation": "boost", "score": 0.06431320309638977 } }, "else": { "operation": "boost", "score": 0.09008995443582535 } }, "else": { "operation": "boost", "score": -0.008608760312199593 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.02680942602455616 }, "else": { "operation": "boost", "score": -0.18533658981323242 } } }, "else": { "operation": "boost", "score": -0.01235773041844368 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 515.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.016651274636387825 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "boost", "score": 1.3732354640960693 }, "else": { "operation": "boost", "score": -0.11122173815965652 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.12372361123561859 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": 0.04390859231352806 }, "else": { "operation": "boost", "score": 0.11245977133512497 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.18032318353652954 }, "else": { "operation": "boost", "score": -0.012609558179974556 } } }, "else": { "operation": "boost", "score": 0.050010599195957184 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.3348950445652008 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.2997075319290161 }, "else": { "operation": "boost", "score": 0.09103676676750183 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 509.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 512.0, "then": { "operation": "boost", "score": 0.05087195336818695 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.13900914788246155 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.008547209203243256 }, "else": { "operation": "boost", "score": 0.34508296847343445 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 463.5, "then": { "operation": "boost", "score": 0.13487206399440765 }, "else": { "operation": "boost", "score": 0.016392644494771957 } }, "else": { "operation": "boost", "score": 0.049396611750125885 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 29.5, "then": { "operation": "boost", "score": 0.22740663588047028 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.15904514491558075 }, "else": { "operation": "boost", "score": 0.009609909728169441 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 460.0, "then": { "operation": "boost", "score": -0.3137515187263489 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 450.0, "then": { "operation": "boost", "score": 0.3232956826686859 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10101009905338287, "then": { "operation": "boost", "score": 0.29359865188598633 }, "else": { "operation": "boost", "score": -0.2597801685333252 } } } }, "else": { "operation": "boost", "score": 0.03782613202929497 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 402.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 413.5, "then": { "operation": "boost", "score": 0.007525804452598095 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 407.5, "then": { "operation": "boost", "score": 0.637587308883667 }, "else": { "operation": "boost", "score": 0.026734132319688797 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 448.0, "then": { "operation": "boost", "score": -0.10079535096883774 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 410.5, "then": { "operation": "boost", "score": 0.8630414605140686 }, "else": { "operation": "boost", "score": -0.10029690712690353 } } } }, "else": { "operation": "boost", "score": 0.027380799874663353 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 401.5, "then": { "operation": "boost", "score": 0.10420448333024979 }, "else": { "operation": "boost", "score": -0.10076640546321869 } } }, "else": { "operation": "boost", "score": -0.000949656474404037 } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 402.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 425.5, "then": { "operation": "boost", "score": 0.006160333286970854 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 423.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.3872886002063751 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.1520233154296875 }, "else": { "operation": "boost", "score": 0.11700215190649033 } }, "else": { "operation": "boost", "score": -0.025980817154049873 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.08711404353380203 }, "else": { "operation": "boost", "score": 0.17850558459758759 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 420.5, "then": { "operation": "boost", "score": 0.010423921048641205 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": 0.11806301027536392 }, "else": { "operation": "boost", "score": 0.08208002150058746 } } }, "else": { "operation": "boost", "score": -0.22486236691474915 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.09660042077302933 }, "else": { "operation": "boost", "score": -0.29416176676750183 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2916666865348816, "then": { "operation": "boost", "score": -0.4024444818496704 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 412.0, "then": { "operation": "boost", "score": 0.08883938193321228 }, "else": { "operation": "boost", "score": 0.22048388421535492 } }, "else": { "operation": "boost", "score": 0.0045706890523433685 } }, "else": { "operation": "boost", "score": -0.009299448691308498 } } } } } } }, "else": { "operation": "boost", "score": -0.33670252561569214 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08571428805589676, "then": { "operation": "boost", "score": 0.13121704757213593 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.06739600747823715 }, "else": { "operation": "boost", "score": 0.10938768088817596 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 350.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 371.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1269841343164444, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.05957870930433273 }, "else": { "operation": "boost", "score": 0.12246347218751907 } }, "else": { "operation": "boost", "score": 0.037004999816417694 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 394.5, "then": { "operation": "boost", "score": 0.0337512232363224 }, "else": { "operation": "boost", "score": 0.11556971818208694 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 365.0, "then": { "operation": "boost", "score": -0.3220646381378174 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 362.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.12964874505996704 }, "else": { "operation": "boost", "score": 0.014549179002642632 } }, "else": { "operation": "boost", "score": -0.14869514107704163 } }, "else": { "operation": "boost", "score": 0.10061187297105789 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.01888960972428322 }, "else": { "operation": "boost", "score": 0.1413698047399521 } }, "else": { "operation": "boost", "score": 0.022142842411994934 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 378.0, "then": { "operation": "boost", "score": 0.1182633638381958 }, "else": { "operation": "boost", "score": 0.018631037324666977 } } }, "else": { "operation": "boost", "score": -0.023937955498695374 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 349.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.11665608733892441 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 1.12201726436615 }, "else": { "operation": "boost", "score": -0.10172344744205475 } }, "else": { "operation": "boost", "score": 0.11506832391023636 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.0032907375134527683 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.38737550377845764 }, "else": { "operation": "boost", "score": -0.013839487917721272 } } } } }, "else": { "operation": "boost", "score": -0.00010970543371513486 } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 281926.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 296854.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.031295426189899445 }, "else": { "operation": "boost", "score": -0.004507748410105705 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.07417582720518112, "then": { "operation": "boost", "score": 0.06873972713947296 }, "else": { "operation": "boost", "score": -0.10432043671607971 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.5421934127807617 }, "else": { "operation": "boost", "score": -0.1783163845539093 } }, "else": { "operation": "boost", "score": -0.09621774405241013 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08476655185222626 }, "else": { "operation": "boost", "score": -0.053283508867025375 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.07075265794992447 }, "else": { "operation": "boost", "score": -0.6528893113136292 } }, "else": { "operation": "boost", "score": 0.11076274514198303 } }, "else": { "operation": "boost", "score": 0.06495919078588486 } }, "else": { "operation": "boost", "score": -0.324260413646698 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.13269709050655365 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.0359698086977005 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.09859632700681686 }, "else": { "operation": "boost", "score": -0.014151029288768768 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288840.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.014831248670816422 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.1679435521364212 }, "else": { "operation": "boost", "score": 0.09432502090930939 } }, "else": { "operation": "boost", "score": -0.06945838034152985 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.0, "then": { "operation": "boost", "score": 0.12767192721366882 }, "else": { "operation": "boost", "score": -0.31268030405044556 } }, "else": { "operation": "boost", "score": -1.51956045627594 } }, "else": { "operation": "boost", "score": 0.07043451070785522 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "boost", "score": 0.058304499834775925 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.0015706701669842005 }, "else": { "operation": "boost", "score": 0.10063745081424713 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 241916.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.08089202642440796 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 259656.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07166694849729538 }, "else": { "operation": "boost", "score": 0.02574242278933525 } }, "else": { "operation": "boost", "score": -0.050369199365377426 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": -0.13869446516036987 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.18601109087467194 }, "else": { "operation": "boost", "score": -0.11369666457176208 } } } }, "else": { "operation": "boost", "score": -0.08496607840061188 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.35709208250045776 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005505293142050505 }, "else": { "operation": "boost", "score": -0.3139163553714752 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 188273.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 205637.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.058893438428640366, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.06904762238264084, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Type" ], "then": { "operation": "boost", "score": 0.06888514012098312 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.1426474004983902 }, "else": { "operation": "boost", "score": -0.014854884706437588 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207505.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 236336.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.14986813068389893 }, "else": { "operation": "boost", "score": 0.0798070877790451 } }, "else": { "operation": "boost", "score": 0.06301087141036987 } }, "else": { "operation": "boost", "score": -0.1064625084400177 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02370517887175083 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.11456799507141113 }, "else": { "operation": "boost", "score": 0.054198555648326874 } }, "else": { "operation": "boost", "score": 0.12906064093112946 } } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.006369562353938818 }, "else": { "operation": "boost", "score": -0.020782532170414925 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_ParenthesizedExpression", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.063362255692482 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.05256890133023262 }, "else": { "operation": "boost", "score": -0.053720466792583466 } }, "else": { "operation": "boost", "score": 0.09107688814401627 } }, "else": { "operation": "boost", "score": -0.062398891896009445 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.08588682115077972 }, "else": { "operation": "boost", "score": -0.2284064143896103 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.17195433378219604 }, "else": { "operation": "boost", "score": 7.649235158169176e-06 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 176731.0, "then": { "operation": "boost", "score": -0.1624746173620224 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167779.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 168474.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 174936.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -0.11676454544067383 }, "else": { "operation": "boost", "score": 0.19685117900371552 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.11105549335479736 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.23320621252059937 }, "else": { "operation": "boost", "score": -0.006898452993482351 } } } }, "else": { "operation": "boost", "score": 0.09944237023591995 } }, "else": { "operation": "boost", "score": -0.14222627878189087 } }, "else": { "operation": "boost", "score": -0.1631610095500946 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.26550793647766113 }, "else": { "operation": "boost", "score": 0.03316781297326088 } }, "else": { "operation": "boost", "score": 0.08199143409729004 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.1309027373790741 }, "else": { "operation": "boost", "score": 0.13557124137878418 } }, "else": { "operation": "boost", "score": 0.12248382717370987 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.07668347656726837 }, "else": { "operation": "boost", "score": -0.024576162919402122 } } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12873734533786774 }, "else": { "operation": "boost", "score": 0.20148178935050964 } }, "else": { "operation": "boost", "score": -0.04299873113632202 } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.01054875273257494 }, "else": { "operation": "boost", "score": 0.1198827251791954 } }, "else": { "operation": "boost", "score": -0.013960087671875954 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154962.0, "then": { "operation": "boost", "score": -0.1535951793193817 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 96602.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104028.0, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118314.0, "then": { "operation": "boost", "score": -0.01746280863881111 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.07534519582986832 }, "else": { "operation": "boost", "score": 0.13032416999340057 } }, "else": { "operation": "boost", "score": 0.03892025724053383 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 118067.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_TopLevel" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.03801605477929115 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.11581224203109741 }, "else": { "operation": "boost", "score": -0.12088847160339355 } } }, "else": { "operation": "boost", "score": -0.02259795181453228 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.018165621906518936 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123453.5, "then": { "operation": "boost", "score": -0.020606009289622307 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.14130137860774994 }, "else": { "operation": "boost", "score": 0.0880635604262352 } } }, "else": { "operation": "boost", "score": 0.007915705442428589 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12122160196304321 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 111169.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1003953292965889 }, "else": { "operation": "boost", "score": -0.07616501301527023 } }, "else": { "operation": "boost", "score": 0.1067977100610733 } }, "else": { "operation": "boost", "score": 0.03239225223660469 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.009848738089203835 }, "else": { "operation": "boost", "score": -0.21622911095619202 } } } }, "else": { "operation": "boost", "score": -0.05488481745123863 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97095.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.25641778111457825 }, "else": { "operation": "boost", "score": -0.030925245955586433 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_SymbolOrNewName", "CCC_Type" ], "then": { "operation": "boost", "score": 0.0704089030623436 }, "else": { "operation": "boost", "score": 0.032139670103788376 } }, "else": { "operation": "boost", "score": -0.035577695816755295 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.07810285687446594 }, "else": { "operation": "boost", "score": -0.1623714119195938 } } }, "else": { "operation": "boost", "score": -0.0953838974237442 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.08789926022291183 }, "else": { "operation": "boost", "score": -0.07054077833890915 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94712.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.2329026460647583 }, "else": { "operation": "boost", "score": -0.136236771941185 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 93746.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.15768857300281525 }, "else": { "operation": "boost", "score": 0.06903241574764252 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.16390511393547058 }, "else": { "operation": "boost", "score": 0.0763019397854805 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.04701351001858711 }, "else": { "operation": "boost", "score": -0.17759619653224945 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 92754.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.3005571961402893 }, "else": { "operation": "boost", "score": -0.14650864899158478 } }, "else": { "operation": "boost", "score": -2.647299515956547e-05 } } } } } } } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 23.0, "then": { "operation": "boost", "score": 0.0015429881168529391 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09331991523504257 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 370.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.5174714922904968 }, "else": { "operation": "boost", "score": 0.17738579213619232 } }, "else": { "operation": "boost", "score": 0.12061329931020737 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.034857574850320816 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.040212482213974 }, "else": { "operation": "boost", "score": 0.23276428878307343 } }, "else": { "operation": "boost", "score": -0.06694477051496506 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 164679.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 189920.0, "then": { "operation": "boost", "score": 0.0209259781986475 }, "else": { "operation": "boost", "score": 0.20942412316799164 } }, "else": { "operation": "boost", "score": 0.0005075083463452756 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.009831731207668781 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 126.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 130.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.05902503803372383 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 292.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 321.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 918.0, "then": { "operation": "boost", "score": 0.02484084852039814 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.1065666526556015 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.22499999403953552, "then": { "operation": "boost", "score": 0.21867568790912628 }, "else": { "operation": "boost", "score": 0.11879018694162369 } } }, "else": { "operation": "boost", "score": 0.08938392996788025 } } }, "else": { "operation": "boost", "score": 0.1298217475414276 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 138.5, "then": { "operation": "boost", "score": -0.11959526687860489 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4166666865348816, "then": { "operation": "boost", "score": 0.1992049217224121 }, "else": { "operation": "boost", "score": -0.12167645245790482 } } }, "else": { "operation": "boost", "score": 0.09640556573867798 } } } }, "else": { "operation": "boost", "score": 0.16964471340179443 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7749999761581421, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 38.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 108.0, "then": { "operation": "boost", "score": -0.10042856633663177 }, "else": { "operation": "boost", "score": 0.16991069912910461 } }, "else": { "operation": "boost", "score": -0.060394518077373505 } }, "else": { "operation": "boost", "score": 0.34869569540023804 } }, "else": { "operation": "boost", "score": 0.05327622964978218 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19049.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20297.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105656.5, "then": { "operation": "boost", "score": 0.060098662972450256 }, "else": { "operation": "boost", "score": -0.1760711967945099 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.029374822974205017 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.09138517081737518 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.14248086512088776 }, "else": { "operation": "boost", "score": 0.08672924339771271 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 681.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.007917309179902077 }, "else": { "operation": "boost", "score": -0.09934641420841217 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 503.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 517.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.011962625198066235 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 582.0, "then": { "operation": "boost", "score": 0.3205339014530182 }, "else": { "operation": "boost", "score": 0.14653199911117554 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 673.5, "then": { "operation": "boost", "score": 0.21089406311511993 }, "else": { "operation": "boost", "score": -0.12227217853069305 } } } }, "else": { "operation": "boost", "score": 0.2386646270751953 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.03511384129524231 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 191.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.1650196760892868 }, "else": { "operation": "boost", "score": 0.013813690282404423 } }, "else": { "operation": "boost", "score": 0.011716785840690136 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 273.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 416.0, "then": { "operation": "boost", "score": -0.12471283227205276 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 301.5, "then": { "operation": "boost", "score": 0.17573629319667816 }, "else": { "operation": "boost", "score": -0.09325316548347473 } } }, "else": { "operation": "boost", "score": 0.06127307564020157 } }, "else": { "operation": "boost", "score": 0.16471584141254425 } }, "else": { "operation": "boost", "score": 0.03519279137253761 } } } } } } }, "else": { "operation": "boost", "score": -0.02406109869480133 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 84495.0, "then": { "operation": "boost", "score": -0.11358609795570374 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009935219772160053 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6604.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10529.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23209.0, "then": { "operation": "boost", "score": 0.1048809289932251 }, "else": { "operation": "boost", "score": 0.09703059494495392 } }, "else": { "operation": "boost", "score": 0.10875492542982101 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7182.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42248.5, "then": { "operation": "boost", "score": -0.1955985277891159 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11465.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11645.5, "then": { "operation": "boost", "score": 0.06158895790576935 }, "else": { "operation": "boost", "score": 0.1118076741695404 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10938.5, "then": { "operation": "boost", "score": -0.8431922793388367 }, "else": { "operation": "boost", "score": -0.23536594212055206 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 74740.0, "then": { "operation": "boost", "score": 0.07161418348550797 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10726.0, "then": { "operation": "boost", "score": -0.04163006320595741 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10513.0, "then": { "operation": "boost", "score": 0.17442716658115387 }, "else": { "operation": "boost", "score": 0.04501963034272194 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09166666865348816, "then": { "operation": "boost", "score": 0.13501079380512238 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0924689769744873 }, "else": { "operation": "boost", "score": -0.016072113066911697 } } } } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1666666716337204, "then": { "operation": "boost", "score": -0.9428240656852722 }, "else": { "operation": "boost", "score": -0.1082424744963646 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.085993193089962 }, "else": { "operation": "boost", "score": -0.14085322618484497 } } }, "else": { "operation": "boost", "score": -0.026773614808917046 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2019.0, "then": { "operation": "boost", "score": -0.09730472415685654 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 328.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 382.0, "then": { "operation": "boost", "score": 0.11840621381998062 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 348.5, "then": { "operation": "boost", "score": 0.1361626237630844 }, "else": { "operation": "boost", "score": 0.12257234007120132 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 285.0, "then": { "operation": "boost", "score": -0.4552386999130249 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 41.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12379911541938782 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 75.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 127.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 147.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 182.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 234.0, "then": { "operation": "boost", "score": 0.07170310616493225 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.20990408957004547 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 220.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.5, "then": { "operation": "boost", "score": 0.11395042389631271 }, "else": { "operation": "boost", "score": 0.18363142013549805 } }, "else": { "operation": "boost", "score": -0.13970310986042023 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.2525129020214081 }, "else": { "operation": "boost", "score": 0.10010304301977158 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 142.5, "then": { "operation": "boost", "score": 0.14137662947177887 }, "else": { "operation": "boost", "score": 0.0854564756155014 } } }, "else": { "operation": "boost", "score": -0.03335162252187729 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0625, "then": { "operation": "boost", "score": 0.2901301383972168 }, "else": { "operation": "boost", "score": 0.16155420243740082 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.07287029176950455 }, "else": { "operation": "boost", "score": 0.1650341898202896 } }, "else": { "operation": "boost", "score": 0.10337836295366287 } } } } }, "else": { "operation": "boost", "score": -0.1801603138446808 } } } }, "else": { "operation": "boost", "score": -0.07175672799348831 } } }, "else": { "operation": "boost", "score": -0.0313531793653965 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement" ], "then": { "operation": "boost", "score": 0.14740298688411713 }, "else": { "operation": "boost", "score": 0.09386081248521805 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.006773913279175758 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.5, "then": { "operation": "boost", "score": -0.015082494355738163 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 56.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 57.5, "then": { "operation": "boost", "score": -0.002633839612826705 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": -0.05038004741072655 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.145061656832695 }, "else": { "operation": "boost", "score": 0.21068528294563293 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.2282976508140564 }, "else": { "operation": "boost", "score": -0.10020150989294052 } } }, "else": { "operation": "boost", "score": 0.1981084793806076 } }, "else": { "operation": "boost", "score": -0.018175886943936348 } }, "else": { "operation": "boost", "score": 0.18287205696105957 } }, "else": { "operation": "boost", "score": -0.10041482746601105 } }, "else": { "operation": "boost", "score": 0.1590823531150818 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.15737693011760712 }, "else": { "operation": "boost", "score": 0.08494766801595688 } }, "else": { "operation": "boost", "score": -0.1410246342420578 } } }, "else": { "operation": "boost", "score": -0.10942725092172623 } } }, "else": { "operation": "boost", "score": 0.007488412316888571 } } }, "else": { "operation": "boost", "score": -0.013184066861867905 } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.1045546755194664 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0878027006983757 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.18485905230045319 }, "else": { "operation": "boost", "score": 0.06251801550388336 } }, "else": { "operation": "boost", "score": 0.004768875427544117 } } } } }, "else": { "operation": "boost", "score": -0.00017877877689898014 } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 1555.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1579.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Statement", "CCC_TopLevel", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1744.5, "then": { "operation": "boost", "score": 0.008687877096235752 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1722.5, "then": { "operation": "boost", "score": -0.14188867807388306 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": 0.12125390022993088 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1687.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1692.5, "then": { "operation": "boost", "score": 0.1314937323331833 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0555555559694767, "then": { "operation": "boost", "score": 0.04433638975024223 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.13178347051143646 }, "else": { "operation": "boost", "score": 0.16385358572006226 } } } }, "else": { "operation": "boost", "score": -0.14816270768642426 } }, "else": { "operation": "boost", "score": -0.03968014195561409 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": -1.2697627544403076 }, "else": { "operation": "boost", "score": -0.06129513308405876 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1290973573923111 }, "else": { "operation": "boost", "score": 0.08162941038608551 } } } } }, "else": { "operation": "boost", "score": 0.10384159535169601 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": -2.905709981918335 }, "else": { "operation": "boost", "score": -0.036420900374650955 } }, "else": { "operation": "boost", "score": 0.19629232585430145 } }, "else": { "operation": "boost", "score": 0.0012767926091328263 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.003961900249123573 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8851.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18715.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19362.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.16466939449310303 }, "else": { "operation": "boost", "score": -0.02256106026470661 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.08878932148218155 }, "else": { "operation": "boost", "score": 0.00663079833611846 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19307.0, "then": { "operation": "boost", "score": 0.09143432974815369 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.11592287570238113 }, "else": { "operation": "boost", "score": 0.1683274507522583 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18885.0, "then": { "operation": "boost", "score": -0.17445337772369385 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.0, "then": { "operation": "boost", "score": 0.10947050899267197 }, "else": { "operation": "boost", "score": -0.00015714671462774277 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": -0.10245569795370102 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19203.5, "then": { "operation": "boost", "score": 0.06501589715480804 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 19035.0, "then": { "operation": "boost", "score": 0.5199753046035767 }, "else": { "operation": "boost", "score": -0.13683603703975677 } } }, "else": { "operation": "boost", "score": -0.12370771914720535 } } }, "else": { "operation": "boost", "score": -0.0021875486709177494 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3095238208770752, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.1130913496017456 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13858.0, "then": { "operation": "boost", "score": -0.47954511642456055 }, "else": { "operation": "boost", "score": -0.06975921243429184 } } }, "else": { "operation": "boost", "score": -0.06259691715240479 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8831.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.16864913702011108 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.25085654854774475 }, "else": { "operation": "boost", "score": 0.13712479174137115 } }, "else": { "operation": "boost", "score": -0.10974394530057907 } }, "else": { "operation": "boost", "score": -0.1423344612121582 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.023149913176894188 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1593.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6106.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6801.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6811.5, "then": { "operation": "boost", "score": 0.08134081959724426 }, "else": { "operation": "boost", "score": 0.15200358629226685 } }, "else": { "operation": "boost", "score": -0.13215693831443787 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6080.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.0850372314453125, "then": { "operation": "boost", "score": 0.12847425043582916 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.1387777030467987 }, "else": { "operation": "boost", "score": -0.10490213334560394 } }, "else": { "operation": "boost", "score": 0.35684776306152344 } } }, "else": { "operation": "boost", "score": -0.10225098580121994 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4457.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4837.0, "then": { "operation": "boost", "score": -0.18516993522644043 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.10155461728572845 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4776.0, "then": { "operation": "boost", "score": -1.0065890550613403 }, "else": { "operation": "boost", "score": -0.38295623660087585 } } } }, "else": { "operation": "boost", "score": 0.0029164047446101904 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5826.0, "then": { "operation": "boost", "score": -0.11170349270105362 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5786.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.060486361384391785 }, "else": { "operation": "boost", "score": 0.3289269506931305 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5618.5, "then": { "operation": "boost", "score": -0.07750601321458817 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4794.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": 0.17904675006866455 }, "else": { "operation": "boost", "score": 0.08662839233875275 } }, "else": { "operation": "boost", "score": 0.037621211260557175 } } } } } } } }, "else": { "operation": "boost", "score": 0.43086761236190796 } } }, "else": { "operation": "boost", "score": -0.03133752942085266 } }, "else": { "operation": "boost", "score": -0.025448402389883995 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.03812247887253761 }, "else": { "operation": "boost", "score": 0.19464711844921112 } }, "else": { "operation": "boost", "score": 0.06791478395462036 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5856.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.11345526576042175 }, "else": { "operation": "boost", "score": -0.17925776541233063 } }, "else": { "operation": "boost", "score": 0.0033309566788375378 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace", "Type" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5077.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5124.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.1868683099746704 }, "else": { "operation": "boost", "score": 0.0889933854341507 } }, "else": { "operation": "boost", "score": 0.183158740401268 } }, "else": { "operation": "boost", "score": -0.057568080723285675 } }, "else": { "operation": "boost", "score": -0.1349417120218277 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1969.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3748.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1387716829776764 }, "else": { "operation": "boost", "score": -0.17042304575443268 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3540.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3678.0, "then": { "operation": "boost", "score": 0.10681584477424622 }, "else": { "operation": "boost", "score": 0.24124786257743835 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2690.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.014840011484920979 }, "else": { "operation": "boost", "score": 0.10833698511123657 } }, "else": { "operation": "boost", "score": 0.0835951417684555 } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07893172651529312 }, "else": { "operation": "boost", "score": -0.08674836158752441 } } } }, "else": { "operation": "boost", "score": 0.01739048957824707 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0068029314279556274 }, "else": { "operation": "boost", "score": -0.027305129915475845 } }, "else": { "operation": "boost", "score": -0.03673269972205162 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1566.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.13215899467468262 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1568.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03439278155565262 }, "else": { "operation": "boost", "score": 0.1558781862258911 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.1007649153470993 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": 0.13288740813732147 }, "else": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10030864924192429 }, "else": { "operation": "boost", "score": 0.13299186527729034 } } } } }, "else": { "operation": "boost", "score": 0.0460042729973793 } }, "else": { "operation": "boost", "score": 0.3869872987270355 } }, "else": { "operation": "boost", "score": -0.15220601856708527 } } }, "else": { "operation": "boost", "score": -0.1751904934644699 } }, "else": { "operation": "boost", "score": -0.02157590351998806 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.006084270775318146 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1611.0, "then": { "operation": "boost", "score": 0.03930741548538208 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11895234137773514 }, "else": { "operation": "boost", "score": 0.13932304084300995 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown" ], "then": { "operation": "boost", "score": 0.03284883126616478 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8334.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.09526800364255905 }, "else": { "operation": "boost", "score": 0.15098170936107635 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4719.5, "then": { "operation": "boost", "score": -0.2438717633485794 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "boost", "score": 0.10596461594104767 }, "else": { "operation": "boost", "score": -0.07216344773769379 } } } }, "else": { "operation": "boost", "score": -0.06192656606435776 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1512.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1521.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1523.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.03485521674156189 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.14583592116832733 }, "else": { "operation": "boost", "score": 0.025046277791261673 } } }, "else": { "operation": "boost", "score": -0.04492493346333504 } }, "else": { "operation": "boost", "score": -0.13184572756290436 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.10507338494062424 }, "else": { "operation": "boost", "score": 0.448640912771225 } }, "else": { "operation": "boost", "score": -0.001876489957794547 } } }, "else": { "operation": "boost", "score": -0.14357411861419678 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1481.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1482.5, "then": { "operation": "boost", "score": 0.03954660892486572 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.15499138832092285 }, "else": { "operation": "boost", "score": 0.09926671534776688 } } }, "else": { "operation": "boost", "score": -0.00010643956193234771 } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 241.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.1268998086452484 }, "else": { "operation": "boost", "score": -1.0331112146377563 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 288.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 336.0, "then": { "operation": "boost", "score": 0.07753023505210876 }, "else": { "operation": "boost", "score": -0.3779848515987396 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.009385636076331139 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 51239.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.06449019908905029 }, "else": { "operation": "boost", "score": -0.08541536331176758 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40237.5, "then": { "operation": "boost", "score": 0.07886287569999695 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25182.5, "then": { "operation": "boost", "score": -0.09790457785129547 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20931.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22489.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23486.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.06638634204864502 }, "else": { "operation": "boost", "score": 0.11061322689056396 } }, "else": { "operation": "boost", "score": 0.07829564809799194 } }, "else": { "operation": "boost", "score": 0.004128854721784592 } }, "else": { "operation": "boost", "score": 0.11142141371965408 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2764.5, "then": { "operation": "boost", "score": 0.00044169023749418557 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2694.0, "then": { "operation": "boost", "score": 0.1404479295015335 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 544.0, "then": { "operation": "boost", "score": 0.0660799965262413 }, "else": { "operation": "boost", "score": -0.25998497009277344 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2481.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2586.5, "then": { "operation": "boost", "score": -0.056465648114681244 }, "else": { "operation": "boost", "score": 0.12255379557609558 } }, "else": { "operation": "boost", "score": 0.0748426541686058 } } } } }, "else": { "operation": "boost", "score": 0.10290754586458206 } }, "else": { "operation": "boost", "score": -0.04230573773384094 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5676.5, "then": { "operation": "boost", "score": 0.007184337358921766 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 398.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 413.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4846.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5588.0, "then": { "operation": "boost", "score": 0.1504121571779251 }, "else": { "operation": "boost", "score": 0.1271512508392334 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1610.0, "then": { "operation": "boost", "score": -0.0075683495961129665 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.165486678481102 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 474.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 735.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 801.5, "then": { "operation": "boost", "score": 0.07922881841659546 }, "else": { "operation": "boost", "score": 0.09665475785732269 } }, "else": { "operation": "boost", "score": -0.12684877216815948 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 469.5, "then": { "operation": "boost", "score": 0.15219949185848236 }, "else": { "operation": "boost", "score": -0.10066668689250946 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 587.5, "then": { "operation": "boost", "score": -0.12310443818569183 }, "else": { "operation": "boost", "score": 0.15812022984027863 } } } } } }, "else": { "operation": "boost", "score": 0.16281571984291077 } }, "else": { "operation": "boost", "score": -0.11996226012706757 } } }, "else": { "operation": "boost", "score": 0.0346715934574604 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6049.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 17887.5, "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10160122811794281 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 25182.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26674.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 31025.5, "then": { "operation": "boost", "score": -0.005454115103930235 }, "else": { "operation": "boost", "score": -0.726635754108429 } }, "else": { "operation": "boost", "score": 0.012451714836061 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.0, "then": { "operation": "boost", "score": -0.06815849244594574 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": 0.11735693365335464 }, "else": { "operation": "boost", "score": -0.9530847668647766 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21679.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23210.5, "then": { "operation": "boost", "score": -0.14458610117435455 }, "else": { "operation": "boost", "score": -0.22291678190231323 } }, "else": { "operation": "boost", "score": 0.00394959282130003 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 16658.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.1283947229385376 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.12702807784080505 }, "else": { "operation": "boost", "score": 0.12864433228969574 } } }, "else": { "operation": "boost", "score": -0.11280521750450134 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12410.5, "then": { "operation": "boost", "score": -0.03348054736852646 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12012.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.12065654247999191 }, "else": { "operation": "boost", "score": -0.10743768513202667 } }, "else": { "operation": "boost", "score": 0.036025553941726685 } } } } }, "else": { "operation": "boost", "score": -0.10074985027313232 } } } } }, "else": { "operation": "boost", "score": -0.0009520204039290547 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 269.5, "then": { "operation": "boost", "score": 0.16448372602462769 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 257.5, "then": { "operation": "boost", "score": -0.292710542678833 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": 0.22632081806659698 }, "else": { "operation": "boost", "score": -0.10185285657644272 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.027746008709073067 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 271.0, "then": { "operation": "boost", "score": -0.048667456954717636 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 266.5, "then": { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0666932687163353 }, "else": { "operation": "boost", "score": 0.12669359147548676 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 253.5, "then": { "operation": "boost", "score": 0.054748326539993286 }, "else": { "operation": "boost", "score": 0.10953360795974731 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 253.5, "then": { "operation": "boost", "score": 0.1628420650959015 }, "else": { "operation": "boost", "score": 0.1413295418024063 } } } }, "else": { "operation": "boost", "score": -0.07736653089523315 } } } }, "else": { "operation": "boost", "score": -0.2410362958908081 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_Namespace", "CCC_SymbolOrNewName" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 284.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.002970025409013033 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.1573547124862671 }, "else": { "operation": "boost", "score": 0.15805412828922272 } }, "else": { "operation": "boost", "score": 0.17964449524879456 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 280.5, "then": { "operation": "boost", "score": -0.3233964145183563 }, "else": { "operation": "boost", "score": 0.021879706531763077 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 243.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 277.5, "then": { "operation": "boost", "score": 0.41839155554771423 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 260.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 263.0, "then": { "operation": "boost", "score": 0.07223904877901077 }, "else": { "operation": "boost", "score": 0.12597782909870148 } }, "else": { "operation": "boost", "score": -0.04171483963727951 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 246.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 276.5, "then": { "operation": "boost", "score": -0.16721279919147491 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 274.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.5199325680732727 }, "else": { "operation": "boost", "score": -0.10507597774267197 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.045807845890522 }, "else": { "operation": "boost", "score": 0.17115117609500885 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 245.5, "then": { "operation": "boost", "score": 1.127785563468933 }, "else": { "operation": "boost", "score": -0.2880023717880249 } } } }, "else": { "operation": "boost", "score": 0.14871732890605927 } } }, "else": { "operation": "boost", "score": -0.0021898173727095127 } }, "else": { "operation": "boost", "score": -0.05333375930786133 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": -0.010210234671831131 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8333333730697632, "then": { "operation": "boost", "score": 0.12048441171646118 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.16683749854564667 }, "else": { "operation": "boost", "score": 0.030186593532562256 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.007838794961571693 }, "else": { "operation": "boost", "score": -0.47610563039779663 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 269.5, "then": { "operation": "boost", "score": -0.0015039937570691109 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 261.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264.5, "then": { "operation": "boost", "score": 0.15595921874046326 }, "else": { "operation": "boost", "score": -0.1001751720905304 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 264.5, "then": { "operation": "boost", "score": -0.08346358686685562 }, "else": { "operation": "boost", "score": 0.2664181888103485 } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.048389602452516556 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.2747901678085327 }, "else": { "operation": "boost", "score": -0.13398104906082153 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.028771312907338142 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0624324306845665 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1163058653473854 }, "else": { "operation": "boost", "score": 0.08223658800125122 } }, "else": { "operation": "boost", "score": 0.03304189071059227 } } } }, "else": { "operation": "boost", "score": -0.03910832479596138 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 242.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.06852363049983978 }, "else": { "operation": "boost", "score": -0.4223736822605133 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 284.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 286.5, "then": { "operation": "boost", "score": -0.08933385461568832 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.07622405886650085 }, "else": { "operation": "boost", "score": 0.24437279999256134 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 278.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 279.5, "then": { "operation": "boost", "score": 0.025092054158449173 }, "else": { "operation": "boost", "score": -0.48539435863494873 } }, "else": { "operation": "boost", "score": 0.06253645569086075 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.3750714361667633 }, "else": { "operation": "boost", "score": -0.14295485615730286 } } } } } } } } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.015830520540475845 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1122.5, "then": { "operation": "boost", "score": 0.026329917833209038 }, "else": { "operation": "boost", "score": 0.1316874772310257 } }, "else": { "operation": "boost", "score": -0.0045789810828864574 } } }, "else": { "operation": "boost", "score": 0.008290800265967846 } } }, "else": { "operation": "boost", "score": -0.0001333508116658777 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.06888487935066223 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -0.10015922039747238 }, "else": { "operation": "boost", "score": 0.14464855194091797 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.12604033946990967 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "boost", "score": 0.07231831550598145 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.013260139152407646 }, "else": { "operation": "boost", "score": -0.10281042009592056 } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 319.0, "then": { "operation": "boost", "score": -0.16782313585281372 }, "else": { "operation": "boost", "score": 0.18392427265644073 } } }, "else": { "operation": "boost", "score": -0.08790931850671768 } }, "else": { "operation": "boost", "score": -0.12284376472234726 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3603896200656891, "then": { "operation": "boost", "score": 0.04606055095791817 }, "else": { "operation": "boost", "score": -0.15946657955646515 } }, "else": { "operation": "boost", "score": 0.004829882178455591 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.412372887134552 }, "else": { "operation": "boost", "score": -0.05329744517803192 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.09839562326669693 }, "else": { "operation": "boost", "score": 0.03690030798316002 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08012820780277252, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "boost", "score": -0.2598670721054077 }, "else": { "operation": "boost", "score": -0.037206169217824936 } }, "else": { "operation": "boost", "score": 0.0011574423406273127 } }, "else": { "operation": "boost", "score": -0.04297032952308655 } }, "else": { "operation": "boost", "score": 0.0024300136137753725 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Destructor", "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.06574668735265732 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.01897972822189331 }, "else": { "operation": "boost", "score": 0.024850964546203613 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 248.0, "then": { "operation": "boost", "score": 0.08151387423276901 }, "else": { "operation": "boost", "score": -0.08062668144702911 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1339285671710968, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.10599195957183838 }, "else": { "operation": "boost", "score": 0.0030060666613280773 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02777777798473835, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "boost", "score": -0.14996013045310974 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.0012803322169929743 }, "else": { "operation": "boost", "score": 0.07789546996355057 } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": -0.034827493131160736 }, "else": { "operation": "boost", "score": -0.4255882799625397 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.0, "then": { "operation": "boost", "score": 0.0264888983219862 }, "else": { "operation": "boost", "score": 0.07872215658426285 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2428571581840515, "then": { "operation": "boost", "score": 0.06314531713724136 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.0, "then": { "operation": "boost", "score": 0.02415599673986435 }, "else": { "operation": "boost", "score": -0.14642837643623352 } } }, "else": { "operation": "boost", "score": -0.004256896208971739 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 26.5, "then": { "operation": "boost", "score": -0.13580410182476044 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 25.5, "then": { "operation": "boost", "score": 0.12406844645738602 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.0027422751300036907 }, "else": { "operation": "boost", "score": 0.03196221590042114 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 46.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 52.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 123.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 543.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1782.5, "then": { "operation": "boost", "score": -0.05936073511838913 }, "else": { "operation": "boost", "score": 0.10892301052808762 } }, "else": { "operation": "boost", "score": -0.13757385313510895 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 69.5, "then": { "operation": "boost", "score": 0.08157094568014145 }, "else": { "operation": "boost", "score": -0.08400536328554153 } } }, "else": { "operation": "boost", "score": 0.1025359183549881 } }, "else": { "operation": "boost", "score": -0.06379066407680511 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30.5, "then": { "operation": "boost", "score": 0.04571031406521797 }, "else": { "operation": "boost", "score": 0.09970009326934814 } }, "else": { "operation": "boost", "score": -0.12227557599544525 } }, "else": { "operation": "boost", "score": -0.002143238903954625 } } } }, "else": { "operation": "boost", "score": 0.004356464371085167 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159.0, "then": { "operation": "boost", "score": -0.09945957362651825 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10795454680919647, "then": { "operation": "boost", "score": 0.1275872141122818 }, "else": { "operation": "boost", "score": 0.05958041176199913 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "boost", "score": -0.041157979518175125 }, "else": { "operation": "boost", "score": 0.10866162925958633 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": 0.04941990226507187 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.004966969136148691 }, "else": { "operation": "boost", "score": -0.24387513101100922 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.10357282310724258 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13908299803733826 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.2124442160129547 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09286628663539886 }, "else": { "operation": "boost", "score": -0.15983733534812927 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.1399676650762558 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "boost", "score": -0.06103752553462982 }, "else": { "operation": "boost", "score": 0.02692571096122265 } } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": 0.12138301879167557 }, "else": { "operation": "boost", "score": -0.11986231058835983 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16025641560554504, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.24469687044620514 }, "else": { "operation": "boost", "score": 0.0212522204965353 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.16640357673168182 }, "else": { "operation": "boost", "score": -0.4900897741317749 } }, "else": { "operation": "boost", "score": 0.19877974689006805 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.006718114018440247 }, "else": { "operation": "boost", "score": 0.07268214225769043 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.16593162715435028 }, "else": { "operation": "boost", "score": -0.031039318069815636 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.31623375415802 }, "else": { "operation": "boost", "score": -0.08202369511127472 } } } }, "else": { "operation": "boost", "score": 0.040157873183488846 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0009456570842303336 }, "else": { "operation": "boost", "score": -0.11964227259159088 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "boost", "score": 0.03401276469230652 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.008826185017824173 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "boost", "score": 0.11546450853347778 }, "else": { "operation": "boost", "score": 0.12598270177841187 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": -0.006255114916712046 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.002296584425494075 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": 0.052596356719732285 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2072.0, "then": { "operation": "boost", "score": -0.17331591248512268 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 331.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 382.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 490.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 680.5, "then": { "operation": "boost", "score": 0.07848618179559708 }, "else": { "operation": "boost", "score": 0.21124474704265594 } }, "else": { "operation": "boost", "score": -0.20709648728370667 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.13585598766803741 }, "else": { "operation": "boost", "score": 0.11072345823049545 } } }, "else": { "operation": "boost", "score": 0.06942299008369446 } } }, "else": { "operation": "boost", "score": -0.019381839781999588 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 379.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 380.5, "then": { "operation": "boost", "score": -0.0007738377316854894 }, "else": { "operation": "boost", "score": 0.09569630771875381 } }, "else": { "operation": "boost", "score": -0.026622993871569633 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.19724884629249573 }, "else": { "operation": "boost", "score": 0.017575297504663467 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.025119217112660408 }, "else": { "operation": "boost", "score": -0.10451851785182953 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.129031240940094 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.1348273605108261 }, "else": { "operation": "boost", "score": -0.05648605525493622 } }, "else": { "operation": "boost", "score": 0.1294974386692047 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3166666626930237, "then": { "operation": "boost", "score": 0.12174160778522491 }, "else": { "operation": "boost", "score": 0.13712915778160095 } }, "else": { "operation": "boost", "score": -0.1260802000761032 } }, "else": { "operation": "boost", "score": -0.038465678691864014 } }, "else": { "operation": "boost", "score": -0.0941653847694397 } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.10002081841230392 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.002562563633546233 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 154.5, "then": { "operation": "boost", "score": -0.11335763335227966 }, "else": { "operation": "boost", "score": 0.11350394040346146 } }, "else": { "operation": "boost", "score": -0.4684627950191498 } }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10257120430469513 }, "else": { "operation": "boost", "score": 0.006174413487315178 } } } } } }, "else": { "operation": "boost", "score": -0.0002726625825744122 } } }, { "operation": "if_greater", "feature": "IsNameInContext", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.003941553179174662 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.03637566417455673, "then": { "operation": "boost", "score": 0.0009560154867358506 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.122661292552948 }, "else": { "operation": "boost", "score": -0.10013674944639206 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4833333492279053, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5634920597076416, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.10657462477684021 }, "else": { "operation": "boost", "score": -0.015596055425703526 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.018798330798745155 }, "else": { "operation": "boost", "score": 0.05428960919380188 } }, "else": { "operation": "boost", "score": 0.03360579162836075 } }, "else": { "operation": "boost", "score": 0.01686001569032669 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.008437363430857658 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": 0.07032222300767899 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02264241874217987 }, "else": { "operation": "boost", "score": -0.32188138365745544 } } } } }, "else": { "operation": "boost", "score": -0.5574516654014587 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6794872283935547, "then": { "operation": "boost", "score": -0.0445987731218338 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12573713064193726 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Variable" ], "then": { "operation": "boost", "score": 0.10399049520492554 }, "else": { "operation": "boost", "score": 0.04542931169271469 } }, "else": { "operation": "boost", "score": 0.014974238350987434 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Macro", "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.09676487743854523 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -0.07436706125736237 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.11127707362174988 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.14460939168930054 }, "else": { "operation": "boost", "score": -0.2363811433315277 } } } } }, "else": { "operation": "boost", "score": -0.3350526988506317 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5773809552192688, "then": { "operation": "boost", "score": -0.10365808755159378 }, "else": { "operation": "boost", "score": 0.14336660504341125 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 4.5, "then": { "operation": "boost", "score": 0.38530778884887695 }, "else": { "operation": "boost", "score": -0.06617436558008194 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1130017638206482 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.054554253816604614 }, "else": { "operation": "boost", "score": -0.3498709499835968 } }, "else": { "operation": "boost", "score": 0.04850633069872856 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": 0.09529133886098862 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.06556855142116547 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.1129242479801178 }, "else": { "operation": "boost", "score": -0.24034520983695984 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": -0.11859754472970963 }, "else": { "operation": "boost", "score": 0.2757861018180847 } } } }, "else": { "operation": "boost", "score": -0.014042364433407784 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 21.5, "then": { "operation": "boost", "score": 0.08687737584114075 }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.0, "then": { "operation": "boost", "score": 0.14928047358989716 }, "else": { "operation": "boost", "score": -0.021406371146440506 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5227272510528564, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6515151262283325, "then": { "operation": "boost", "score": -0.2622244656085968 }, "else": { "operation": "boost", "score": -0.023147866129875183 } }, "else": { "operation": "boost", "score": -0.37846654653549194 } } } } } }, "else": { "operation": "boost", "score": -0.00980293657630682 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.08530192822217941 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.11959268152713776 }, "else": { "operation": "boost", "score": 0.017297251150012016 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "boost", "score": -0.25647881627082825 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.75, "then": { "operation": "boost", "score": 0.1588035225868225 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.09516482055187225 }, "else": { "operation": "boost", "score": -0.16854827105998993 } } } } }, "else": { "operation": "boost", "score": 0.0048643131740391254 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4226190447807312, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Keyword", "Macro", "Namespace", "Operator", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 10.5, "then": { "operation": "boost", "score": 0.1689758002758026 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope", "GlobalScope" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.001933225430548191 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.13502995669841766 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.10376816987991333 }, "else": { "operation": "boost", "score": 0.09949798136949539 } }, "else": { "operation": "boost", "score": 0.014941644854843616 } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.09995020180940628 }, "else": { "operation": "boost", "score": 0.024017345160245895 } }, "else": { "operation": "boost", "score": -0.08677633106708527 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.13762104511260986 }, "else": { "operation": "boost", "score": 0.10291269421577454 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.0, "then": { "operation": "boost", "score": 0.0639403834939003 }, "else": { "operation": "boost", "score": 0.11706038564443588 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.09152018278837204 }, "else": { "operation": "boost", "score": -0.13695178925991058 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11172333359718323 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.021739741787314415 }, "else": { "operation": "boost", "score": -0.1981862485408783 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4580419659614563, "then": { "operation": "boost", "score": 0.09466083347797394 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.44949495792388916, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.10160890966653824 }, "else": { "operation": "boost", "score": 0.03994712978601456 } }, "else": { "operation": "boost", "score": -0.026482488960027695 } }, "else": { "operation": "boost", "score": 0.012290822342038155 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "boost", "score": -0.052060581743717194 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.03869011253118515 }, "else": { "operation": "boost", "score": 0.09087934345006943 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.0, "then": { "operation": "boost", "score": 0.1115230992436409 }, "else": { "operation": "boost", "score": 0.025073692202568054 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": -0.018440399318933487 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.12415684014558792 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.1253291219472885 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.11188769340515137 }, "else": { "operation": "boost", "score": -0.21630682051181793 } } } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 23.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 24.5, "then": { "operation": "boost", "score": -0.03676316514611244 }, "else": { "operation": "boost", "score": 0.09211702644824982 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.04187364876270294 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "boost", "score": 0.060570862144231796 }, "else": { "operation": "boost", "score": 0.11721126735210419 } } }, "else": { "operation": "boost", "score": -0.17133170366287231 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.19566388428211212 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": -0.06481478363275528 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "boost", "score": -0.1553007960319519 }, "else": { "operation": "boost", "score": 0.1278047412633896 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.08640354126691818 }, "else": { "operation": "boost", "score": -0.3609648644924164 } }, "else": { "operation": "boost", "score": -0.05860811099410057 } } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": -0.21557879447937012 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0020179220009595156 }, "else": { "operation": "boost", "score": 0.06720230728387833 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4365079402923584, "then": { "operation": "boost", "score": -0.03920721262693405 }, "else": { "operation": "boost", "score": 0.05710090696811676 } } } }, "else": { "operation": "boost", "score": 0.06733213365077972 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.03305497765541077 }, "else": { "operation": "boost", "score": -0.8282231688499451 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.1604834645986557 }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.13638263940811157 }, "else": { "operation": "boost", "score": 0.008401981554925442 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": -0.000935611838940531 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.11623165011405945 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": -0.24621346592903137 }, "else": { "operation": "boost", "score": 0.10959303379058838 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.14019875228405 }, "else": { "operation": "boost", "score": 0.09731168299913406 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": -0.05866634100675583 }, "else": { "operation": "boost", "score": 0.12349960952997208 } }, "else": { "operation": "boost", "score": 0.00531875342130661 } }, "else": { "operation": "boost", "score": -0.1550494283437729 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": -0.03226972743868828 }, "else": { "operation": "boost", "score": -0.2640877664089203 } }, "else": { "operation": "boost", "score": -0.012654001824557781 } } } } } }, "else": { "operation": "boost", "score": -0.0006625697133131325 } } } } }, "else": { "operation": "boost", "score": -0.000307429232634604 } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 1650.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1658.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1729.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1739.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": 0.0019597213249653578 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2792207896709442, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1914.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63566.0, "then": { "operation": "boost", "score": 0.00636221282184124 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.08751855045557022 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5189.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.6234965324401855 }, "else": { "operation": "boost", "score": -0.18824368715286255 } }, "else": { "operation": "boost", "score": -0.06745928525924683 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1871.0, "then": { "operation": "boost", "score": 0.1608896404504776 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1763.5, "then": { "operation": "boost", "score": -0.18207405507564545 }, "else": { "operation": "boost", "score": 0.10647767782211304 } } } }, "else": { "operation": "boost", "score": 0.08236657828092575 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 33610.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 291408.0, "then": { "operation": "boost", "score": -0.08404858410358429 }, "else": { "operation": "boost", "score": -0.03387778252363205 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0195704847574234 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86511.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 112200.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 361524.5, "then": { "operation": "boost", "score": 0.10843934863805771 }, "else": { "operation": "boost", "score": -0.053235385566949844 } }, "else": { "operation": "boost", "score": 0.24763749539852142 } }, "else": { "operation": "boost", "score": -0.07657524198293686 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "boost", "score": 0.019418912008404732 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.7315252423286438 }, "else": { "operation": "boost", "score": -0.06026005744934082 } } } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.15513156354427338 }, "else": { "operation": "boost", "score": 0.12157131731510162 } }, "else": { "operation": "boost", "score": 0.047436103224754333 } }, "else": { "operation": "boost", "score": -0.035311974585056305 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30061.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 30388.0, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.004088114481419325 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10501693934202194 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.10723216086626053 }, "else": { "operation": "boost", "score": -0.013845370151102543 } }, "else": { "operation": "boost", "score": 0.08451903611421585 } } }, "else": { "operation": "boost", "score": -0.1382000595331192 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32960.5, "then": { "operation": "boost", "score": 0.18958355486392975 }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.17455394566059113 }, "else": { "operation": "boost", "score": 0.0031348983757197857 } }, "else": { "operation": "boost", "score": -0.056298062205314636 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13393740355968475 }, "else": { "operation": "boost", "score": -0.26250189542770386 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0012201581848785281 }, "else": { "operation": "boost", "score": -0.02735687792301178 } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1735.5, "then": { "operation": "boost", "score": 0.12402799725532532 }, "else": { "operation": "boost", "score": -0.15542860329151154 } }, "else": { "operation": "boost", "score": 0.04703996703028679 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.2099180668592453 }, "else": { "operation": "boost", "score": -0.042353902012109756 } } }, "else": { "operation": "boost", "score": -0.4232894778251648 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1722.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.13476771116256714 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.13083557784557343 }, "else": { "operation": "boost", "score": -0.17897403240203857 } } }, "else": { "operation": "boost", "score": -0.01463487558066845 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1664.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 13.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.1704103797674179 }, "else": { "operation": "boost", "score": -0.5163357853889465 } }, "else": { "operation": "boost", "score": -0.055958375334739685 } }, "else": { "operation": "boost", "score": -0.11858794093132019 } }, "else": { "operation": "boost", "score": 0.08533132821321487 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1688.0, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1805.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2357.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3177.0, "then": { "operation": "boost", "score": 0.01509677991271019 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3102.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3131.0, "then": { "operation": "boost", "score": 0.10930158942937851 }, "else": { "operation": "boost", "score": 0.11989159137010574 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2785.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.08116883039474487, "then": { "operation": "boost", "score": 0.1457548588514328 }, "else": { "operation": "boost", "score": -0.10849710553884506 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2570.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2678.0, "then": { "operation": "boost", "score": 0.14378581941127777 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.030658887699246407 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2632.0, "then": { "operation": "boost", "score": 0.11359670013189316 }, "else": { "operation": "boost", "score": 0.08304157853126526 } } } }, "else": { "operation": "boost", "score": 0.05037395656108856 } } } } }, "else": { "operation": "boost", "score": -0.05872928351163864 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1758.5, "then": { "operation": "boost", "score": 0.10070246458053589 }, "else": { "operation": "boost", "score": -0.1110176369547844 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.007267303299158812 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1909.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Variable" ], "then": { "operation": "boost", "score": 0.15767456591129303 }, "else": { "operation": "boost", "score": 0.02351256273686886 } }, "else": { "operation": "boost", "score": -0.18376129865646362 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1691.5, "then": { "operation": "boost", "score": 0.008313553407788277 }, "else": { "operation": "boost", "score": -0.15382680296897888 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1753.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2781.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.18333333730697632, "then": { "operation": "boost", "score": 0.04837379604578018 }, "else": { "operation": "boost", "score": -0.18352262675762177 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": -0.004777395166456699 }, "else": { "operation": "boost", "score": 0.10654772073030472 } } }, "else": { "operation": "boost", "score": -1.6892927885055542 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1683.0, "then": { "operation": "boost", "score": 0.15075752139091492 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1663.5, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.24772214889526367 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1666.0, "then": { "operation": "boost", "score": 0.08996894210577011 }, "else": { "operation": "boost", "score": 0.10354941338300705 } } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.13379856944084167 }, "else": { "operation": "boost", "score": -0.06404364854097366 } } } } } }, "else": { "operation": "boost", "score": 0.15479454398155212 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1631.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1633.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1634.5, "then": { "operation": "boost", "score": -0.06895124167203903 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.1002078577876091 }, "else": { "operation": "boost", "score": -0.11247396469116211 } }, "else": { "operation": "boost", "score": 0.1449742466211319 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.10820883512496948 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.38063791394233704 }, "else": { "operation": "boost", "score": -0.2580929100513458 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.035098522901535034, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.037749290466308594, "then": { "operation": "boost", "score": 0.0005038258386775851 }, "else": { "operation": "boost", "score": 0.12454614043235779 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function", "Macro", "Namespace", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_Expression", "CCC_Namespace", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": -0.0032362155616283417 }, "else": { "operation": "boost", "score": 0.002321674255654216 } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Expression", "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.03970589116215706 }, "else": { "operation": "boost", "score": 0.00782020203769207 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.03968654200434685 }, "else": { "operation": "boost", "score": 0.015406932681798935 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02066073566675186 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.013857178390026093 }, "else": { "operation": "boost", "score": 0.060925569385290146 } } } }, "else": { "operation": "boost", "score": 0.0044619617983698845 } } }, "else": { "operation": "boost", "score": 0.00025683673447929323 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Namespace", "Operator", "Type", "Unknown" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.008685861714184284 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1005.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1029.0, "then": { "operation": "boost", "score": 0.05546315759420395 }, "else": { "operation": "boost", "score": 0.22286051511764526 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 185.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 207.0, "then": { "operation": "boost", "score": 0.05559378117322922 }, "else": { "operation": "boost", "score": 0.2221812754869461 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.010855454951524734 }, "else": { "operation": "boost", "score": 0.0986408144235611 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 0.5, "then": { "operation": "boost", "score": -0.15154756605625153 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.07881946116685867 }, "else": { "operation": "boost", "score": 0.1415453851222992 } } }, "else": { "operation": "boost", "score": 0.016259105876088142 } } }, "else": { "operation": "boost", "score": -0.039887379854917526 } }, "else": { "operation": "boost", "score": -0.021599426865577698 } } } }, "else": { "operation": "boost", "score": -0.01926361210644245 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_EnumTag", "CCC_TopLevel", "CCC_Type", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1583.5, "then": { "operation": "boost", "score": 0.09315266460180283 }, "else": { "operation": "boost", "score": 0.005980568006634712 } }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.06539852172136307 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "boost", "score": 0.031332019716501236 }, "else": { "operation": "boost", "score": -0.03644685447216034 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 91.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.0, "then": { "operation": "boost", "score": 0.055959876626729965 }, "else": { "operation": "boost", "score": 0.10657303780317307 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.043958213180303574 }, "else": { "operation": "boost", "score": 0.0186348594725132 } } } } }, "else": { "operation": "boost", "score": -0.003792749485000968 } } } } } }, { "operation": "if_greater", "feature": "NumReferences", "threshold": 33.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 40.5, "then": { "operation": "boost", "score": 0.031030455604195595 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.01465646829456091 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": 0.11524037271738052 }, "else": { "operation": "boost", "score": 0.06709620356559753 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 32115.5, "then": { "operation": "boost", "score": 0.004720400087535381 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23667.0, "then": { "operation": "boost", "score": -0.044380225241184235 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 23608.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "boost", "score": 0.1064373180270195 }, "else": { "operation": "boost", "score": 0.12562298774719238 } }, "else": { "operation": "boost", "score": -0.24430054426193237 } }, "else": { "operation": "boost", "score": -0.009582629427313805 } } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.0021668740082532167 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2072.0, "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.30246877670288086 }, "else": { "operation": "boost", "score": -0.059871431440114975 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression", "CCC_Statement", "CCC_Symbol" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 330.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 382.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 490.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 499.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 664.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1053.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1449.5, "then": { "operation": "boost", "score": 0.12127300351858139 }, "else": { "operation": "boost", "score": 0.11032340675592422 } }, "else": { "operation": "boost", "score": 0.015248280018568039 } }, "else": { "operation": "boost", "score": 0.14379781484603882 } }, "else": { "operation": "boost", "score": 0.2692658007144928 } }, "else": { "operation": "boost", "score": -0.12774084508419037 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 350.5, "then": { "operation": "boost", "score": 0.13177724182605743 }, "else": { "operation": "boost", "score": 0.11927229166030884 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 285.0, "then": { "operation": "boost", "score": -0.26706916093826294 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 122.0, "then": { "operation": "boost", "score": 0.11428221315145493 }, "else": { "operation": "boost", "score": 0.030217887833714485 } }, "else": { "operation": "boost", "score": 0.15121924877166748 } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 70.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 78.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 140.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 224.5, "then": { "operation": "boost", "score": -0.10042140632867813 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 221.5, "then": { "operation": "boost", "score": 0.2335490584373474 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.0, "then": { "operation": "boost", "score": 0.14134478569030762 }, "else": { "operation": "boost", "score": -0.015340505167841911 } } } }, "else": { "operation": "boost", "score": 0.019264575093984604 } }, "else": { "operation": "boost", "score": 0.04042457044124603 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.11110593378543854 }, "else": { "operation": "boost", "score": 0.26144739985466003 } } }, "else": { "operation": "boost", "score": 0.04295538738369942 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 272.5, "then": { "operation": "boost", "score": 0.17781947553157806 }, "else": { "operation": "boost", "score": -0.02187265455722809 } }, "else": { "operation": "boost", "score": 0.0988236516714096 } } } }, "else": { "operation": "boost", "score": -0.11536994576454163 } } } }, "else": { "operation": "boost", "score": -0.05914588272571564 } } }, "else": { "operation": "boost", "score": -0.027746915817260742 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 155.5, "then": { "operation": "boost", "score": -0.0073180124163627625 }, "else": { "operation": "boost", "score": 0.12631849944591522 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 386.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 481.0, "then": { "operation": "boost", "score": 0.029987385496497154 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": 0.03539631515741348 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.16583319008350372 }, "else": { "operation": "boost", "score": 0.11973293125629425 } } } }, "else": { "operation": "boost", "score": 0.002764645731076598 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 392.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 407.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02500000037252903, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5077.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9132.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "boost", "score": -0.2789817154407501 }, "else": { "operation": "boost", "score": 0.04138734191656113 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8733.0, "then": { "operation": "boost", "score": 0.1451912373304367 }, "else": { "operation": "boost", "score": 0.09300302714109421 } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": 0.10218308120965958 }, "else": { "operation": "boost", "score": 0.11076421290636063 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17424243688583374, "then": { "operation": "boost", "score": -0.03910551592707634 }, "else": { "operation": "boost", "score": 0.021170955151319504 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.0030666403472423553 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 425.5, "then": { "operation": "boost", "score": -0.05738130956888199 }, "else": { "operation": "boost", "score": 0.14779603481292725 } } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06728598475456238 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 405.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_Type" ], "then": { "operation": "boost", "score": 0.15810289978981018 }, "else": { "operation": "boost", "score": -0.004677449353039265 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.11487694829702377 }, "else": { "operation": "boost", "score": 0.06181136518716812 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.05409356951713562, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 159.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.08454762399196625 }, "else": { "operation": "boost", "score": -1.0010098218917847 } }, "else": { "operation": "boost", "score": -0.012031342834234238 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.17483390867710114 }, "else": { "operation": "boost", "score": -0.15846489369869232 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 86.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 105.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "boost", "score": 0.13814754784107208 }, "else": { "operation": "boost", "score": 0.031177712604403496 } }, "else": { "operation": "boost", "score": -0.1166263073682785 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement", "CCC_SymbolOrNewName", "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 104.5, "then": { "operation": "boost", "score": 0.1632101833820343 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": 0.22511735558509827 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.13096722960472107 }, "else": { "operation": "boost", "score": 0.10514731705188751 } }, "else": { "operation": "boost", "score": 0.02146754041314125 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 98.5, "then": { "operation": "boost", "score": 0.17031744122505188 }, "else": { "operation": "boost", "score": 0.06024286895990372 } }, "else": { "operation": "boost", "score": -0.02750856801867485 } } } }, "else": { "operation": "boost", "score": -0.025028862059116364 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 248.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.10589097440242767 }, "else": { "operation": "boost", "score": -0.17402121424674988 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 100.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.08393162488937378 }, "else": { "operation": "boost", "score": -0.3084180951118469 } }, "else": { "operation": "boost", "score": -0.043504584580659866 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.10731977224349976 }, "else": { "operation": "boost", "score": -0.008047064766287804 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 178.0, "then": { "operation": "boost", "score": -0.5685726404190063 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 83.5, "then": { "operation": "boost", "score": -0.012046139687299728 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 54.0, "then": { "operation": "boost", "score": -0.5788741111755371 }, "else": { "operation": "boost", "score": -0.16768556833267212 } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 144.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.11437908560037613, "then": { "operation": "boost", "score": -0.07271773368120193 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 336.0, "then": { "operation": "boost", "score": -1.5273956060409546 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.051654551178216934 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "boost", "score": -0.21790462732315063 }, "else": { "operation": "boost", "score": -0.7003508806228638 } } } }, "else": { "operation": "boost", "score": -0.1878638118505478 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 141.5, "then": { "operation": "boost", "score": 0.10383682698011398 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 68.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.12111485749483109 }, "else": { "operation": "boost", "score": -0.6564322710037231 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.05254755914211273 }, "else": { "operation": "boost", "score": -0.08594613522291183 } } } } } } }, "else": { "operation": "boost", "score": -0.017717301845550537 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.4642857313156128, "then": { "operation": "boost", "score": 0.11233960092067719 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Type" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "boost", "score": 0.19080039858818054 }, "else": { "operation": "boost", "score": 0.01738603785634041 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 87.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 143.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.007869178429245949 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 303.0, "then": { "operation": "boost", "score": -0.19370664656162262 }, "else": { "operation": "boost", "score": -0.8457040786743164 } } }, "else": { "operation": "boost", "score": 0.03171764314174652 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "boost", "score": 0.12244383990764618 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "boost", "score": 0.11563542485237122 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 97.5, "then": { "operation": "boost", "score": -0.0444595031440258 }, "else": { "operation": "boost", "score": 0.13970276713371277 } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "boost", "score": 0.1262526959180832 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -1.0223981142044067 }, "else": { "operation": "boost", "score": 0.08834526687860489 } } }, "else": { "operation": "boost", "score": -0.038784317672252655 } }, "else": { "operation": "boost", "score": -0.08434858173131943 } } } } } } } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Unknown" ], "then": { "operation": "boost", "score": 0.09542221575975418 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 35.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_SymbolOrNewName" ], "then": { "operation": "boost", "score": 0.17587308585643768 }, "else": { "operation": "boost", "score": 0.054817404597997665 } }, "else": { "operation": "boost", "score": 0.13219377398490906 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0044594802893698215 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "boost", "score": 0.12825049459934235 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3353.5, "then": { "operation": "boost", "score": 0.10676737129688263 }, "else": { "operation": "boost", "score": -0.04646610468626022 } } } } } } }, "else": { "operation": "boost", "score": -0.000162396056111902 } }, { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21726.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21900.5, "then": { "operation": "boost", "score": 0.015042753890156746 }, "else": { "operation": "boost", "score": 0.11823438853025436 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 20310.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": -0.8019477128982544 }, "else": { "operation": "boost", "score": -0.1680881679058075 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6076923608779907, "then": { "operation": "boost", "score": -0.055605534464120865 }, "else": { "operation": "boost", "score": 0.017428813502192497 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.5357142686843872, "then": { "operation": "boost", "score": 0.06751266121864319 }, "else": { "operation": "boost", "score": -0.12863685190677643 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": 0.10521510988473892 }, "else": { "operation": "boost", "score": 0.05811610445380211 } } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.1001800149679184 }, "else": { "operation": "boost", "score": 0.12346936762332916 } }, "else": { "operation": "boost", "score": -0.06471586972475052 } }, "else": { "operation": "boost", "score": -0.14459455013275146 } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Macro", "Namespace", "Variable" ], "then": { "operation": "boost", "score": 0.0026526569854468107 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6611.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6799.0, "then": { "operation": "boost", "score": -0.09756159037351608 }, "else": { "operation": "boost", "score": -0.6611794829368591 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14642858505249023, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.16228070855140686, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1715686321258545, "then": { "operation": "boost", "score": -0.0005896731745451689 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.0018254911992698908 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess", "CCC_Symbol", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FunctionScope", "GlobalScope" ], "then": { "operation": "boost", "score": 0.15019452571868896 }, "else": { "operation": "boost", "score": -0.10074739158153534 } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12255699932575226 }, "else": { "operation": "boost", "score": 0.04826255887746811 } }, "else": { "operation": "boost", "score": 0.0232253298163414 } } }, "else": { "operation": "boost", "score": 0.011973950080573559 } } }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "boost", "score": -0.10484608262777328 }, "else": { "operation": "boost", "score": -0.010752484202384949 } } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": -0.109196238219738 }, "else": { "operation": "boost", "score": 0.31292545795440674 } }, "else": { "operation": "boost", "score": 0.07975086569786072 } }, "else": { "operation": "boost", "score": -0.12577423453330994 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.02347460761666298 }, "else": { "operation": "boost", "score": -0.023560497909784317 } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": 0.023125408217310905 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": 0.06131017953157425 }, "else": { "operation": "boost", "score": -0.10267515480518341 } }, "else": { "operation": "boost", "score": 0.00892975926399231 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1396103948354721, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.006884464994072914 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_SymbolOrNewName", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "if_member", "feature": "Scope", "set": [ "FileScope" ], "then": { "operation": "boost", "score": 0.12359613925218582 }, "else": { "operation": "if_greater", "feature": "IsInBaseClass", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_DotMemberAccess" ], "then": { "operation": "boost", "score": 0.11532542109489441 }, "else": { "operation": "boost", "score": 0.04781370609998703 } }, "else": { "operation": "boost", "score": 0.031373415142297745 } } }, "else": { "operation": "boost", "score": 0.03744969144463539 } }, "else": { "operation": "boost", "score": -0.042208172380924225 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Statement" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12132352590560913, "then": { "operation": "boost", "score": 0.17776106297969818 }, "else": { "operation": "boost", "score": 0.1136232390999794 } }, "else": { "operation": "boost", "score": 0.012953737750649452 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.12916666269302368, "then": { "operation": "if_greater", "feature": "IsInstanceMember", "threshold": 0.5, "then": { "operation": "boost", "score": -0.11442946642637253 }, "else": { "operation": "boost", "score": -0.022473420947790146 } }, "else": { "operation": "boost", "score": -0.015284799970686436 } } } } } }, "else": { "operation": "boost", "score": 0.10574447363615036 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": -0.005086633842438459 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.0005745849339291453 }, "else": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2.0, "then": { "operation": "boost", "score": -0.1002112627029419 }, "else": { "operation": "boost", "score": 0.6840763688087463 } }, "else": { "operation": "boost", "score": -0.1035672202706337 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": 0.0035142838023602962 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": -0.028697824105620384 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": -0.05850893259048462 }, "else": { "operation": "boost", "score": 0.05635109171271324 } } } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 911.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7475.5, "then": { "operation": "boost", "score": 0.02327469177544117 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7108.5, "then": { "operation": "boost", "score": -0.1829959899187088 }, "else": { "operation": "boost", "score": -0.03159508481621742 } } }, "else": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.17914438247680664, "then": { "operation": "boost", "score": 0.015428273007273674 }, "else": { "operation": "boost", "score": -0.02943468652665615 } }, "else": { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "boost", "score": 0.009336247108876705 }, "else": { "operation": "boost", "score": -0.009201622568070889 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 781.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.05644388124346733 }, "else": { "operation": "boost", "score": 0.102462999522686 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 737.5, "then": { "operation": "boost", "score": -0.16059575974941254 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8660714626312256, "then": { "operation": "boost", "score": -0.025143345817923546 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.8166666626930237, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": -0.1045817956328392 }, "else": { "operation": "boost", "score": 0.11890292167663574 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.1088143065571785 }, "else": { "operation": "boost", "score": -0.007253664080053568 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Type" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 6.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 393.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 419.5, "then": { "operation": "boost", "score": 0.053612664341926575 }, "else": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.11496259272098541 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.1212826743721962 }, "else": { "operation": "boost", "score": 0.14084501564502716 } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2124060094356537, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2182539701461792, "then": { "operation": "boost", "score": 0.019438592717051506 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 12.5, "then": { "operation": "boost", "score": 0.07255212217569351 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 11.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "boost", "score": 0.12160718441009521 }, "else": { "operation": "boost", "score": -0.10149089992046356 } }, "else": { "operation": "boost", "score": 0.08774050325155258 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.11200828105211258 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.16622856259346008 }, "else": { "operation": "boost", "score": -0.10972248762845993 } } } } }, "else": { "operation": "boost", "score": 0.010405868291854858 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.14835165441036224, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": 0.005966537166386843 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 3.0, "then": { "operation": "boost", "score": 0.13023339211940765 }, "else": { "operation": "boost", "score": 0.08910952508449554 } }, "else": { "operation": "boost", "score": 0.007210799492895603 } }, "else": { "operation": "boost", "score": 0.017302313819527626 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 140.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 338.5, "then": { "operation": "boost", "score": 0.05218873172998428 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.21111111342906952, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 315.5, "then": { "operation": "boost", "score": -0.8452696800231934 }, "else": { "operation": "boost", "score": -0.08847478032112122 } }, "else": { "operation": "boost", "score": -0.6226409673690796 } } }, "else": { "operation": "boost", "score": -0.007655052468180656 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 26.5, "then": { "operation": "boost", "score": 0.34077930450439453 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.0, "then": { "operation": "boost", "score": -0.06796687096357346 }, "else": { "operation": "boost", "score": 0.12234776467084885 } } }, "else": { "operation": "boost", "score": -0.035421814769506454 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 42.0, "then": { "operation": "boost", "score": 0.13039380311965942 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 9.0, "then": { "operation": "boost", "score": 0.11050523817539215 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.003906669560819864 }, "else": { "operation": "boost", "score": 0.17658868432044983 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ClassStructUnion", "CCC_EnumTag", "CCC_Type" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 5.5, "then": { "operation": "boost", "score": 0.1000923365354538 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 63.5, "then": { "operation": "boost", "score": 0.08995116502046585 }, "else": { "operation": "boost", "score": 0.010517234914004803 } } }, "else": { "operation": "if_greater", "feature": "IsDeprecated", "threshold": 0.5, "then": { "operation": "boost", "score": 0.12034869939088821 }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 2147483648.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 4.5, "then": { "operation": "boost", "score": 0.0583641454577446 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.41428571939468384, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.0063592828810215 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Expression" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": 0.004936794750392437 }, "else": { "operation": "boost", "score": 0.135545551776886 } }, "else": { "operation": "boost", "score": 0.05872517079114914 } } }, "else": { "operation": "boost", "score": -0.0019458995666354895 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.30384618043899536, "then": { "operation": "boost", "score": -0.007265347056090832 }, "else": { "operation": "boost", "score": 0.001981783425435424 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.48076921701431274, "then": { "operation": "boost", "score": 0.016371915116906166 }, "else": { "operation": "boost", "score": -0.0019924561493098736 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09307359158992767, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 962.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1008.5, "then": { "operation": "boost", "score": 0.011524008587002754 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 8.5, "then": { "operation": "boost", "score": 0.06243206933140755 }, "else": { "operation": "boost", "score": 0.1233784556388855 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 941.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 15.5, "then": { "operation": "boost", "score": -1.361624836921692 }, "else": { "operation": "boost", "score": -0.2843558192253113 } }, "else": { "operation": "boost", "score": -0.002286854898557067 } } }, "else": { "operation": "boost", "score": 0.11651585251092911 } } } } } } } }, "else": { "operation": "boost", "score": -0.00012720409722533077 } }, { "operation": "if_greater", "feature": "TypeMatchesPreferred", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_Symbol" ], "then": { "operation": "boost", "score": 0.0031091447453945875 }, "else": { "operation": "boost", "score": 0.0008379556820727885 } }, "else": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 5.0, "then": { "operation": "boost", "score": -0.0008623418398201466 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "HadContextType", "threshold": 0.5, "then": { "operation": "boost", "score": -0.0051858569495379925 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1533.0, "then": { "operation": "boost", "score": -0.23005904257297516 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 781.0, "then": { "operation": "boost", "score": 0.12423589825630188 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.12509597837924957 }, "else": { "operation": "boost", "score": 0.013447285629808903 } } } }, "else": { "operation": "if_greater", "feature": "HadSymbolType", "threshold": 0.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 14.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.24038460850715637, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 768.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 1239.0, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "boost", "score": 0.07497616112232208 }, "else": { "operation": "boost", "score": -0.010659984312951565 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.08453667908906937 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2613636255264282, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 942.0, "then": { "operation": "boost", "score": -1.0109971761703491 }, "else": { "operation": "boost", "score": -0.31198373436927795 } }, "else": { "operation": "boost", "score": -0.07419106364250183 } } }, "else": { "operation": "boost", "score": -0.10958750545978546 } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 743.5, "then": { "operation": "boost", "score": 0.14949820935726166 }, "else": { "operation": "boost", "score": 0.03723776340484619 } } }, "else": { "operation": "boost", "score": 0.016401227563619614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.19374999403953552, "then": { "operation": "boost", "score": -0.02554204687476158 }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 28.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7.5, "then": { "operation": "boost", "score": -0.10011037439107895 }, "else": { "operation": "boost", "score": 0.11567224562168121 } }, "else": { "operation": "boost", "score": 0.014463216066360474 } }, "else": { "operation": "if_member", "feature": "Scope", "set": [ "ClassScope", "FileScope", "FunctionScope" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "boost", "score": -0.12810271978378296 }, "else": { "operation": "boost", "score": 0.11024577915668488 } }, "else": { "operation": "boost", "score": -0.019331078976392746 } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 4.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": 0.1144319400191307 }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "boost", "score": -0.1301986128091812 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.675000011920929, "then": { "operation": "boost", "score": -0.10242481529712677 }, "else": { "operation": "boost", "score": 0.12001464515924454 } } } }, "else": { "operation": "boost", "score": -0.039280012249946594 } }, "else": { "operation": "boost", "score": 0.1071215569972992 } }, "else": { "operation": "boost", "score": 0.011755004525184631 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.6333333253860474, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.20189377665519714 }, "else": { "operation": "boost", "score": 0.06733373552560806 } }, "else": { "operation": "boost", "score": 0.021910659968852997 } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Symbol", "CCC_SymbolOrNewName", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 18.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11107.0, "then": { "operation": "boost", "score": 0.011617377400398254 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8167.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8200.0, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Namespace", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8506.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8668.5, "then": { "operation": "boost", "score": 0.005215323995798826 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 19.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "boost", "score": 0.11369214951992035 }, "else": { "operation": "boost", "score": 0.10800489038228989 } }, "else": { "operation": "boost", "score": 0.02388383261859417 } } }, "else": { "operation": "boost", "score": -0.12878279387950897 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10555555671453476, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1547619104385376, "then": { "operation": "boost", "score": -0.14798685908317566 }, "else": { "operation": "boost", "score": -0.5616565942764282 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 9059.5, "then": { "operation": "boost", "score": -0.13464412093162537 }, "else": { "operation": "boost", "score": 0.07229112088680267 } } } }, "else": { "operation": "boost", "score": -0.3672906160354614 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6247.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6621.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.005767251830548048 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 7412.5, "then": { "operation": "boost", "score": 0.1273808628320694 }, "else": { "operation": "boost", "score": 0.051628630608320236 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 22.5, "then": { "operation": "boost", "score": 0.19629091024398804 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6592.0, "then": { "operation": "boost", "score": 0.11245620250701904 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2666666805744171, "then": { "operation": "boost", "score": 0.1540624350309372 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6370.0, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6428.0, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 14.5, "then": { "operation": "boost", "score": -0.017511190846562386 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6522.5, "then": { "operation": "boost", "score": 0.13008402287960052 }, "else": { "operation": "boost", "score": 0.011830820702016354 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "boost", "score": -0.14206628501415253 }, "else": { "operation": "boost", "score": -0.8547974228858948 } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "boost", "score": 0.10359778255224228 }, "else": { "operation": "boost", "score": 0.05634349212050438 } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3190.5, "then": { "operation": "boost", "score": -0.02144465036690235 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2908.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2983.0, "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Function" ], "then": { "operation": "boost", "score": 0.11660820245742798 }, "else": { "operation": "boost", "score": 0.07634374499320984 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "boost", "score": 0.005822684150189161 }, "else": { "operation": "boost", "score": 0.10860772430896759 } } }, "else": { "operation": "boost", "score": 0.10414186865091324 } }, "else": { "operation": "boost", "score": 0.0009790739277377725 } } } } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.30000001192092896, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 17.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.38749998807907104, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.0, "then": { "operation": "boost", "score": -0.053706567734479904 }, "else": { "operation": "boost", "score": 0.08005435764789581 } }, "else": { "operation": "boost", "score": -0.07405634969472885 } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.0 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.8184543251991272 }, "else": { "operation": "boost", "score": 0.12390480935573578 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 20.5, "then": { "operation": "boost", "score": -2.226938009262085 }, "else": { "operation": "boost", "score": -0.6132120490074158 } } } } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 16.5, "then": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "boost", "score": 0.07340356707572937 }, "else": { "operation": "boost", "score": 0.12285080552101135 } }, "else": { "operation": "if_greater", "feature": "NumNameInContext", "threshold": 1.5, "then": { "operation": "boost", "score": -0.12144060432910919 }, "else": { "operation": "boost", "score": 0.09595001488924026 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Namespace", "Operator", "Unknown", "Variable" ], "then": { "operation": "boost", "score": 0.05072949081659317 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 13.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 2.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 3.5, "then": { "operation": "boost", "score": -0.04985569790005684 }, "else": { "operation": "boost", "score": 0.06951530277729034 } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.10795454680919647, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.2361111044883728, "then": { "operation": "boost", "score": -0.5115524530410767 }, "else": { "operation": "boost", "score": 0.07931818068027496 } }, "else": { "operation": "boost", "score": -2.793297529220581 } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.7083333730697632, "then": { "operation": "boost", "score": 0.07715630531311035 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.550000011920929, "then": { "operation": "boost", "score": -0.19034990668296814 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 6.5, "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 7.5, "then": { "operation": "boost", "score": -0.028124704957008362 }, "else": { "operation": "boost", "score": 0.021440409123897552 } }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 9.5, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.02948167361319065, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.09545454382896423, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.1180555522441864, "then": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.3541666865348816, "then": { "operation": "boost", "score": -0.016220178455114365 }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.29285717010498047, "then": { "operation": "boost", "score": 0.10803288966417313 }, "else": { "operation": "boost", "score": 0.062395840883255005 } } }, "else": { "operation": "boost", "score": -0.49002164602279663 } }, "else": { "operation": "boost", "score": 0.13921503722667694 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5.5, "then": { "operation": "boost", "score": -0.8315944671630859 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 10.5, "then": { "operation": "boost", "score": -0.0600242018699646 }, "else": { "operation": "boost", "score": 0.0975385382771492 } } } }, "else": { "operation": "boost", "score": -0.036624472588300705 } } } } } } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 11.5, "then": { "operation": "boost", "score": 0.023076321929693222 }, "else": { "operation": "boost", "score": 0.011975952424108982 } } } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 167.5, "then": { "operation": "boost", "score": -0.014369897544384003 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 27.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 94.5, "then": { "operation": "boost", "score": 0.543752133846283 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 8.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 12.5, "then": { "operation": "boost", "score": 0.13541753590106964 }, "else": { "operation": "boost", "score": 0.15266987681388855 } }, "else": { "operation": "boost", "score": -0.2999655306339264 } } }, "else": { "operation": "boost", "score": 0.00022243650164455175 } } } } } }, "else": { "operation": "if_greater", "feature": "FractionNameInContext", "threshold": 0.057189542800188065, "then": { "operation": "boost", "score": -0.008180384524166584 }, "else": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 3.5, "then": { "operation": "if_greater", "feature": "IsImplementationDetail", "threshold": 0.5, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ParenthesizedExpression" ], "then": { "operation": "boost", "score": 0.11743475496768951 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 5126.0, "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.13552619516849518 }, "else": { "operation": "boost", "score": -0.08404891937971115 } }, "else": { "operation": "boost", "score": -0.08703737705945969 } } }, "else": { "operation": "if_greater", "feature": "SemaFileProximityScore", "threshold": 0.800000011920929, "then": { "operation": "boost", "score": -0.07771000266075134 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 15.5, "then": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Namespace" ], "then": { "operation": "boost", "score": 0.024739732965826988 }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_TopLevel", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "FileProximityDistanceCost", "threshold": 5.5, "then": { "operation": "boost", "score": 0.007690619211643934 }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 22.5, "then": { "operation": "if_greater", "feature": "NumReferences", "threshold": 37.5, "then": { "operation": "boost", "score": 0.04855829477310181 }, "else": { "operation": "boost", "score": -0.07003024965524673 } }, "else": { "operation": "if_greater", "feature": "NumReferences", "threshold": 21.5, "then": { "operation": "boost", "score": 0.12633001804351807 }, "else": { "operation": "boost", "score": 0.09126109629869461 } } } }, "else": { "operation": "boost", "score": -0.021450268104672432 } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Function", "Keyword", "Macro", "Operator", "Type", "Unknown", "Variable" ], "then": { "operation": "boost", "score": -0.028134305030107498 }, "else": { "operation": "boost", "score": -0.14242520928382874 } } } } }, "else": { "operation": "if_member", "feature": "SymbolCategory", "set": [ "Constructor", "Destructor", "Keyword", "Macro", "Operator", "Type" ], "then": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_TopLevel" ], "then": { "operation": "if_greater", "feature": "SemaSaysInScope", "threshold": 0.5, "then": { "operation": "boost", "score": -0.02768993377685547 }, "else": { "operation": "boost", "score": 0.029052870348095894 } }, "else": { "operation": "boost", "score": 0.008908073417842388 } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassOrStructTag", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_Symbol", "CCC_Type", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "if_greater", "feature": "SymbolScopeDistanceCost", "threshold": 1.0, "then": { "operation": "boost", "score": 0.006586769595742226 }, "else": { "operation": "boost", "score": 0.1024707704782486 } }, "else": { "operation": "boost", "score": -0.06488648056983948 } } } } } } }, "else": { "operation": "if_member", "feature": "ContextKind", "set": [ "CCC_ArrowMemberAccess", "CCC_ClassStructUnion", "CCC_DotMemberAccess", "CCC_EnumTag", "CCC_Expression", "CCC_Namespace", "CCC_Other", "CCC_ParenthesizedExpression", "CCC_PreprocessorExpression", "CCC_Statement", "CCC_TopLevel", "CCC_TypeQualifiers", "CCC_UnionTag" ], "then": { "operation": "boost", "score": 0.0005279325414448977 }, "else": { "operation": "boost", "score": -0.0023861825466156006 } } } } } ]